You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this convenient sqlalchemy extension, @Mause!
I appreciate the preload_extensions and config options to facilitate extension loading and connection configuration when connections are started. It reduces the boilerplate that's necessary before we can start simply executing queries.
I realize that preload_extensions is just "experimental," but I think it may provide value into the future given that some extensions are not yet "autoloadable" (e.g. spatial) and presumably there will always be the possibility of 3rd party extensions that aren't.
In order to support those cases, I think you may need to ensure that INSTALL {extension} is run before LOAD {extension} to avoid errors like this:
OperationalError: duckdb.duckdb.IOException: IO Error: Extension "/home/user/.duckdb/extensions/v0.9.1/linux_amd64_gcc4/spatial.duckdb_extension" not found.
Extension "spatial" is an existing extension.
Install it first using "INSTALL spatial".
DuckDB Engine Version
0.9.2
DuckDB Version
0.9.1
SQLAlchemy Version
1.4.46
Relevant log output
OperationalError: duckdb.duckdb.IOException: IO Error: Extension "/home/user/.duckdb/extensions/v0.9.1/linux_amd64_gcc4/spatial.duckdb_extension" not found.
Extension "spatial" is an existing extension.
Install it first using "INSTALL spatial".
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
Thanks for this convenient sqlalchemy extension, @Mause!
I appreciate the
preload_extensions
andconfig
options to facilitate extension loading and connection configuration when connections are started. It reduces the boilerplate that's necessary before we can start simply executing queries.I realize that
preload_extensions
is just "experimental," but I think it may provide value into the future given that some extensions are not yet "autoloadable" (e.g.spatial
) and presumably there will always be the possibility of 3rd party extensions that aren't.In order to support those cases, I think you may need to ensure that
INSTALL {extension}
is run beforeLOAD {extension}
to avoid errors like this:DuckDB Engine Version
0.9.2
DuckDB Version
0.9.1
SQLAlchemy Version
1.4.46
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: