关注 spark技术分享,
撸spark源码 玩spark最佳实践

AggregateWindowFunction Contract — Declarative Window Aggregate Function Expressions

AggregateWindowFunction Contract — Declarative Window Aggregate Function Expressions

AggregateWindowFunction is the extension of the DeclarativeAggregate Contract for declarative aggregate function expressions that are also WindowFunction expressions.

AggregateWindowFunction uses IntegerType as the data type of the result of evaluating itself.

AggregateWindowFunction is nullable by default.

As a WindowFunction expression, AggregateWindowFunction uses a SpecifiedWindowFrame (with the RowFrame frame type, the UnboundedPreceding lower and the CurrentRow upper frame boundaries) as the frame.

AggregateWindowFunction is a DeclarativeAggregate expression that does not support merging (two aggregation buffers together) and throws an UnsupportedOperationException whenever requested for it.

Table 1. AggregateWindowFunctions (Direct Implementations)
AggregateWindowFunction Description

RankLike

RowNumberLike

SizeBasedWindowFunction

Window functions that require the size of the current window for calculation

赞(0) 打赏
未经允许不得转载:spark技术分享 » AggregateWindowFunction Contract — Declarative Window Aggregate Function Expressions
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏