Repository navigation
Releases
ParquetScope v0.5.0
Added
- The DuckDB page-index HTTP lab measures point lookups with DuckDB 2.0.0 and 2.0.1 on one indexed file, with wide-scan and index-disabled controls.
- DataFusion page-index cache lab: a local reproduction of apache/datafusion#23978 with standalone Rust harnesses pinned to DataFusion 54.0.0 and 54.1.0, two opens of one file through a shared metadata cache, and HTTP reads matched to the page-index regions of the footer. The CLI and UI are unchanged.
ParquetScope v0.4.0
Fixed
- Cancellation during input preparation ends the job as cancelled without fabricating a capture. Late session loading preserves locally imported artifacts and their profile metadata.
Added
- Capture HTTP profiles in CLI and UI: a fixed pre-header response delay and one shared body-write rate across parallel responses and all files, with bounded burst, interruptible waits and the existing execution deadline.
- Artifact v4 records requested/effective profiles, limiter semantics, reservation and successful-write bytes, and bounded request timing components. Comparison and standalone offline viewers show profile differences; v1–v3 remain readable with the profile explicitly unrecorded.
- A bounded HTTP profile lab compares prefetch on/off on prepared DuckDB 1.5.6, three alternating repetitions per profile, with independent query and plain HTTP controls.
Install: uv tool install --python 3.13 parquetscope==0.4.0
v0.3.0
Added
- Choice of DuckDB 1.5.6 or 2.0.0 for file-set captures (
capture --engine, UI Engine). Each version runs in an isolated environment with its own httpfs, prepared by the explicitsetup --enginestep; captures never install anything. - Typed
disable_parquet_prefetchingsetting (capture --prefetch default|on|off, UI Parquet prefetch). The engine's read-back value is recorded; an unavailable or unconfirmed request fails the run, and an unreadable default makes the capture incomplete. - Artifact format v3 records the DuckDB version, environment, prefetch evidence and how requests were correlated. v1 and v2 artifacts open unchanged; new file-set captures are v3. Run comparison shows engine versions, prefetch settings, GET/HEAD, confirmed ranges and server-written bytes.
- Prefetch lab: four configurations over a fixed file set shaped after duckdb/duckdb#25704, three interleaved cold-client repetitions each, checked against an independent pyarrow control.
Changed
- The capture worker is a standalone script that needs only DuckDB, so it can run in any engine environment. It pins the httpfs HTTP options after loading the extension and enables HTTP logging before locking the configuration (DuckDB 2.0 requires it).
- DuckDB 2.0 redacts the request ID header in its HTTP log; those requests are paired with the server's records by content and the artifact says so.
ParquetScope 0.2.0
Added
- File-set captures: an explicit, bounded manifest (
capture --manifest,serve --manifest) reads up to 256 identically structured local files, including Hive-style directories, through the sameinputview. - Artifact format v2 with a per-file model, per-file and set metrics, file attribution cross-checked between DuckDB logs and the independent server, observed-access states (GET, HEAD only, no observed requests), read options, effective engine settings and per-request phases. v1 artifacts open unchanged.
- Files view with filtering, sorting and per-file inspection; Range lab and Structure work on the selected file.
- Run comparison matches files by content hash and shows read options, engine differences and the limits of comparability.
- Partition-pruning lab: identical Parquet bytes in a flat and a Hive layout, a selective query and a non-selective control, repeated cold-client captures, viewers and a report.
- Multi-file HTTP observer with exact per-file routes, per-request identity checks, and bounded concurrent connections.
- Reproducible NYC TLC case study: three layouts, nine captures, standalone viewers, runtime provenance, and checksums.
- Static interactive lab with layout exploration, linked selection, comparison, and downloadable evidence.
- Manually dispatched workflows for the real-data experiment and GitHub Pages deployment.
- Monthly grouped Dependabot version updates with a 14-day cooldown and one open PR per ecosystem; DuckDB upgrades remain manual.
- Public user and contributor guides, security and conduct policies, issue forms, and a pull request template.
- Shared editor settings, Git attributes, and project-specific ignore rules.
Changed
RangeServeris now the single-file wrapper of the newFileSetServer; v1 capture behavior and artifacts are unchanged. Browser tests use a second server on port 8412.- Standalone viewers open v2 artifacts directly and keep offline import and comparison.
Fixed
- Static-lab layout and comparison selections survive refresh and browser history; selecting the current layout returns to Range lab.
- Local analysis navigation preserves an unexecuted SQL draft.
- Report verification and static builds reject SQL that disagrees with the captured workload.
ParquetScope v0.1.0
ParquetScope's first release connects one SELECT → real HTTP requests → byte intervals → Parquet column chunks in a local diagnostic application.
Included in v0.1.0
- Real DuckDB 1.5.6 structured HTTP logging, reconciled with an independent streaming loopback Range server.
- Range lab: request start times, proportional byte ranges, linked request/chunk selection, exact offsets, compact ledger and selected-range zoom.
- Structure inspection, run comparison, light/dark/system themes and fully consumed query results with bounded previews.
- Versioned JSON captures and self-contained offline HTML viewers with local artifact import and re-export. The production frontend is bundled; end users do not need Node.js.
- A deterministic original-versus-sorted layout demo with independently verified data and query-result equality.
- Deadline/cancellation cleanup, protection against overwriting the input through output aliases, explicit MiB memory limits and safe handling of unavailable offline templates.
Install and run
With uv and gh installed:
gh release download v0.1.0 --repo 0then0/parquetscope --pattern '*.whl'
uv tool install --python 3.13 ./parquetscope-0.1.0-py3-none-any.whl
parquetscope setup
parquetscope serve --demoOpen http://127.0.0.1:8400. setup explicitly downloads the pinned engine's httpfs extension once; it is never installed during a measured run. Subsequent local capture/demo and standalone artifact viewing require no external internet.
To inspect your own file:
parquetscope serve /path/to/events.parquetPython 3.10+ is required. DuckDB is pinned to 1.5.6.
Measurements and scope
The reproducible demo measured 192 GET → 6 GET and 3,048,953 → 146,149 server-written body bytes with identical query results. These are observations for that measured pair, not fixed request sequences or a universal speedup. A fresh worker means cold client only; OS/disk caches are uncontrolled.
This release measures loopback HTTP reads of one selected local file. Server stream writes do not establish client receipt, decoding or SQL use. Range overlap does not automatically mean wasted work. S3 capture and automatic query optimization are outside v0.1.
Validation
CI for beea48d passed on Linux x86_64: 72 backend tests on Python 3.10 and 3.13, 6 frontend tests, 7 Chromium scenarios, lint/type checks, production/package builds and an isolated wheel smoke test. The same source also passed local checks on macOS arm64/Python 3.13. Windows is unverified.
The attached wheel and sdist come directly from that successful CI run. SHA256SUMS.txt contains their SHA-256 checksums. The wheel contains the compiled frontend and offline viewer; the sdist also includes frontend sources, tests, documentation and lockfiles.