[ 
https://issues.apache.org/jira/browse/PIG-4460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anthony Hsu updated PIG-4460:
-----------------------------
    Attachment: PIG-4460.1.patch

Uploaded patch.

> 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
>            Reporter: Anthony Hsu
>            Assignee: Anthony Hsu
>         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)

Reply via email to