Sahil Takiar has uploaded a new patch set (#3) to the change originally created by Eugene Zimichev. ( http://gerrit.cloudera.org:8080/14905 )
Change subject: IMPALA-8547: get_json_object fails to get value for numeric key ...................................................................... IMPALA-8547: get_json_object fails to get value for numeric key Allows numeric keys for JSON objects in get_json_object. This patch makes Impala consistent with Hive and Postgres behavior for get_json_object. Queries such as "select get_json_object('{"1": 5}', '$.1');" would fail before this patch. Now the query will return '5'. Testing: * Added tests to expr-test Change-Id: I7df037ccf2c79da0ba86a46df1dd28ab0e9a45f4 --- M be/src/exprs/expr-test.cc M be/src/util/string-util.cc M be/src/util/string-util.h 3 files changed, 6 insertions(+), 4 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/05/14905/3 -- To view, visit http://gerrit.cloudera.org:8080/14905 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I7df037ccf2c79da0ba86a46df1dd28ab0e9a45f4 Gerrit-Change-Number: 14905 Gerrit-PatchSet: 3 Gerrit-Owner: Eugene Zimichev <und...@gmail.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com> Gerrit-Reviewer: Sahil Takiar <stak...@cloudera.com> Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com>