Repository navigation
Add zpq (Parquet, single and partitioned) - #3085
Draft
alexey-milovidov wants to merge 2 commits into
Draft
alexey-milovidov wants to merge 2 commits into
alexey-milovidov wants to merge 2 commits into
Conversation
zpq is a Unix CLI tool that queries Parquet files with SQL: https://github.com/chicagobuss/zpq Each query runs a fresh `zpq` process over the Parquet file(s), timed by wall clock. The queries are the DuckDB (Parquet) ones with the view and macro of its `create.sql` written in (`make_date(EventDate)`, `epoch_ms(t * 1000)`), which is how zpq's own benchmark runs ClickBench. `--cache` makes the cold run fill the page cache for the hot runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Results for Logs:
|
This branch was successfully deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds zpq, a Unix CLI tool written in Zig that queries Parquet files with SQL, as
zpq/(singlehits.parquet) andzpq-partitioned/(hits_*.parquet).installdownloads the static v0.5.1 release binary for x86_64 (AVX2) or aarch64.zpq query --cache --query ...process, timed by wall clock, so process startup and footer reads are included. Without--cache, zpq reads cold data withO_DIRECT, and the hot runs would go to disk again.create.sqlview and macro written in (make_date(EventDate),toDateTime(t)asepoch_ms(t * 1000)), the same rewrite zpq's own benchmark uses. zpq has no views.Checked locally on aarch64 against the full
hits.parquet: all 43 queries succeed and the results match the known answers.🤖 Generated with Claude Code