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 "Tim Armstrong (Jira)" <ji...@apache.org> on 2019/12/18 17:09:00 UTC

[jira] [Assigned] (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 ]

Tim Armstrong reassigned IMPALA-8547:
-------------------------------------

    Assignee: Eugene Zimichev

> 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
>
> {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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org