You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by we...@apache.org on 2022/02/25 04:40:53 UTC
[spark] branch master updated (6a79539 -> 95f06f3)
This is an automated email from the ASF dual-hosted git repository.
wenchen pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git.
from 6a79539 [SPARK-38298][SQL][TESTS] Fix DataExpressionSuite, NullExpressionsSuite, StringExpressionsSuite, complexTypesSuite, CastSuite under ANSI mode
add 95f06f3 [SPARK-37614][SQL] Support ANSI Aggregate Function: regr_avgx & regr_avgy
No new revisions were added by this update.
Summary of changes:
.../sql/catalyst/analysis/FunctionRegistry.scala | 2 +
.../catalyst/expressions/aggregate/RegrCount.scala | 47 ---------
.../expressions/aggregate/linearRegression.scala | 107 +++++++++++++++++++++
.../sql-functions/sql-expression-schema.md | 14 +--
.../test/resources/sql-tests/inputs/group-by.sql | 6 ++
.../inputs/postgreSQL/aggregates_part1.sql | 2 +-
.../inputs/udf/postgreSQL/udf-aggregates_part1.sql | 2 +-
.../resources/sql-tests/results/group-by.sql.out | 36 ++++++-
.../results/postgreSQL/aggregates_part1.sql.out | 10 +-
.../udf/postgreSQL/udf-aggregates_part1.sql.out | 10 +-
10 files changed, 178 insertions(+), 58 deletions(-)
delete mode 100644 sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/RegrCount.scala
create mode 100644 sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/linearRegression.scala
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org