ResourceFieldSchema.setSchema should not allow a bag field without a Tuple as
its only sub field (the tuple itself can have a schema with > 1 subfields)
---------------------------------------------------------------------------------------------------------------------------------------------------------
Key: PIG-1259
URL: https://issues.apache.org/jira/browse/PIG-1259
Project: Pig
Issue Type: Bug
Affects Versions: 0.7.0
Reporter: Pradeep Kamath
Fix For: 0.7.0
Currently Schema.getPigSchema(ResourceSchema) does not allow a bag field in the
ResourceSchema with a subschema containing anything other than a tuple. The
tuple itself can have a schema with > 1 subfields. This check should also be
enforced in ResourceFieldSchema.setSchema()
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.