Bolt Backend Aggregate Function Support

qianmoQqianmoQ· 更新于 2026-10-02· 阅读 6 分钟· 0 次阅读

登录后可跨设备保存划线和私人笔记登录

Aggregate Functions Support Status in Bolt

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

Aggregate Functions

Spark FunctionsSpark ExpressionsStatusRestrictions
anyBoolOrS
any_valueAnyValueS
approx_count_distinctHyperLogLogPlusPlusSOnly supported when the data type of the child expression is one of Boolean, Byte, Short, Int, Long, Float, Double, String, Char, Decimal, Date, Timestamp, or Binary.
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_sumTrySumExpressionBuilderPSPartially supported. Behavior may differ from vanilla Spark for some cases.
var_popVariancePopS
var_sampVarianceSampS
varianceVarianceSampS

评论

登录后参与评论

正在加载评论…