[ 
https://issues.apache.org/jira/browse/PIG-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008296#comment-13008296
 ] 

Dmitriy V. Ryaboy commented on PIG-1914:
----------------------------------------

For Pig 0.6: 
https://github.com/kevinweil/elephant-bird/tree/master/src/java/com/twitter/elephantbird/pig/load
For Pig 0.8: 
https://github.com/dvryaboy/elephant-bird/tree/pig-08/src/java/com/twitter/elephantbird/pig8/load

A Pig 0.9 version might be interesting because in this version, Pig understands 
typed keys, so it's finally possible to return complex structures as values, 
actually delivering the whole Json object.

If you want to add directly to Pig, you'll probably want to use Jackson for 
parsing instead of SimpleJson, as that library is already included in Pig 
dependencies (and maybe even Hadoop ones?).

> 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.8.0
>            Reporter: Chao Tian
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to