Peter Rozsa has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/23475 )

Change subject: IMPALA-14467: Support quoted keys with dots in get_json_object 
path strings
......................................................................


Patch Set 7:

(5 comments)

http://gerrit.cloudera.org:8080/#/c/23475/7/be/src/exprs/string-functions.cc
File be/src/exprs/string-functions.cc:

http://gerrit.cloudera.org:8080/#/c/23475/7/be/src/exprs/string-functions.cc@368
PS7, Line 368:         const char quote_char = '"';
nit: constexpr before the loop?


http://gerrit.cloudera.org:8080/#/c/23475/7/be/src/exprs/string-functions.cc@370
PS7, Line 370:         int consumed = ParseQuotedString(path + i,
nit: indentation is off by 2


http://gerrit.cloudera.org:8080/#/c/23475/7/be/src/exprs/string-functions.cc@371
PS7, Line 371: path_end,
             :                                          quote_char, &key);
nit: indentation for additional param should be 4


http://gerrit.cloudera.org:8080/#/c/23475/7/be/src/util/string-util.cc
File be/src/util/string-util.cc:

http://gerrit.cloudera.org:8080/#/c/23475/7/be/src/util/string-util.cc@97
PS7, Line 97:   result->clear();
Please move this after the null-check, or is this required at all?


http://gerrit.cloudera.org:8080/#/c/23475/7/testdata/workloads/functional-query/queries/QueryTest/exprs.test
File testdata/workloads/functional-query/queries/QueryTest/exprs.test:

http://gerrit.cloudera.org:8080/#/c/23475/7/testdata/workloads/functional-query/queries/QueryTest/exprs.test@3143
PS7, Line 3143: IMPALA-14467
nit: usually, we add the ticket number to a test if it's a fix for regression, 
for new features, we can go simply with the description of the test.



--
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: comment
Gerrit-Change-Id: Ia3618d9e029501f9ac0e23190feb8263968b1b9f
Gerrit-Change-Number: 23475
Gerrit-PatchSet: 7
Gerrit-Owner: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Peter Rozsa <[email protected]>
Gerrit-Reviewer: Pranav Lodha <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Yifan Zhang <[email protected]>
Gerrit-Comment-Date: Sat, 10 Jan 2026 13:25:03 +0000
Gerrit-HasComments: Yes

Reply via email to