liran-funaro commented on a change in pull request #10001:
URL: https://github.com/apache/druid/pull/10001#discussion_r629896625



##########
File path: 
processing/src/main/java/org/apache/druid/segment/DoubleDimensionIndexer.java
##########
@@ -132,33 +132,32 @@ public DimensionSelector makeDimensionSelector(
       @Override
       public boolean isNull()
       {
-        final Object[] dims = currEntry.get().getDims();
-        return hasNulls && (dimIndex >= dims.length || dims[dimIndex] == null);
+        return hasNulls && currEntry.get().isDimNull(dimIndex);

Review comment:
       Yes. `isDimNull()` was added to`IncrementalIndexRow` to allow such 
optimization.




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

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