Guava `Range` can handle one range at a time and I found it too generic for our 
use. `RowRanges` handles several distinct ranges in a sorted way and calculates 
union and intersection as well. `RowRanges.Range` is a private class and it's 
fairly simple to help implementing the functionality of `RowRanges`.
I think, it would require much more work to use the guava `Range` here while we 
cannot drop `RowRanges` as guava `Range` does not provide the required 
functionalities.

[ Full content available at: https://github.com/apache/parquet-mr/pull/527 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to