pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Hsu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-4460) TestBuiltIn testValueListOutputSchemaComplexType and testValueSetOutputSchemaComplexType tests create bags whose inner schema is not a tuple
Date Fri, 13 Mar 2015 17:35:38 GMT

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

Anthony Hsu updated PIG-4460:
-----------------------------
    Description: 
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.

  was:
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.


> 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
>
> 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)

Mime
View raw message