Skip to content

JSONBench opteryx-variant: drop documents nested deeper than a VARIANT holds - #3601

Merged
alexey-milovidov merged 2 commits into
mainfrom
opteryx-variant-deep-documents
Nov 26, 2026
Merged

alexey-milovidov merged 2 commits into
mainfrom
opteryx-variant-deep-documents

Conversation

@alexey-milovidov

Copy link
Copy Markdown
Member

The 1000m run of json/opteryx-variant (2026-11-23, json/opteryx-variant/results/20261123/m6i.8xlarge_bluesky_1000m.json) failed in load: rugo's Parquet writer raised RuntimeError: a value nested deeper than 1024 cannot be held in a VARIANT on a few deeply nested documents that only the full dataset has, so nothing was loaded.

drop_deep.py (standard library) sits between pigz and load.py and drops those documents, as json/datafusion and json/polars drop them. The limit is exact (checked with opteryx-core 0.10.3: depth 1024 loads, 1025 fails; the top-level object is level 1). Only lines with more than 1024 opening brackets are scanned, outside of strings, so the cost is negligible.

The json-size:1000 label runs this PR on the 1000m dataset.

🤖 Generated with Claude Code

…T holds

The 1000m run failed in `load`: rugo's Parquet writer raised
`RuntimeError: a value nested deeper than 1024 cannot be held in a VARIANT`
on a few deeply nested documents of the full dataset, and nothing was loaded.
`drop_deep.py` filters them out between `pigz` and `load.py`, as the
DataFusion and Polars entries do. The limit is exact: depth 1024 loads, 1025 fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alexey-milovidov alexey-milovidov added the json-size:1000 Run JSONBench systems of this PR on the 1000m dataset label Nov 26, 2026
@alexey-milovidov
alexey-milovidov deployed to benchmark-approval November 26, 2026 00:51 — with GitHub Actions Active
Collected from the sink by `json/collect-new-results.sh`.

Runs: opteryx-variant/1000m.

The result files are generated from `sink.data` (rows with `kind: json-benchmark`,
sent by the machines launched by `json/run-benchmark.sh`).
@github-actions

Copy link
Copy Markdown
Contributor

Collected from the sink by json/collect-new-results.sh.

Runs: opteryx-variant/1000m.

The result files are generated from sink.data (rows with kind: json-benchmark,
sent by the machines launched by json/run-benchmark.sh).

@alexey-milovidov
alexey-milovidov merged commit 0c57ba7 into main Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

json-size:1000 Run JSONBench systems of this PR on the 1000m dataset

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant