NativeWindow优化
介绍
Spark Over Window实现
select
col1,
sum(col2) over w as sum_col2,
max(col2) over w as max_col2,
min(col2) over w as min_col2,
avg(col2) over w as avg_col2
from t1
window w as (partition by col1 order by col2 ROWS BETWEEN 10000 PRECEDING AND CURRENT ROW)
SparkFE优化实现


Last updated