vinothchandar commented on pull request #2319:
URL: https://github.com/apache/hudi/pull/2319#issuecomment-743048327


   >Can we really do a sampling here ?
   
   yes, there is a trade-off here. We have to rely on the fact that the 
previous stage does a `reduceByKey` so the data would be distributed evenly 
across the RDD partitions :). So, extrapolation could be okay, for purposes of 
`computeComparisonsPerFileGroup()`. The other usage, where we actually do the 
range pruning, we cannot do sampling. 


----------------------------------------------------------------
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:
[email protected]


Reply via email to