You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Russell Jurney (JIRA)" <ji...@apache.org> on 2014/01/15 22:31:29 UTC

[jira] [Commented] (PIG-2641) Create toJSON function for all complex types: tuples, bags and maps

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

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

Ok, I have a need to JSONize data to get bags of tuples into an HBase field. I am going to commit this to the DataFu project, which is entering the Apache Incubator. Will update this ticket with a github pull request when i make one.

> 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.0
>         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.13.0
>
>         Attachments: PIG-2641-2.patch, PIG-2641-3.patch, PIG-2641-4.patch, PIG-2641-5.patch, PIG-2641-6.patch, 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 was sent by Atlassian JIRA
(v6.1.5#6160)