[
https://issues.apache.org/jira/browse/HIVE-28758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
yongzhi.shao updated HIVE-28758:
--------------------------------
Description:
select get_json_object('[\\{"a":1},\\{"a":2}]','$[?(@.a==1)]'); =>[1,2]
should return \{“a”:1}
!image-2025-02-13-09-40-41-996.png!
was:
select get_json_object('[\{"a":1},\{"a":2}]','$[?(@.a==1)]'); =>[1,2]
should return \{“a”:1}
> JsonPath can not return correct result
> --------------------------------------
>
> Key: HIVE-28758
> URL: https://issues.apache.org/jira/browse/HIVE-28758
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Affects Versions: 4.0.0, 4.0.1
> Reporter: yongzhi.shao
> Priority: Major
> Attachments: image-2025-02-13-09-40-41-996.png
>
>
> select get_json_object('[\\{"a":1},\\{"a":2}]','$[?(@.a==1)]'); =>[1,2]
> should return \{“a”:1}
> !image-2025-02-13-09-40-41-996.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)