vvysotskyi commented on a change in pull request #1847: DRILL-7253: Read Hive
struct w/o nulls
URL: https://github.com/apache/drill/pull/1847#discussion_r317202299
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/planner/physical/visitor/RexVisitorComplexExprSplitter.java
##########
@@ -85,21 +83,21 @@ public RexNode visitCorrelVariable(RexCorrelVariable
correlVariable) {
@Override
public RexNode visitCall(RexCall call) {
-
- String functionName = call.getOperator().getName();
-
- List<RexNode> newOps = new ArrayList<>();
+ final List<RexNode> newOps = new ArrayList<>();
Review comment:
This list population may be replaced with collect.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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