-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable_extension
function missing
#209
Comments
It's a mistake in the readme (I created a PR to fix that). You should use |
Hey @JelteF Thanks for the update. I did try that below are the steps -
this error shows that |
Oh sorry, I somehow missed this response. That's indeed a bug. The workaround is to reconnect after calling |
Previously the error would be shown as a WARNING and then the query would be run as a fallback using the Postgres executor, which would fail because the DuckDB `read_csv`/`read_parquet` functions cannot be executed by the Postgres executor. This is quite confusing as many people only look at the last ERROR, and not the warnings before. This is also relevant for MotherDuck support, since the MotherDuck backed tables can only be read using the DuckDB executor. Fixes #106 Related to #209 (the error there looks terribly confusing)
It is mentioned that to
Enable the DuckDB Iceberg extension using SELECT duckdb.enable_extension('iceberg') and read Iceberg files with iceberg_scan.
but when i do this i getting error that is -postgres=# SELECT duckdb.enable_extension('iceberg'); ERROR: function duckdb.enable_extension(unknown) does not exist LINE 1: SELECT duckdb.enable_extension('iceberg'); ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts.
This shows that the
enable_extension
function is not available.The text was updated successfully, but these errors were encountered: