Skip to content

Commit

Permalink
fix: remove parquet extension installation (#103)
Browse files Browse the repository at this point in the history
* fix: remove parquet extension installation

* fix(pre-commit.ci): auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* chore: update CHANGELOG.md

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
RaczeQ and pre-commit-ci[bot] authored May 10, 2024
1 parent 271d671 commit c65108b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion quackosm/pbf_file_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c65108b

Please sign in to comment.