You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Jeongjin Ku (JIRA)" <ji...@apache.org> on 2014/03/25 18:58:14 UTC
[jira] [Created] (PIG-3833) Relation loaded by AvroStorage with
schema is projected incorrectly in foreach statement.
Jeongjin Ku created PIG-3833:
--------------------------------
Summary: Relation loaded by AvroStorage with schema is projected incorrectly in foreach statement.
Key: PIG-3833
URL: https://issues.apache.org/jira/browse/PIG-3833
Project: Pig
Issue Type: Bug
Affects Versions: 0.12.0
Reporter: Jeongjin Ku
This example has a correct behavior.
in = LOAD '$INFILE' USING AvroStorage('','$AVROSTORAGE_IN_2');
out = FOREACH in GENERATE *;
But if we try to pick and project specific fields like the following example,
in = LOAD '$INFILE' USING AvroStorage('','$AVROSTORAGE_IN_2');
out = FOREACH in GENERATE $0,$1,$7;
Actual result is "$0, $1, $2" not "$0,$1,$7"
--
This message was sent by Atlassian JIRA
(v6.2#6252)