package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
BuildMockDataPhysicalPlan builds MockDataPhysicalPlan.
BuildMockDataSource builds MockDataSource.
BuildMockDataSourceWithIndex builds MockDataSourceWithIndex.
DefaultAggTestCase returns default agg test case.
DefaultLimitTestCase returns default limit test case.
DefaultSortTestCase returns default sort test case.
DefaultWindowTestCase returns default window test case.
GenRandomChunks generate random chunk data.
SortTestCaseWithMemoryLimit returns sort test case.
# Structs
AggTestCase has a fixed schema (aggCol Double, groupBy LongLong).
LimitCase is the limit case.
MockActionOnExceed is for test.
MockDataPhysicalPlan mocks physical plan.
MockDataSource mocks data source.
MockDataSourceParameters mpcks data source parameters.
SortCase is the sort case.
WindowTestCase has a fixed schema (col Double, partitionBy LongLong, rawData VarString(16), col LongLong).
# Interfaces
MockPhysicalPlan is used to return a specified executor in when build.