You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2022/01/06 09:21:50 UTC

[GitHub] [druid] clintropolis commented on a change in pull request #12092: Fix SQL queries for inline datasource with null values

clintropolis commented on a change in pull request #12092:
URL: https://github.com/apache/druid/pull/12092#discussion_r779405728



##########
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:
       why is this needed?




-- 
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: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org