beliefer opened a new pull request #35041: URL: https://github.com/apache/spark/pull/35041
### What changes were proposed in this pull request? `PERCENTILE_CONT` is an ANSI aggregate functions. The mainstream database supports `percentile_cont` show below: **Postgresql** https://www.postgresql.org/docs/9.4/functions-aggregate.html **Teradata** https://docs.teradata.com/r/kmuOwjp1zEYg98JsB8fu_A/cPkFySIBORL~M938Zv07Cg **Snowflake** https://docs.snowflake.com/en/sql-reference/functions/percentile_cont.html **Oracle** https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/PERCENTILE_CONT.html#GUID-CA259452-A565-41B3-A4F4-DD74B66CEDE0 **H2** http://www.h2database.com/html/functions-aggregate.html#percentile_cont **Sybase** https://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01776.1601/doc/html/san1278453109663.html **Exasol** https://docs.exasol.com/sql_references/functions/alphabeticallistfunctions/percentile_cont.htm **RedShift** https://docs.aws.amazon.com/redshift/latest/dg/r_PERCENTILE_CONT.html **Yellowbrick** https://www.yellowbrick.com/docs/2.2/ybd_sqlref/percentile_cont.html **Mariadb** https://mariadb.com/kb/en/percentile_cont/ **Phoenix** http://phoenix.incubator.apache.org/language/functions.html#percentile_cont **Singlestore** https://docs.singlestore.com/db/v7.6/en/reference/sql-reference/window-functions/percentile_cont-and-median.html ### Why are the changes needed? `PERCENTILE_CONT` is very useful. Exposing the expression can make the migration from other systems to Spark SQL easier. ### Does this PR introduce _any_ user-facing change? 'Yes'. New feature. ### How was this patch tested? New tests. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
