[
https://issues.apache.org/jira/browse/PIG-1627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974824#action_12974824
]
Daniel Dai commented on PIG-1627:
---------------------------------
In new logical plan, explain C we get:
C: (Name: LOForEach Schema: null)
Which does the right thing. Once we migrate describe to new logical plan, this
should be fixed automatically.
> Flattening of bags with unknown schemas produces wrong schema
> -------------------------------------------------------------
>
> Key: PIG-1627
> URL: https://issues.apache.org/jira/browse/PIG-1627
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.7.0
> Reporter: Alan Gates
> Assignee: Alan Gates
> Fix For: 0.9.0
>
>
> The following should produce an unknown schema:
> {code}
> A = load '/Users/gates/test/data/studenttab10';
> B = group A by $0;
> C = foreach B generate flatten(A);
> describe C;
> {code}
> Instead it gives
> {code}
> C: {bytearray}
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.