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

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

    [ https://issues.apache.org/jira/browse/PIG-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13895400#comment-13895400 ] 

Cheolsoo Park commented on PIG-3753:
------------------------------------

+1.

Thank you Daniel for taking care of this.

> 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
>
>         Attachments: PIG-3753-1.patch
>
>
> 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)