[
https://issues.apache.org/jira/browse/PIG-4460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Dai updated PIG-4460:
----------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
+1
Patch committed to trunk. Thanks Anthony!
> TestBuiltIn testValueListOutputSchemaComplexType and
> testValueSetOutputSchemaComplexType tests create bags whose inner schema is
> not a tuple
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: PIG-4460
> URL: https://issues.apache.org/jira/browse/PIG-4460
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.15.0
> Reporter: Anthony Hsu
> Assignee: Anthony Hsu
> Fix For: 0.15.0
>
> Attachments: PIG-4460.1.patch
>
>
> These are bugs in the tests added in PIG-4432/PIG-4445.
> TestBuiltin.testValueSetOutputSchemaComplexType and
> TestBuiltin.testValueListOutputSchemaComplexType create bag schemas like this:
> {code}
> Schema bagSchema = Schema.generateNestedSchema(DataType.BAG,
> DataType.CHARARRAY);
> {code}
> This is incorrect because the inner schema for bags should always be a TUPLE.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)