[
https://issues.apache.org/jira/browse/PIG-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Dai resolved PIG-1725.
-----------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
test-patch result:
[exec] +1 overall.
[exec]
[exec] +1 @author. The patch does not contain any @author tags.
[exec]
[exec] +1 tests included. The patch appears to include 3 new or
modified tests.
[exec]
[exec] +1 javadoc. The javadoc tool did not generate any warning
messages.
[exec]
[exec] +1 javac. The applied patch does not increase the total number
of javac compiler warnings.
[exec]
[exec] +1 findbugs. The patch does not introduce any new Findbugs
warnings.
[exec]
[exec] +1 release audit. The applied patch does not increase the
total number of release audit warnings.
All tests pass.
Patch committed to both trunk and 0.8 branch.
> New logical plan: uidOnlySchema bug in LOGenerate
> -------------------------------------------------
>
> Key: PIG-1725
> URL: https://issues.apache.org/jira/browse/PIG-1725
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.8.0
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.8.0
>
> Attachments: PIG-1725-0.patch, PIG-1725-1.patch
>
>
> The following script fail:
> {code}
> a = load '1.txt' as (a0:int, a1, a2:bag{});
> b = foreach a generate a0 as b0, a1 as b1, flatten(a2) as b2:int;
> c = filter b by b0==1;
> d = foreach c generate b0+1, b2;
> dump d;
> {code}
> Error message:
> Caused by: org.apache.pig.impl.logicalLayer.FrontendException: ERROR 2239:
> Structure of schema change. Original: null#1:int,null#2:bytearray,null#5:int
> Now: b0#1:int,b1#114:NULL
> at
> org.apache.pig.newplan.logical.relational.LogicalSchema.mergeUid(LogicalSchema.java:364)
> at
> org.apache.pig.newplan.logical.relational.LOGenerate.getSchema(LOGenerate.java:170)
> at
> org.apache.pig.newplan.logical.optimizer.SchemaResetter.visit(SchemaResetter.java:89)
> at
> org.apache.pig.newplan.logical.relational.LOGenerate.accept(LOGenerate.java:225)
> at
> org.apache.pig.newplan.DependencyOrderWalker.walk(DependencyOrderWalker.java:75)
> at
> org.apache.pig.newplan.logical.optimizer.SchemaResetter.visit(SchemaResetter.java:76)
> at
> org.apache.pig.newplan.logical.relational.LOForEach.accept(LOForEach.java:71)
> at
> org.apache.pig.newplan.DependencyOrderWalker.walk(DependencyOrderWalker.java:75)
> at org.apache.pig.newplan.PlanVisitor.visit(PlanVisitor.java:50)
> at
> org.apache.pig.newplan.logical.optimizer.SchemaPatcher.transformed(SchemaPatcher.java:43)
> at
> org.apache.pig.newplan.optimizer.PlanOptimizer.optimize(PlanOptimizer.java:112)
> ... 13 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.