Mark Wagner created PIG-3252: -------------------------------- Summary: 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
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