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:48:21 UTC
[jira] [Updated] (PIG-3753) LOGenerate generates null schema
[ https://issues.apache.org/jira/browse/PIG-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated PIG-3753:
----------------------------
Attachment: PIG-3753-1.patch
> 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)