Structsยง
- Block
Executor - Busy
Loop Executor - Fake
Create ๐Source - Fake
Exchange Source - Fake
Inner Side Executor Builder - Mock
Executor - Mock the input of executor.
You can bind one or more
MockExecutor
as the children of the executor to test, (HashAgg
, e.g), so that allow testing without instantiating realSeqScan
s and real storage.
Constantsยง
- SEED ๐
Functionsยง
- diff_
executor_ output - if the input from two child executor is same(considering order), it will also check the columns structure of chunks from child executor use for executor unit test.
- gen_
data - Generate
batch_num
data chunks with typedata_types
, each data chunk has cardinality ofbatch_size
. - gen_
projected_ data - Generate
batch_num
data chunks with typeInt64
, each data chunk has cardinality ofbatch_size
. Then project each data chunk withexpr
. - gen_
sorted_ data - Generate
batch_num
sorted data chunks with typeInt64
, each data chunk has cardinality ofbatch_size
. - is_
data_ ๐chunk_ eq