[
https://issues.apache.org/jira/browse/DRILL-6671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574524#comment-16574524
]
ASF GitHub Bot commented on DRILL-6671:
---------------------------------------
vvysotskyi commented on a change in pull request #1426: DRILL-6671: Multi level
lateral unnest join is throwing an exception …
URL: https://github.com/apache/drill/pull/1426#discussion_r208839528
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Materializer.java
##########
@@ -116,14 +118,13 @@ public PhysicalOperator visitLateralJoin(LateralJoinPOP
op, IndexedFragmentNode
children.add(op.getLeft().accept(this, iNode));
children.add(op.getRight().accept(this, iNode));
- UnnestPOP unnestInLeftInput = iNode.getUnnest();
+ UnnestPOP unnestForThisLateral = iNode.getUnnest();
PhysicalOperator newOp = op.getNewWithChildren(children);
newOp.setCost(op.getCost());
newOp.setOperatorId(Short.MAX_VALUE & op.getOperatorId());
- ((LateralJoinPOP)newOp).setUnnestForLateralJoin(unnestInLeftInput);
-
+ ((LateralJoinPOP)newOp).setUnnestForLateralJoin(unnestForThisLateral);
Review comment:
Please add space: `((LateralJoinPOP)newOp)` -> `((LateralJoinPOP) newOp)`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Multi level lateral unnest join is throwing an exception during materializing
> the plan.
> ---------------------------------------------------------------------------------------
>
> Key: DRILL-6671
> URL: https://issues.apache.org/jira/browse/DRILL-6671
> Project: Apache Drill
> Issue Type: Bug
> Components: Query Planning & Optimization
> Affects Versions: 1.15.0
> Reporter: Hanumath Rao Maduri
> Assignee: Hanumath Rao Maduri
> Priority: Major
>
> testMultiUnnestAtSameLevel in TestE2EUnnestAndLateral is throwing an
> execution in Materializer.java. This is due to incorrect matching of Unnest
> and Lateral join.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)