Skip to content

HintInfo

[[creating-instance]] HintInfo takes a single <> flag when created.

HintInfo is <> when:

[[broadcast]] broadcast is used to...FIXME

broadcast is off (i.e. false) by default.

[source, scala]

import org.apache.spark.sql.catalyst.plans.logical.HintInfo val broadcastOff = HintInfo()

scala> println(broadcastOff.broadcast) false

val broadcastOn = broadcastOff.copy(broadcast = true) scala> println(broadcastOn) (broadcast)

val broadcastOff = broadcastOn.resetForJoin scala> println(broadcastOff.broadcast) false


=== [[resetForJoin]] resetForJoin Method

[source, scala]

resetForJoin(): HintInfo

resetForJoin...FIXME

resetForJoin is used when SizeInBytesOnlyStatsPlanVisitor is requested to visitIntersect and visitJoin.


Last update: 2020-11-07