ihuzenko commented on a change in pull request #1854: DRILL-7373: Fix problems
involving reading from DICT type
URL: https://github.com/apache/drill/pull/1854#discussion_r324253138
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/DrillOptiq.java
##########
@@ -345,21 +452,21 @@ private LogicalExpression
getDrillCastFunctionFromOptiq(RexCall call){
LogicalExpression arg = call.getOperands().get(0).accept(this);
MajorType castType;
- switch(call.getType().getSqlTypeName().getName()){
- case "VARCHAR":
- case "CHAR":
+ switch(call.getType().getSqlTypeName()){
Review comment:
please fix alignment for the switch case.
----------------------------------------------------------------
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