suneet-amp commented on a change in pull request #8822: optimize numeric column 
null value checking for low filter selectivity (more rows)
URL: https://github.com/apache/incubator-druid/pull/8822#discussion_r344427395
 
 

 ##########
 File path: 
processing/src/main/java/org/apache/druid/collections/bitmap/ImmutableBitmap.java
 ##########
 @@ -33,6 +34,14 @@
    */
   IntIterator iterator();
 
+  /**
+   * @return a peekable iterator which can skip to a position
+   */
+  default PeekableIntIterator peekableIterator()
+  {
+    return new PeekableIteratorAdapter(iterator());
 
 Review comment:
   nit: IntelliJ is complaining about raw types here
   
   `return new PeekableIteratorAdapter<>(iterator());`

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to