Hello Quanlong Huang, Pranav Lodha, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/23475
to look at the new patch set (#4).
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/CMakeLists.txt
M be/src/util/string-util-test.cc
M be/src/util/string-util.cc
M be/src/util/string-util.h
M testdata/workloads/functional-query/queries/QueryTest/exprs.test
7 files changed, 160 insertions(+), 13 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/75/23475/4
--
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: newpatchset
Gerrit-Change-Id: Ia3618d9e029501f9ac0e23190feb8263968b1b9f
Gerrit-Change-Number: 23475
Gerrit-PatchSet: 4
Gerrit-Owner: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Pranav Lodha <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Yifan Zhang <[email protected]>