Aggregate Functions Support Status

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

Aggregate Functions

Spark FunctionsSpark ExpressionsStatusRestrictions
anyBoolOrS
any_valueAnyValueS
approx_count_distinctHyperLogLogPlusPlusS
approx_percentileApproximatePercentileS
array_aggCollectListS
avgAverageS
bit_andBitAndAggS
bit_orBitOrAggS
bit_xorBitXorAggS
bitmap_construct_aggBitmapConstructAgg
bitmap_or_aggBitmapOrAgg
bool_andBoolAndS
bool_orBoolOrS
collect_listCollectListS
collect_setCollectSetS
corrCorrS
countCountS
count_ifCountIfS
count_min_sketchCountMinSketchAggExpressionBuilder
covar_popCovPopulationS
covar_sampCovSampleS
everyBoolAndS
firstFirstS
first_valueFirstS
groupingGroupingS
grouping_idGroupingIDS
histogram_numericHistogramNumeric
hll_sketch_aggHllSketchAgg
hll_union_aggHllUnionAgg
kurtosisKurtosisS
lastLastS
last_valueLastS
maxMaxS
max_byMaxByS
meanAverageS
medianMedianS
minMinS
min_byMinByS
modeMode
percentilePercentileS
percentile_approxApproximatePercentileS
regr_avgxRegrAvgXS
regr_avgyRegrAvgYS
regr_countRegrCountS
regr_interceptRegrInterceptS
regr_r2RegrR2S
regr_slopeRegrSlopeS
regr_sxxRegrSXXS
regr_sxyRegrSXYS
regr_syyRegrSYYS
skewnessSkewnessS
someBoolOrS
stdStddevSampS
stddevStddevSampS
stddev_popStddevPopS
stddev_sampStddevSampS
sumSumS
try_avgTryAverageExpressionBuilderS
try_sumTrySumExpressionBuilderPS
var_popVariancePopS
var_sampVarianceSampS
varianceVarianceSampS