文件名称:Hive-JSON-Array-UDF:一个UDF从嵌套的JSON数组中检索元素,并作为HiveQL数组返回
文件大小:5KB
文件格式:ZIP
更新时间:2024-06-08 09:11:19
Java
Hive嵌套JSON Arrray UDF 此UDF接收“ JSON字符串”和JSON数组的路径,并收集此路径指定的所有元素(也处理嵌套的JSON数组)。 例子: 假设此JSON在某些表的行中: { " request " : { " user " : " Mario " , " location " : " His house. " , " siblings " : [ " Luigi " ], " countries " : [ { " name " : " USA " , " regions " : [ " California " , " New York " , " Washington " ] }, { " name " : " Japan " , " regions " : [ " Tokyo " ,
【文件预览】:
Hive-JSON-Array-UDF-master
----pom.xml(1KB)
----unformatted_test.json(450B)
----test.json(450B)
----src()
--------main()
----.gitignore(26B)
----README.md(2KB)