Skip to content

Support reading gzipped files in the test runner#11600

Merged
Mytherin merged 2 commits intoduckdb:mainfrom
chrisiou:support-gzipped-files
Apr 11, 2024
Merged

Support reading gzipped files in the test runner#11600
Mytherin merged 2 commits intoduckdb:mainfrom
chrisiou:support-gzipped-files

Conversation

@chrisiou
Copy link
Contributor

@chrisiou chrisiou commented Apr 10, 2024

This PR enhances the test runner with the unzip keyword and enables the decompression of gzipped database files. It takes two arguments:

  • the current file path of the gzipped file
  • (optionally) a new path for the unzipped file with a filename (otherwise, it defaults to __TEST_DIR__/)

Usage/Example:

unzip <path/to/filename.db.gz> <extraction/path/to/filename.db>

load <extraction/path/to/filename.db> readonly

@Mytherin Mytherin merged commit 6d7d8f1 into duckdb:main Apr 11, 2024
@Mytherin
Copy link
Collaborator

Thanks for the PR! LGTM

github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Apr 11, 2024
Merge pull request duckdb/duckdb#11551 from Maxxen/initialize-unknown-index-on-lookup
Merge pull request duckdb/duckdb#11600 from chrisiou/support-gzipped-files
@chrisiou chrisiou deleted the support-gzipped-files branch April 11, 2024 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants