You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2014/02/07 18:46:26 UTC

[jira] [Created] (PIG-3753) LOGenerate generates null schema

Daniel Dai created PIG-3753:
-------------------------------

             Summary: LOGenerate generates null schema
                 Key: PIG-3753
                 URL: https://issues.apache.org/jira/browse/PIG-3753
             Project: Pig
          Issue Type: Bug
          Components: impl
            Reporter: Daniel Dai
            Assignee: Daniel Dai
             Fix For: 0.13.0


In PIG-3627, we discover flatten(STRSPLIT) generate null schema. 
Here is the sample:
{code}
a = load 'a' as (line:chararray);
b = foreach a generate flatten(STRSPLIT(line)) as (i0, i1, i2);
describe b;

b: {i0: NULL,i1: NULL,i2: NULL}
{code}
PIG-3627 fixed the JsonStorage to deal with null schema. In this ticket, we will fix the null schema generation.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)