Yifan Zhang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/23475
Change subject: IMPALA-14467: Support quoted keys with dots in get_json_object path strings ...................................................................... IMPALA-14467: Support quoted keys with dots in get_json_object path strings This patch enhances GetJsonObjectImpl to support double-quoted keys in JSON paths. Adds ParseQuotedString utility function to handle quoted string parsing with escape sequence support. This enables accessing JSON keys containing dots and other special characters, aligning with MySQL JSON_EXTRACT behavior. Test: - Adds unit tests in expr-test - Adds e2e tests in exprs.test Change-Id: Ia3618d9e029501f9ac0e23190feb8263968b1b9f --- M be/src/exprs/expr-test.cc M be/src/exprs/string-functions.cc M be/src/util/string-util.cc M be/src/util/string-util.h M testdata/workloads/functional-query/queries/QueryTest/exprs.test 5 files changed, 84 insertions(+), 12 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/75/23475/1 -- To view, visit http://gerrit.cloudera.org:8080/23475 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ia3618d9e029501f9ac0e23190feb8263968b1b9f Gerrit-Change-Number: 23475 Gerrit-PatchSet: 1 Gerrit-Owner: Yifan Zhang <[email protected]>
