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]
With regards,
Apache Git Services