Skip to content

DistinctKeyVisitor

DistinctKeyVisitor is a LogicalPlanVisitor (of Expressions).

DistinctKeyVisitor is used when a logical operator is requested for the distinct keys with spark.sql.optimizer.propagateDistinctKeys.enabled configuration property enabled.

Singleton Object

DistinctKeyVisitor is a Scala object which is a class that has exactly one instance. It is created lazily when it is referenced, like a lazy val.

Learn more in Tour of Scala.

visitAggregate

LogicalPlanVisitor
visitAggregate(
  p: Aggregate): Set[ExpressionSet]

visitAggregate is part of the LogicalPlanVisitor abstraction.

visitAggregate...FIXME

visitJoin

LogicalPlanVisitor
visitJoin(
  p: Join): Set[ExpressionSet]

visitJoin is part of the LogicalPlanVisitor abstraction.

visitJoin...FIXME

visitOffset

LogicalPlanVisitor
visitOffset(
  p: Offset): Set[ExpressionSet]

visitOffset is part of the LogicalPlanVisitor abstraction.

visitOffset...FIXME