diff --git a/CHANGELOG.md b/CHANGELOG.md index db4d97a..de0215d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Removed the `parquet` extension installation step after opening the DuckDB connection + ## [0.8.0] - 2024-05-08 ### Added diff --git a/quackosm/pbf_file_reader.py b/quackosm/pbf_file_reader.py index e7c4378..2b9575a 100644 --- a/quackosm/pbf_file_reader.py +++ b/quackosm/pbf_file_reader.py @@ -2507,8 +2507,9 @@ def _set_up_duckdb_connection( ) connection.sql("SET enable_progress_bar = false;") connection.sql("SET enable_progress_bar_print = false;") + + connection.install_extension("spatial") for extension_name in ("parquet", "spatial"): - connection.install_extension(extension_name) connection.load_extension(extension_name) connection.sql(