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

ResolveInlineTables

ResolveInlineTables Logical Resolution Rule

ResolveInlineTables is part of the Resolution fixed-point batch in the standard batches of the Analyzer.

ResolveInlineTables is simply a Catalyst rule for transforming logical plans, i.e. Rule[LogicalPlan].

ResolveInlineTables takes a SQLConf when created.

Executing Rule — apply Method

Note
apply is part of the Rule Contract to execute (apply) a rule on a TreeNode (e.g. LogicalPlan).

apply simply searches the input plan up to find UnresolvedInlineTable logical operators with rows expressions resolved.

For such a UnresolvedInlineTable logical operator, apply validateInputDimension and validateInputEvaluable.

validateInputDimension Internal Method

validateInputDimension…​FIXME

Note
validateInputDimension is used exclusively when ResolveInlineTables logical resolution rule is executed.

validateInputEvaluable Internal Method

validateInputEvaluable…​FIXME

Note
validateInputEvaluable is used exclusively when ResolveInlineTables logical resolution rule is executed.

Converting UnresolvedInlineTable to LocalRelation — convert Internal Method

convert…​FIXME

Note
convert is used exclusively when ResolveInlineTables logical resolution rule is executed.
赞(0) 打赏
未经允许不得转载:spark技术分享 » ResolveInlineTables
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

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

支付宝扫一扫打赏

微信扫一扫打赏