hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Wilfong (JIRA)" <>
Subject [jira] [Updated] (HIVE-2971) GET_JSON_OBJECT fails on some valid JSON keys
Date Tue, 08 May 2012 16:47:49 GMT


Kevin Wilfong updated HIVE-2971:

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed, thanks Gang.
> GET_JSON_OBJECT fails on some valid JSON keys
> ---------------------------------------------
>                 Key: HIVE-2971
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: UDF
>            Reporter: Adam Kramer
>            Assignee: Gang Tim Liu
>            Priority: Minor
>         Attachments: Hive-2971-patch
> hive> SELECT GET_JSON_OBJECT("{\"Form Name\": 12345}", "$.Form\ Name") FROM akramer_one_row;
> Mapred Local Task Succeeded . Convert the Join into MapJoin
> OK
> ...this also returns null for "$.Form Name" and "$.Form\\ Name". It should return the
relevant key.
> Removing the space works fine, however, spaces are allowed as JSON keys (see spec at ). As such, this is a bug.
> Claiming that this is org.json's problem, or something similar, does not solve this bug.
It's Hive that claims this gets a JSON object, so it needs to provide the JSON object.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message