Apache Tajo JSON 函数
JSON函数如下表所示:
S.No. | 功能说明 |
---|---|
1 |
json_extract_path_text(js on text, json_path text)
根据指定的 json 路径从 JSON 字符串中提取 JSON 字符串。 |
2 |
json_array_get(json_array 文本,索引 int4)
将指定索引处的元素返回到 JSON 数组中。 |
3 |
json_array_contains(json_ 数组文本,任意值)
确定给定值是否存在于 JSON 数组中。 |
4 |
json_array_length(json_array 文本)
返回 json 数组的长度。 |