-
- Downloads
[SPARK-17439][SQL] Fixing compression issues with approximate quantiles and adding more tests
## What changes were proposed in this pull request? This PR build on #14976 and fixes a correctness bug that would cause the wrong quantile to be returned for small target errors. ## How was this patch tested? This PR adds 8 unit tests that were failing without the fix. Author: Timothy Hunter <timhunter@databricks.com> Author: Sean Owen <sowen@cloudera.com> Closes #15002 from thunterdb/ml-1783.
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/QuantileSummaries.scala 12 additions, 4 deletions...rg/apache/spark/sql/catalyst/util/QuantileSummaries.scala
- sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/util/QuantileSummariesSuite.scala 27 additions, 2 deletions...ache/spark/sql/catalyst/util/QuantileSummariesSuite.scala
Loading
Please register or sign in to comment