vvysotskyi commented on a change in pull request #1397: DRILL-6633: Replace
usage of Guava classes by JDK ones
URL: https://github.com/apache/drill/pull/1397#discussion_r210884029
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/registry/LocalFunctionRegistry.java
##########
@@ -296,20 +297,20 @@ private void
registerOperatorsWithInference(DrillOperatorTable operatorTable, Ma
mapAgg.put(name, new
DrillSqlAggOperator.DrillSqlAggOperatorBuilder().setName(name));
}
- final DrillSqlAggOperator.DrillSqlAggOperatorBuilder
drillSqlAggOperatorBuilder = mapAgg.get(name);
+ DrillSqlAggOperator.DrillSqlAggOperatorBuilder
drillSqlAggOperatorBuilder = mapAgg.get(name);
drillSqlAggOperatorBuilder
.addFunctions(entry.getValue())
.setArgumentCount(entry.getKey(), entry.getKey());
}
}
- for(final Entry<String, DrillSqlOperator.DrillSqlOperatorBuilder> entry :
map.entrySet()) {
+ for (Entry<String, DrillSqlOperator.DrillSqlOperatorBuilder> entry :
map.entrySet()) {
operatorTable.addOperatorWithInference(
entry.getKey(),
entry.getValue().build());
}
- for(final Entry<String, DrillSqlAggOperator.DrillSqlAggOperatorBuilder>
entry : mapAgg.entrySet()) {
+ for(Entry<String, DrillSqlAggOperator.DrillSqlAggOperatorBuilder> entry :
mapAgg.entrySet()) {
Review comment:
added
----------------------------------------------------------------
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