Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-27929][SQL] Make percentile function receive frq of double
- Make sql.catalyst.expressions.aggregate.Percentile receive frequency column as double. - Reduce the number of binary searchs for interpolation from two to one. existing maven suites have been tested. ``` ./build/mvn -Phadoop-2.7 -Phive -Phive-thriftserver -Pmesos -Pyarn -Pkubernetes -Dtest=none -DwildcardSuites=org.apache.spark.sql.hive.execution.HiveWindowFunctionQuerySuite test ./build/mvn -Dtest=none -DwildcardSuites=org.apache.spark.sql.catalyst.expressions.aggregate.PercentileSuite test ``` Signed-off-by: Taeksang Kim <voidbag@gmail.com>
- Loading branch information
Showing
2 changed files
with
89 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters