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_r208514180
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Materializer.java
##########
@@ -138,7 +138,7 @@ public PhysicalOperator visitUnnest(UnnestPOP unnest,
IndexedFragmentNode value)
final Wrapper info;
final int minorFragmentId;
- UnnestPOP unnest = null;
+ Stack<UnnestPOP> unnest = new Stack<>();
Review comment:
Could you please replace `Stack` usage by `Deque` and `ArrayDeque` and make
fields private final
----------------------------------------------------------------
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