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

Aggregate

Aggregate Unary Logical Operator

Aggregate is a unary logical operator that holds the following:

Aggregate is created to represent the following (after a logical plan is analyzed):

Note
Aggregate logical operator is translated to one of HashAggregateExec, ObjectHashAggregateExec or SortAggregateExec physical operators in Aggregation execution planning strategy.
Table 1. Aggregate’s Properties
Name Description

maxRows

Child logical plan‘s maxRows

Note
Part of LogicalPlan contract.

output

Note
Part of QueryPlan contract.

resolved

Enabled when:

Note
Part of LogicalPlan contract.

validConstraints

The (expression) constraints of child logical plan and non-aggregate aggregate named expressions.

Note
Part of QueryPlan contract.

Rule-Based Logical Query Optimization Phase

PushDownPredicate logical plan optimization applies so-called filter pushdown to a Pivot operator when under Filter operator and with all expressions deterministic.

赞(0) 打赏
未经允许不得转载:spark技术分享 » Aggregate
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

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

支付宝扫一扫打赏

微信扫一扫打赏