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

ankit updated PIG-4956:
-----------------------
    Summary: COUNT function is not working in pig 0.12.1 when the first column 
in the input file is blank  (was: COUNT function is not working in pig 0.12.2 
when the first column in the input file is blank)

> COUNT function is not working in pig 0.12.1 when the first column in the 
> input file is blank
> --------------------------------------------------------------------------------------------
>
>                 Key: PIG-4956
>                 URL: https://issues.apache.org/jira/browse/PIG-4956
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.12.1
>            Reporter: ankit
>
> COUNT function is not working in pig 0.12.2 when the first column in the 
> input file is blank
> A = load 'test/testpig'  using PigStorage('|') as (test1:chararray,  
> test2:chararray,  test3:chararray);
> B = GROUP A BY test2;
> X = FOREACH B GENERATE COUNT(A);
> dump X;
> {code}
> cat testpig
> |2|3
> |2|1
> |3|4
> |3|3
> |2|5
> |4|3
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to