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

Expand

Expand Unary Logical Operator

Expand is a unary logical operator that represents Cube, Rollup, GroupingSets and TimeWindow logical operators after they have been resolved at analysis phase.

Note
Expand logical operator is resolved to ExpandExec physical operator in BasicOperators execution planning strategy.
Table 1. Expand’s Properties
Name Description

references

AttributeSet from projections

validConstraints

Empty set of expressions

Analysis Phase

Expand logical operator is resolved to at analysis phase in the following logical evaluation rules:

Note
Aggregate → (Cube|Rollup|GroupingSets) → constructAggregate → constructExpand

Rule-Based Logical Query Optimization Phase

Creating Expand Instance

Expand takes the following when created:

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

关注公众号:spark技术分享

联系我们联系我们

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

支付宝扫一扫打赏

微信扫一扫打赏