1 | #include "duckdb/execution/operator/scan/physical_dummy_scan.hpp" |
---|---|
2 | |
3 | namespace duckdb { |
4 | |
5 | SourceResultType PhysicalDummyScan::GetData(ExecutionContext &context, DataChunk &chunk, |
6 | OperatorSourceInput &input) const { |
7 | // return a single row on the first call to the dummy scan |
8 | chunk.SetCardinality(1); |
9 | |
10 | return SourceResultType::FINISHED; |
11 | } |
12 | |
13 | } // namespace duckdb |
14 |