| 1 | #include "duckdb/parser/statement/load_statement.hpp" |
|---|---|
| 2 | #include "duckdb/planner/binder.hpp" |
| 3 | #include "duckdb/planner/operator/logical_simple.hpp" |
| 4 | #include <algorithm> |
| 5 | |
| 6 | namespace duckdb { |
| 7 | |
| 8 | BoundStatement Binder::Bind(LoadStatement &stmt) { |
| 9 | BoundStatement result; |
| 10 | result.types = {LogicalType::BOOLEAN}; |
| 11 | result.names = {"Success"}; |
| 12 | |
| 13 | result.plan = make_uniq<LogicalSimple>(args: LogicalOperatorType::LOGICAL_LOAD, args: std::move(stmt.info)); |
| 14 | properties.allow_stream_result = false; |
| 15 | properties.return_type = StatementReturnType::NOTHING; |
| 16 | return result; |
| 17 | } |
| 18 | |
| 19 | } // namespace duckdb |
| 20 |