[
https://issues.apache.org/jira/browse/PIG-1259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839008#action_12839008
]
Daniel Dai commented on PIG-1259:
---------------------------------
+1
> 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
> Assignee: Pradeep Kamath
> Fix For: 0.7.0
>
> Attachments: PIG-1259-2.patch, PIG-1259.patch
>
>
> 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.