joinversion

package
v1.1.0-beta.0...-652cee2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HashJoinVersionLegacy means hash join v1
	HashJoinVersionLegacy = "legacy"
	// HashJoinVersionOptimized means hash join v2
	HashJoinVersionOptimized = "optimized"
)

Variables

View Source
var (
	// UseHashJoinV2ForNonGAJoin is added because Hash join contains a lots of types(like inner join, outer join, semi join, nullaware semi join, etc)
	// we want to GA these different kind of joins step by step, but don't want to add a new session variable for each of the join,
	// so we add this variable to control whether to use hash join v2 for nonGA joins(enable it for test, disable it in a release version).
	// PhysicalHashJoin.isGAForHashJoinV2() defines whether the join is GA for hash join v2, we can make each join GA separately by updating
	// this function one by one
	UseHashJoinV2ForNonGAJoin = false
)

Functions

func IsHashJoinV2Supported

func IsHashJoinV2Supported() bool

IsHashJoinV2Supported return true if hash join v2 is supported in current env

func IsOptimizedVersion

func IsOptimizedVersion(hashJoinVersion string) bool

IsOptimizedVersion returns true if hashJoinVersion equals to HashJoinVersionOptimized

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL