We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 96d4f4f + 32d7085 commit d4b1b31Copy full SHA for d4b1b31
src/execution/mock_scan_executor.cpp
@@ -418,6 +418,16 @@ auto GetFunctionOf(const MockScanPlanNode *plan) -> std::function<Tuple(size_t)>
418
};
419
}
420
421
+ if (table == "__mock_external_merge_sort_input") {
422
+ return [plan](size_t cursor) {
423
+ std::vector<Value> values{};
424
+ values.push_back(ValueFactory::GetIntegerValue(cursor));
425
+ values.push_back(ValueFactory::GetIntegerValue((cursor + 1777) % 15000));
426
+ values.push_back(ValueFactory::GetIntegerValue((cursor + 3) % 111));
427
+ return Tuple{values, &plan->OutputSchema()};
428
+ };
429
+ }
430
+
431
if (table == "__mock_table_123") {
432
return [plan](size_t cursor) {
433
std::vector<Value> values{};
0 commit comments