You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Anthony Hsu (JIRA)" <ji...@apache.org> on 2015/03/13 18:35:38 UTC
[jira] [Updated] (PIG-4460) TestBuiltIn
testValueListOutputSchemaComplexType and
testValueSetOutputSchemaComplexType tests create bags whose inner schema is
not a tuple
[ 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)