[ https://issues.apache.org/jira/browse/PIG-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580623#comment-13580623 ]
Jonathan Coveney commented on PIG-2641: --------------------------------------- Jeremy Karn said: "I'm not sure if this is the right place to respond, but just a couple of comments: 1) Our latest patch for Jira 1914 (https://issues.apache.org/jira/browse/PIG-1914) supports storing Maps with complex schemas. I think a lot of the tests will also be useful for this patch. 2) I don't think we should serialize tuples as json lists. While it preserves order (which is nice) I suspect most users would rather have the direct mapping of pig alias to json key and to have their tuples as json objects with key/value pairs instead of as a list which requires referencing fields by position." > 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-2.patch, PIG-2641-3.patch, PIG-2641-4.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 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