AvroStorage relations stop working after using DUMP
---------------------------------------------------
Key: PIG-2440
URL: https://issues.apache.org/jira/browse/PIG-2440
Project: Pig
Issue Type: Bug
Affects Versions: 0.9.1, 0.10, 0.9.2
Environment: Mac OS X, running pig trunk
Reporter: Russell Jurney
Fix For: 0.9.1, 0.10, 0.9.2
I am creating Avro records according to the instructions/code at
https://github.com/rjurney/Collecting-Data They look like this:
{
"namespace": "agile.data.avro",
"name": "Email",
"type": "record",
"fields": [
{"name":"message_id", "type": ["string", "null"]},
{"name":"from","type": ["string", "null"]},
{"name":"to","type": [{"type":"array", "items":"string"}, "null"]},
{"name":"cc","type": [{"type":"array", "items":"string"}, "null"]},
{"name":"bcc","type": [{"type":"array", "items":"string"}, "null"]},
{"name":"reply_to", "type": [{"type":"array", "items":"string"},
"null"]},
{"name":"subject", "type": ["string", "null"]},
{"name":"body", "type": ["string", "null"]},
{"name":"date", "type": ["string", "null"]}
]
}
I have applied the patch at PIG-2411 to get Pig to store bags in Avro arrays.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira