object ResolveHints
Collection of rules related to hints. The only hint currently available is join strategy hint.
Note that this is separately into two rules because in the future we might introduce new hint rules that have different ordering requirements from join strategies.
- Alphabetic
- By Inheritance
- ResolveHints
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class DisableHints extends RemoveAllHints
Removes all the hints when
spark.sql.optimizer.disableHintsis set.Removes all the hints when
spark.sql.optimizer.disableHintsis set. This is executed at the very beginning of the Analyzer to disable the hint functionality. - class RemoveAllHints extends Rule[LogicalPlan]
Removes all the hints, used to remove invalid hints provided by the user.
Removes all the hints, used to remove invalid hints provided by the user. This must be executed after all the other hint rules are executed.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object ResolveCoalesceHints extends Rule[LogicalPlan]
COALESCE Hint accepts names "COALESCE", "REPARTITION", and "REPARTITION_BY_RANGE".
- object ResolveJoinStrategyHints extends Rule[LogicalPlan]
The list of allowed join strategy hints is defined in JoinStrategyHint.strategies, and a sequence of relation aliases can be specified with a join strategy hint, e.g., "MERGE(a, c)", "BROADCAST(a)".
The list of allowed join strategy hints is defined in JoinStrategyHint.strategies, and a sequence of relation aliases can be specified with a join strategy hint, e.g., "MERGE(a, c)", "BROADCAST(a)". A join strategy hint plan node will be inserted on top of any relation (that is not aliased differently), subquery, or common table expression that match the specified name.
The hint resolution works by recursively traversing down the query plan to find a relation or subquery that matches one of the specified relation aliases. The traversal does not go past beyond any view reference, with clause or subquery alias.
This rule must happen before common table expressions.