-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for exporting to duckdb (via parquet) (#157)
* Add support for exporting to duckdb (via parquet) This patch adds functionality to export directly to a DuckDB database via the --duckdb flag or using a ".duckdb" or ".db" file. Optionally one can change the table name in which data will be imported. Documentation was mostly copied from existing functions but doctests were updated and checked for consistency with the results. Closes #94 * Fix open mypy issues * Fix doctest errors; fix filter_osm_ids typing properly This patch fixes remaining doctest errors that occured during #157. Meanwhile, a remaining bug was discovered around the typing of filter_osm_ids. It was solved, too. * Resolve refurb: immut. tuple over list for suffix * Fix typo in test_cli.py * Fix test_cli.py for duckdb: correct file, split args * chore: add new test case for increased coverage * chore: add author to the changelog * feat: add automatic directory generation for duckdb export * chore: refactor cli codebase * fix: remove commas * chore: change working directory test --------- Co-authored-by: Kamil Raczycki <raczyckikamil@gmail.com>
- Loading branch information
Showing
7 changed files
with
903 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.