xushiyan commented on pull request #4012:
URL: https://github.com/apache/hudi/pull/4012#issuecomment-1082623653


   @xiarixiaoyao thanks for sharing the analysis. sorry haven't been able to 
catch up on time. You're right; `collect()` happens right after `isEmpty()` or 
`count()`. A full compute + a cache hit faster than a full compute + a partial 
compute. In this code path, we should do count().


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