What happened?
I created a duckdb engine with this code:
engine = create_engine('duckdb:///:memory:', poolclass=StaticPool)
Then I call duckdb-engine like this to load a table definition:
table = Table(table_name, self.metadata, autoload_with=engine, schema=schema, extend_existing=True)
I get this error (looks like it tries to read postgres table):
_duckdb.CatalogException: Catalog Error: Table with name pg_collation does not exist!
Did you mean "pg_constraint"?
LINE 6: FROM pg_catalog.pg_collation
DuckDB Engine Version
0.17.0
DuckDB Version
1.4.4
SQLAlchemy Version
2.0.46
Relevant log output
Code of Conduct
What happened?
I created a duckdb engine with this code:
engine = create_engine('duckdb:///:memory:', poolclass=StaticPool)Then I call duckdb-engine like this to load a table definition:
table = Table(table_name, self.metadata, autoload_with=engine, schema=schema, extend_existing=True)I get this error (looks like it tries to read postgres table):
_duckdb.CatalogException: Catalog Error: Table with name pg_collation does not exist!
Did you mean "pg_constraint"?
LINE 6: FROM pg_catalog.pg_collation
DuckDB Engine Version
0.17.0
DuckDB Version
1.4.4
SQLAlchemy Version
2.0.46
Relevant log output
Code of Conduct