joinversion

package
v1.1.0-beta.0...-09d12f0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 1 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 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