NikitaMatskevich commented on PR #11892: URL: https://github.com/apache/arrow-rs/pull/11892#issuecomment-7168762505
> my feeling from reading the issue: the chosen fpp is 1%. java doesn’t size filters so it’s larger filters have a lower than requested fpp. parquet-rs delivers exactly what was requested. which one is better depends: larger filters mean more io and slower lookups, smaller filters mean more false positives (although never higher than requested). could one solution be to request the fpp that is actually wanted, eg 0.01%? Exactly. Both behaviors are valid. Folding as you've said "optimizes" space, parquet-java behavior "optimizes" FPP. Both can produce the same BF if properly tuned. The only scenario where parquet-rust causes potential perf regression for the parquet reader is when NDV was heavily underestimated by the user, FPP was not specified, but max-bytes param was still very permissive. Comet folds until the estimated rate approaches the configured FPP, so a point lookup on such a column prunes up to about 1% (default FPP) fewer row groups than it would on a Java-written file (almost zero FPP). That is within the user's configured contract, but it is a measurable pruning regression against the classic writer, which is exactly what Comet set out to avoid. -- 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]
