internal

package
v0.0.0-...-503c688 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFieldValue

func GetFieldValue(prefix, row string) string

GetFieldValue is to get field value.

func SetTiFlashReplica

func SetTiFlashReplica(t *testing.T, dom *domain.Domain, dbName, tableName string)

SetTiFlashReplica is to set TiFlash replica

func WithMockTiFlash

func WithMockTiFlash(nodes int) mockstore.MockTiKVStoreOption

WithMockTiFlash sets the mockStore to have N TiFlash stores (naming as tiflash0, tiflash1, ...).

func WrapCastForAggFuncs

func WrapCastForAggFuncs(sctx sessionctx.Context, aggFuncs []*aggregation.AggFuncDesc)

WrapCastForAggFuncs wraps the args of an aggregate function with a cast function. If the mode is FinalMode or Partial2Mode, we do not need to wrap cast upon the args, since the types of the args are already the expected.

Types

This section is empty.

Jump to

Keyboard shortcuts

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