util

package
v1.1.0-beta.0...-e2f85cd Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckNoLeakFiles

func CheckNoLeakFiles(t *testing.T, fileNamePrefixForTest string)

CheckNoLeakFiles checks if there are file leaks

func GenerateRandomString

func GenerateRandomString(length int) string

GenerateRandomString returns a random string with specified length

func GetFunctionName

func GetFunctionName() string

GetFunctionName returns the function name

func MarkTouchedRowsByColumn

func MarkTouchedRowsByColumn(
	updateRows []int,
	updateTouchedBitmap []uint8,
	updateTouchedStride int,
	updateBitPos int,
	oldCol *chunk.Column,
	newCol *chunk.Column,
	fieldType *types.FieldType,
	notNull bool,
	comparisonContext string,
) error

MarkTouchedRowsByColumn compares old/new chunk columns and marks touched bits for changed update rows. The comparison deliberately uses binary semantics for string-like values to match row-update touched-column detection instead of SQL collation equality.

func UpdateExecutorTableID

func UpdateExecutorTableID(ctx context.Context, exec *tipb.Executor, recursive bool, partitionIDs []int64) error

UpdateExecutorTableID updates executor's TableId attribute

Types

This section is empty.

Jump to

Keyboard shortcuts

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