Nedd to clarify unknown schema
------------------------------
Key: PIG-1984
URL: https://issues.apache.org/jira/browse/PIG-1984
Project: Pig
Issue Type: Improvement
Components: documentation
Affects Versions: 0.9.0
Reporter: Daniel Dai
Assignee: Corinne Chandel
Fix For: 0.9.0
We need to clarify how unknown schema is used in Pig. For every field, if user
don't tell us the data type, we use bytearray to denote an unknown type. In the
case when we don't even know how many fields, Pig will derive unknown (null)
schema.
For example:
a = load '1.txt' as (a0, b0);
a: {a0: bytearray,b0: bytearray}
a = load '1.txt';
a: Schema for a unknown
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira