asolimando commented on code in PR #4800:
URL: https://github.com/apache/calcite/pull/4800#discussion_r2820889182
##########
core/src/main/java/org/apache/calcite/sql/type/SqlTypeFactoryImpl.java:
##########
@@ -327,7 +327,7 @@ private static void assertBasic(SqlTypeName typeName) {
RelDataTypeFamily family = type.getFamily();
final SqlTypeName typeName = type.getSqlTypeName();
- if (typeName == SqlTypeName.NULL) {
+ if (typeName == SqlTypeName.NULL || typeName == SqlTypeName.UNKNOWN) {
Review Comment:
I was going to suggest that this reminded me of typing rules for `NULL`, and
it makes total sense to me
--
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]