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

Generate

Generate Unary Logical Operator for Lateral Views

Generate is a unary logical operator that is created to represent the following (after a logical plan is analyzed):

resolved flag is…​FIXME

Note
resolved is part of LogicalPlan Contract to…​FIXME.

producedAttributes…​FIXME

The output schema of a Generate is…​FIXME

Note
Generate logical operator is resolved to GenerateExec unary physical operator in BasicOperators execution planning strategy.
Tip

Use generate operator from Catalyst DSL to create a Generate logical operator, e.g. for testing or Spark SQL internals exploration.

Creating Generate Instance

Generate takes the following when created:

Generate initializes the internal registries and counters.

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

关注公众号:spark技术分享

联系我们联系我们

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

支付宝扫一扫打赏

微信扫一扫打赏