You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Dmitriy V. Ryaboy (JIRA)" <ji...@apache.org> on 2012/09/28 19:01:09 UTC

[jira] [Updated] (PIG-1914) Support load/store JSON data in Pig

     [ https://issues.apache.org/jira/browse/PIG-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitriy V. Ryaboy updated PIG-1914:
-----------------------------------

    Status: Open  (was: Patch Available)

canceling patch status, pending review response.

please note that in the mean time, JsonStorage/Loader were added to Pig, but they are bound to a strict schema and the loader essentially only works on json stored by JsonStorage, not any json.  So we probably still need an alternative loader.

Also note that EB is now much more modular (so, fewer dependencies required if you do not need them), and the json storage module there allows deep parsing (tuples, maps, the works). It does not sample any records to auto-determine schema, and still returns a map.

-D
                
> Support load/store JSON data in Pig
> -----------------------------------
>
>                 Key: PIG-1914
>                 URL: https://issues.apache.org/jira/browse/PIG-1914
>             Project: Pig
>          Issue Type: New Feature
>    Affects Versions: 0.9.0, 0.8.0
>            Reporter: Chao Tian
>         Attachments: PIG-1914.patch
>
>
> The JSON is a commonly used data storage format. It is popular for storing structured data, especially for JavaScript data exchange. 
> Pig should have the ability to load/store JSON format data. I plan to write one for the piggy bank.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira