clintropolis commented on code in PR #14422:
URL: https://github.com/apache/druid/pull/14422#discussion_r1229134412


##########
processing/src/main/java/org/apache/druid/segment/AutoTypeColumnIndexer.java:
##########
@@ -557,7 +613,14 @@ public FieldTypeInfo.MutableTypeSet getTypes()
 
     public boolean isSingleType()
     {
-      return typeSet.getSingleType() != null;
+      ColumnType singleType = typeSet.getSingleType();
+      if (singleType != null) {
+        if (typeSet.hasEmptyArray()) {

Review Comment:
   oops yeah this is stale, i wrote this part before i pushed checking empty 
array bit into `getSingleType`



-- 
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]

Reply via email to