MCPcopy
hub / github.com/pingcap/tidb / getSplitTableKeys

Method getSplitTableKeys

pkg/executor/split.go:449–455  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

447var minRegionStepValue = int64(1000)
448
449func (e *SplitTableRegionExec) getSplitTableKeys() ([][]byte, error) {
450 if len(e.valueLists) > 0 {
451 return e.getSplitTableKeysFromValueList()
452 }
453
454 return e.getSplitTableKeysFromBound()
455}
456
457func (e *SplitTableRegionExec) getSplitTableKeysFromValueList() ([][]byte, error) {
458 var keys [][]byte

Callers 4

TestSplitTableFunction · 0.95
OpenMethod · 0.95

Tested by 3

TestSplitTableFunction · 0.76