pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Jurney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-2641) Create toJSON function for all complex types: tuples, bags and maps
Date Sun, 17 Feb 2013 21:07:12 GMT

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

Russell Jurney commented on PIG-2641:
-------------------------------------

Gunther: the patch was bad. Re-attaching, and it does use ToJson. TOJSON and ToJson can both
work, but I'm not sure how to do that mapping. Jco/dmitriy?

Will factor out copied code. My treatment of bytearray is consistent with JsonStorage.
                
> Create toJSON function for all complex types: tuples, bags and maps
> -------------------------------------------------------------------
>
>                 Key: PIG-2641
>                 URL: https://issues.apache.org/jira/browse/PIG-2641
>             Project: Pig
>          Issue Type: New Feature
>          Components: piggybank
>    Affects Versions: 0.12
>         Environment: Foggy. Damn foggy.
>            Reporter: Russell Jurney
>            Assignee: Russell Jurney
>              Labels: chararray, fun, happy, input, json, output, pants, pig, piggybank,
string, wonderdog
>             Fix For: 0.12
>
>         Attachments: PIG-2641.patch
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> It is a travesty that there are no UDFs in Piggybanks that, given an arbitrary Pig datatype,
return a JSON string of same. I intend to fix this problem.

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

Mime
View raw message