roryqi commented on PR #10662:
URL: https://github.com/apache/gravitino/pull/10662#issuecomment-4203988060

   > @roryqi Replaced `countMatchingRows()` (manual `LanceScanner` + 
`ArrowReader` scan) with `Dataset.countRows(filter)` to address the performance 
concern.
   > 
   > This avoids Arrow batch materialization overhead and lets Lance optimize 
the count internally.
   
   Still disagree to approve to merge this pull request. It will include 
unnecessary cost.


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

Reply via email to