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:30:59 UTC
[jira] Created: (PIG-670) DIFF contains an invalid expression -
possible parser error
DIFF contains an invalid expression - possible parser error
-----------------------------------------------------------
Key: PIG-670
URL: https://issues.apache.org/jira/browse/PIG-670
Project: Pig
Issue Type: Bug
Environment: i686 i386 GNU/Linux
Reporter: Araceli Henley
Requires further investigation.
This test takes in an invalid expression as the first argument in the DIFF function and results in the following error:
ERROR 1000: Error during parsing. Invalid alias: DIFF
Why is the parser interpreting DIFF as an alias?
TEST: AggregateFunc_131
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 DIFF( A.Fint + A.Fint + );
STORE X INTO '/user/pig/tests/results/araceli.1234381533/AggregateFunc_131.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-670) DIFF contains an invalid expression -
possible parser error
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated PIG-670:
---------------------------
Assignee: Xuefu Zhang
Fix Version/s: 0.9.0
Priority: Minor (was: Major)
> DIFF contains an invalid expression - possible parser error
> -----------------------------------------------------------
>
> Key: PIG-670
> URL: https://issues.apache.org/jira/browse/PIG-670
> Project: Pig
> Issue Type: Bug
> Environment: i686 i386 GNU/Linux
> Reporter: Araceli Henley
> Assignee: Xuefu Zhang
> Priority: Minor
> Fix For: 0.9.0
>
>
> Requires further investigation.
> This test takes in an invalid expression as the first argument in the DIFF function and results in the following error:
> ERROR 1000: Error during parsing. Invalid alias: DIFF
> Why is the parser interpreting DIFF as an alias?
> TEST: AggregateFunc_131
> 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 DIFF( A.Fint + A.Fint + );
> STORE X INTO '/user/pig/tests/results/araceli.1234381533/AggregateFunc_131.out' USING PigStorage();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.