Skip to content

Commit 4926165

Browse files
NickCrewsclaude
andcommitted
fix: include catalog.hpp directly in pyconnection.cpp
pyconnection.cpp uses Catalog::GetCatalog/GetSystemCatalog but relied on a transitive include of duckdb/catalog/catalog.hpp via function/table_function.hpp -> execution/physical_operator_states.hpp. duckdb main removed that include chain (~2026-07-10), so PR and nightly CI - which build against duckdb main via the duckdb-sha override - fail to compile with "incomplete type 'duckdb::Catalog'". Include the header directly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 5829acc commit 4926165

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/pyconnection.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "duckdb_python/pyconnection/pyconnection.hpp"
22

3+
#include "duckdb/catalog/catalog.hpp"
34
#include "duckdb/common/arrow/arrow.hpp"
45
#include "duckdb/common/types.hpp"
56
#include "duckdb/common/types/vector.hpp"

0 commit comments

Comments
 (0)