Skip to content

JoinStrategyHint

JoinStrategyHint is an abstraction of join hints.

JoinStrategyHint displayName hintAliases
BROADCAST broadcast
  • BROADCAST
  • BROADCASTJOIN
  • MAPJOIN
NO_BROADCAST_HASH no_broadcast_hash
PREFER_SHUFFLE_HASH prefer_shuffle_hash
SHUFFLE_HASH shuffle_hash
  • SHUFFLE_HASH
SHUFFLE_MERGE merge
  • SHUFFLE_MERGE
  • MERGE
  • MERGEJOIN
SHUFFLE_REPLICATE_NL shuffle_replicate_nl
  • SHUFFLE_REPLICATE_NL

JoinStrategyHint is resolved using ResolveJoinStrategyHints logical resolution rule.

sealed abstract class

JoinStrategyHint is a Scala sealed abstract class which means that all possible implementations (JoinStrategyHints) are all in the same compilation unit (file).

Contract

displayName

displayName: String

hintAliases

hintAliases: Set[String]

Used when:

JoinStrategyHints

JoinStrategyHint defines strategies collection of JoinStrategyHints for ResolveJoinStrategyHints logical resolution rule: