Koji Noguchi created PIG-4851:
---------------------------------
Summary: Null not padded when input has less fields than declared
schema for some loader
Key: PIG-4851
URL: https://issues.apache.org/jira/browse/PIG-4851
Project: Pig
Issue Type: Bug
Affects Versions: 0.15.0, 0.14.0, 0.13.0, 0.12.1
Reporter: Koji Noguchi
Assignee: Koji Noguchi
{code:title=test.pig}
A = load 'input.txt' using org.apache.pig.piggybank.storage.CSVLoader() as
(field1, field2);
dump A;
{code}
{code:title=input.txt}
a
b,
c,d
,e
f
{code}
{code:title=expected output by pig-0.11}
(a,)
(b,)
(c,d)
(,e)
(f,)
{code}
{code:title=incorrect output by trunk and probably from 0.12}
(a)
(b)
(c,d)
(,e)
(f)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)