Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/velox-backend-aggregate-function-support.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Aggregate Functions Support Status

**Out of 62 aggregate functions in Spark 3.5, Gluten currently fully supports 52 functions and partially supports 1 function.**
**Out of 62 aggregate functions in Spark 3.5, Gluten currently fully supports 53 functions and partially supports 1 function.**

## Aggregate Functions

Expand All @@ -9,6 +9,7 @@
| any | BoolOr | S | |
| any_value | AnyValue | S | |
| approx_count_distinct | HyperLogLogPlusPlus | S | |
| approx_count_distinct_for_intervals | ApproxCountDistinctForIntervals | S | endpoints and relativeSD must be constant; endpoints can be numeric/date/timestamp/interval/decimal and don't need to match input |
| approx_percentile | ApproximatePercentile | | |
| array_agg | CollectList | S | |
| avg | Average | S | |
Expand Down Expand Up @@ -68,4 +69,3 @@
| var_pop | VariancePop | S | |
| var_samp | VarianceSamp | S | |
| variance | VarianceSamp | S | |

Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ object ExpressionMappings {
Sig[Kurtosis](KURTOSIS),
Sig[ApproximatePercentile](APPROX_PERCENTILE),
Sig[HyperLogLogPlusPlus](APPROX_COUNT_DISTINCT),
Sig[ApproxCountDistinctForIntervals](APPROX_COUNT_DISTINCT_FOR_INTERVALS),
Sig[Percentile](PERCENTILE)
) ++ SparkShimLoader.getSparkShims.aggregateExpressionMappings

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ object ExpressionNames {
final val APPROX_DISTINCT = "approx_distinct"
final val APPROX_PERCENTILE = "approx_percentile"
final val APPROX_COUNT_DISTINCT = "approx_count_distinct"
final val APPROX_COUNT_DISTINCT_FOR_INTERVALS = "approx_count_distinct_for_intervals"
final val PERCENTILE = "percentile"
final val SKEWNESS = "skewness"
final val KURTOSIS = "kurtosis"
Expand Down
Loading