walterddr commented on code in PR #9597:
URL: https://github.com/apache/pinot/pull/9597#discussion_r999483084


##########
pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/blocks/TransferableBlockUtils.java:
##########
@@ -84,7 +83,8 @@ public static Object[] getRow(TransferableBlock 
transferableBlock, int rowId) {
     if (transferableBlock.isContainerBlock() && transferableBlock.getType() == 
BaseDataBlock.Type.ROW) {
       return transferableBlock.getContainer().get(rowId);
     } else {
-      return 
SelectionOperatorUtils.extractRowFromDataTable(transferableBlock.getDataBlock(),
 rowId);
+      // TODO: optimize the roaring bitmap decoding to only be done once and 
reused across all row retrieval.
+      return DataBlockUtils.extractRow(transferableBlock.getDataBlock(), 
rowId);

Review Comment:
   This bug is addressed and the efficiency issue fixed as well



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