abhishekagarwal87 commented on a change in pull request #12092:
URL: https://github.com/apache/druid/pull/12092#discussion_r782784383
##########
File path: sql/src/main/java/org/apache/druid/sql/calcite/planner/Calcites.java
##########
@@ -173,6 +173,8 @@ public static ColumnType
getValueTypeForRelDataTypeFull(final RelDataType type)
return ColumnType.LONG_ARRAY;
}
return ColumnType.STRING_ARRAY;
+ } else if (sqlTypeName == SqlTypeName.NULL) {
+ return ColumnType.STRING;
Review comment:
Correction - RowSignature allows non-null column type. The exception is
thrown during the conversion of signature from calcite type to druid type.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]