You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Araceli Henley (JIRA)" <ji...@apache.org> on 2009/02/12 20:38:59 UTC
[jira] Created: (PIG-671) typechecker does not throw an error when
multiple arguments are passed to COUNT
typechecker does not throw an error when multiple arguments are passed to COUNT
-------------------------------------------------------------------------------
Key: PIG-671
URL: https://issues.apache.org/jira/browse/PIG-671
Project: Pig
Issue Type: Bug
Environment: i686 i386 GNU/Linux
Reporter: Araceli Henley
Priority: Trivial
In this example, the agggregate function COUNT is passed multiple arguments and does not throw an error.
TEST: Aggregate_184
A =LOAD '/user/pig/tests/data/types/DataAll' USING PigStorage() AS ( Fint:int, Flong:long, Fdouble:double, Ffloat:float, Fchar:chararray, Fchararray:chararray, Fbytearray:bytearray, Fmap:map[], Fbag:BAG{ t:tuple( name, age, avg ) }, Ftuple:( name:chararray, age:int, avg:float) );
B =GROUP A ALL;
X =FOREACH B GENERATE COUNT ( A.$0, A.$0 );
STORE X INTO '/user/pig/tests/results/araceli.1234381533/AggregateFunc_184.out' USING PigStorage();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-671) typechecker does not throw an error when
multiple arguments are passed to COUNT
Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olga Natkovich updated PIG-671:
-------------------------------
Fix Version/s: 0.9.0
> typechecker does not throw an error when multiple arguments are passed to COUNT
> -------------------------------------------------------------------------------
>
> Key: PIG-671
> URL: https://issues.apache.org/jira/browse/PIG-671
> Project: Pig
> Issue Type: Bug
> Environment: i686 i386 GNU/Linux
> Reporter: Araceli Henley
> Priority: Trivial
> Fix For: 0.9.0
>
>
> In this example, the agggregate function COUNT is passed multiple arguments and does not throw an error.
> TEST: Aggregate_184
> A =LOAD '/user/pig/tests/data/types/DataAll' USING PigStorage() AS ( Fint:int, Flong:long, Fdouble:double, Ffloat:float, Fchar:chararray, Fchararray:chararray, Fbytearray:bytearray, Fmap:map[], Fbag:BAG{ t:tuple( name, age, avg ) }, Ftuple:( name:chararray, age:int, avg:float) );
> B =GROUP A ALL;
> X =FOREACH B GENERATE COUNT ( A.$0, A.$0 );
> STORE X INTO '/user/pig/tests/results/araceli.1234381533/AggregateFunc_184.out' USING PigStorage();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (PIG-671) typechecker does not throw an error when
multiple arguments are passed to COUNT
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates reassigned PIG-671:
------------------------------
Assignee: Daniel Dai
> typechecker does not throw an error when multiple arguments are passed to COUNT
> -------------------------------------------------------------------------------
>
> Key: PIG-671
> URL: https://issues.apache.org/jira/browse/PIG-671
> Project: Pig
> Issue Type: Bug
> Environment: i686 i386 GNU/Linux
> Reporter: Araceli Henley
> Assignee: Daniel Dai
> Priority: Trivial
> Fix For: 0.9.0
>
>
> In this example, the agggregate function COUNT is passed multiple arguments and does not throw an error.
> TEST: Aggregate_184
> A =LOAD '/user/pig/tests/data/types/DataAll' USING PigStorage() AS ( Fint:int, Flong:long, Fdouble:double, Ffloat:float, Fchar:chararray, Fchararray:chararray, Fbytearray:bytearray, Fmap:map[], Fbag:BAG{ t:tuple( name, age, avg ) }, Ftuple:( name:chararray, age:int, avg:float) );
> B =GROUP A ALL;
> X =FOREACH B GENERATE COUNT ( A.$0, A.$0 );
> STORE X INTO '/user/pig/tests/results/araceli.1234381533/AggregateFunc_184.out' USING PigStorage();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.