Eugene Zimichev created IMPALA-8547:
---------------------------------------

             Summary: 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
    Affects Versions: Impala 3.1.0
            Reporter: Eugene Zimichev


{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)

Reply via email to