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
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 ResolveJoinStrategyHints logical resolution rule is executed


Last update: 2020-09-07