vdiravka commented on a change in pull request #1602: DRILL-6944:
UnsupportedOperationException thrown for view over MapR-DB binary table
URL: https://github.com/apache/drill/pull/1602#discussion_r248320140
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/dotdrill/View.java
##########
@@ -127,6 +135,8 @@ public FieldType(String name, RelDataType dataType) {
default:
break;
}
+ keyType = dataType.getKeyType() == null ? null : new FieldType(null,
dataType.getKeyType());
+ valueType = dataType.getValueType() == null ? null : new FieldType(null,
dataType.getValueType());
Review comment:
why don't use `dataType.getSqlTypeName().getName()` instead of `null`?
----------------------------------------------------------------
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