AnalyzerContext

case class AnalyzerContext(database: String, catalog: Catalog, parentAttributes: Option[Seq[Attribute]], outerQueries: Map[String, LogicalPlan])

Propagate context

Value parameters:
database

context database

parentAttributes

attributes used in the parent relation. This is used for pruning unnecessary columns output attributes

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def withAttributes(parentAttributes: Seq[Attribute]): AnalyzerContext

Update the relation attributes used in the plan.

Update the relation attributes used in the plan.

def withOuterQuery(name: String, relation: LogicalPlan): AnalyzerContext

Add an outer query (e.g., WITH query) to the context

Add an outer query (e.g., WITH query) to the context

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product