Repository navigation
Integrate JSONBench into vortex benchmarking - #11390
Draft
robert3005 wants to merge 3 commits into
Draft
robert3005 wants to merge 3 commits into
robert3005 wants to merge 3 commits into
Conversation
robert3005
force-pushed
the
claude/nice-ramanujan-btk0qh
branch
2 times, most recently
from
November 16, 2026 17:39
7fa1618 to
1560ed0
Compare
robert3005
force-pushed
the
claude/nice-ramanujan-btk0qh
branch
4 times, most recently
from
November 19, 2026 11:41
d6653b6 to
8ade4c1
Compare
lwwmanning
force-pushed
the
claude/nice-ramanujan-btk0qh
branch
from
November 23, 2026 11:54
8ade4c1 to
9cd5371
Compare
JSONBench runs ClickHouse's five queries over Bluesky events held in a single Variant column. DataFusion reads it from Parquet, Vortex, and Vortex Compact. DuckDB reads it from Parquet and its native format. - vortex-bench: download the NDJSON source files and write Parquet with a Parquet Variant column, optionally shredded (`--opt shredding=`). Vortex files shred by an inferred schema by default and use the Variant layout through an edition of their own. Add `Benchmark::queries_for_engine`, because Variant access has no SQL syntax that both engines accept. - datafusion-bench: register `variant_get(variant, path, type)`. It has the signature of datafusion-variant, which has no release for DataFusion 55 and Arrow 59. - bench-orchestrator: add the suite, and reject DuckDB over Vortex, which cannot export a Variant to DuckDB yet. - Document the results at 1, 5 and 20 million rows in `vortex-bench/sql/jsonbench.md`. Signed-off-by: Robert Kruszewski <github@robertk.io> Signed-off-by: Will Manning <will@spiraldb.com>
#11505 now converts only `try_variant_get` with a `$.` path to the Vortex `variant_get`, as datafusion-variant parses paths from `$` and raises an error from `variant_get` when a value does not cast. The stand-in that datafusion-bench registers was `variant_get` with bare paths, so its queries no longer pushed down. It is now `try_variant_get`, it takes paths from `$.`, and the DataFusion queries call it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Will Manning <will@spiraldb.com>
Develop now resolves each target to the scan its suite runs, so the JSONBench target over Vortex resolves to the v2 scan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Will Manning <will@spiraldb.com>
lwwmanning
force-pushed
the
claude/nice-ramanujan-btk0qh
branch
from
November 23, 2026 13:11
9cd5371 to
07dd62b
Compare
This branch has not been 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.
This adds JSONBench to the benchmark suite. It is the top of a stack. Below it, #11505 extracts from Variants and pushes
variant_getinto the scan. #11814 then adds the Variant layout and shredding on write. Review and merge them in that order.--opt shredding=). Vortex files shred by an inferred schema by default.try_variant_get(variant, path, type)with the signature of datafusion-variant, which has no release for DataFusion 55 and Arrow 59. Paths start with$., as in datafusion-variant, which is the form that vortex-datafusion converts to the Vortexvariant_get.vortex-bench/sql/jsonbench.mddocuments the results at 1, 5 and 20 million rows.On 1M unshredded rows (
--opt shredding=none, DataFusion), Vortex takes 0.41-0.64 of the Parquet query time:These results are from the 19 Nov head, before the stack was rebased onto develop.
🤖 Generated with Claude Code