[
https://issues.apache.org/jira/browse/PIG-3252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13606616#comment-13606616
]
Cheolsoo Park commented on PIG-3252:
------------------------------------
+1.
Thank you Mark for the fix!
> AvroStorage gives wrong schema for schemas with named records
> -------------------------------------------------------------
>
> Key: PIG-3252
> URL: https://issues.apache.org/jira/browse/PIG-3252
> Project: Pig
> Issue Type: Bug
> Components: piggybank
> Affects Versions: 0.11
> Reporter: Mark Wagner
> Assignee: Mark Wagner
> Fix For: 0.12, 0.11.1
>
> Attachments: PIG-3252.1.patch
>
>
> Given the Avro schema:
> {code}
> {"type":"record",
> "name":"toplevel",
> "fields":[{"name":"a","
> "type":{"type":"record",
> "name":"x",
> "fields":[{"name":"key","type":"int"},
> {"name":"value","type":"string"}]}},
> {"name":"b","type":"x"}]}
> {code}
> we should get back the Pig schema
> {code} {a: (key: int,value: string),b:(key: int,value: string)} {code}
> but instead it is
> {code} {a: (key: int,value: string),b: bytearray} {code}
--
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