You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Eugene Zimichev (JIRA)" <ji...@apache.org> on 2019/05/14 09:33:00 UTC
[jira] [Updated] (IMPALA-8547) get_json_object fails to get value
for numeric key
[ https://issues.apache.org/jira/browse/IMPALA-8547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eugene Zimichev updated IMPALA-8547:
------------------------------------
Labels: built-in-function (was: )
> get_json_object fails to get value for numeric key
> --------------------------------------------------
>
> Key: IMPALA-8547
> URL: https://issues.apache.org/jira/browse/IMPALA-8547
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Affects Versions: Impala 3.1.0
> Reporter: Eugene Zimichev
> Priority: Minor
> Labels: built-in-function
>
> {code:java}
> select get_json_object('{"1": 5}', '$.1');
> {code}
> returns error:
>
> {code:java}
> "Expected key at position 2"
> {code}
>
> I guess it's caused by using function FindEndOfIdentifier that expects first symbol of key to be a letter.
> Hive version of get_json_object works fine in this case.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org