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 2023/01/19 03:10:04 UTC

[GitHub] [druid] imply-cheddar commented on a diff in pull request #13694: Adjust Operators to be Pausable

imply-cheddar commented on code in PR #13694:
URL: https://github.com/apache/druid/pull/13694#discussion_r1080766048


##########
processing/src/main/java/org/apache/druid/query/rowsandcols/RearrangedRowsAndColumns.java:
##########
@@ -72,13 +85,14 @@
   @Override
   public int numRows()
   {
-    return pointers.length;
+    return end - start;

Review Comment:
   There's a validation that this is positive, so this check should be able to be ignored.



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