[
https://issues.apache.org/jira/browse/IMPALA-8547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sahil Takiar resolved IMPALA-8547.
----------------------------------
Fix Version/s: Impala 4.0
Resolution: Fixed
> 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
> Assignee: Eugene Zimichev
> Priority: Minor
> Labels: built-in-function
> Fix For: Impala 4.0
>
>
> {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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]