Skip to content

ResolveAliases Logical Resolution Rule

ResolveAliases is a logical resolution rule that the logical query plan analyzer uses to <> in an entire logical query plan.

Technically, ResolveAliases is just a catalyst/[Catalyst rule] for transforming[logical plans], i.e. Rule[LogicalPlan].

ResolveAliases is part of Resolution fixed-point batch of rules.


import spark.sessionState.analyzer.ResolveAliases

// FIXME Using ResolveAliases rule

=== [[apply]] Applying ResolveAliases to Logical Plan -- apply Method

[source, scala]

apply(plan: LogicalPlan): LogicalPlan

NOTE: apply is part of catalyst/[Rule Contract] to apply a rule to a[logical plan].


=== [[assignAliases]] assignAliases Internal Method

[source, scala]

assignAliases(exprs: Seq[NamedExpression]): Seq[NamedExpression]


NOTE: assignAliases is used when...FIXME