1 | #include "duckdb/execution/operator/schema/physical_alter.hpp" |
---|---|
2 | #include "duckdb/main/client_context.hpp" |
3 | #include "duckdb/parser/parsed_data/alter_table_info.hpp" |
4 | |
5 | using namespace std; |
6 | |
7 | namespace duckdb { |
8 | |
9 | void PhysicalAlter::GetChunkInternal(ClientContext &context, DataChunk &chunk, PhysicalOperatorState *state) { |
10 | auto table_info = (AlterTableInfo *)info.get(); |
11 | context.catalog.AlterTable(context, table_info); |
12 | state->finished = true; |
13 | } |
14 | |
15 | } // namespace duckdb |
16 |