Skip to content

Add combine_chunks option to Python Arrow export - #10279

Merged
robert3005 merged 1 commit into
developfrom
claude/loving-wozniak-kwa7dw
Oct 5, 2026
Merged

robert3005 merged 1 commit into
developfrom
claude/loving-wozniak-kwa7dw

Conversation

@robert3005

Copy link
Copy Markdown
Contributor

Pyarrow export can combine chunks on rust side instead of exporting them as pa.chunked_array

@robert3005 robert3005 added the changelog/feature A new feature label Oct 3, 2026
Array.to_arrow_array and Array.to_arrow_table accept a keyword-only
combine_chunks flag. When set, chunked Vortex arrays are executed directly
into a single contiguous Arrow array on the Rust side instead of being
returned as a pyarrow.ChunkedArray, avoiding a second concatenation pass
in pyarrow for consumers that cannot handle chunked arrays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KjMKGatHhiu41d9MuSpbwN
Signed-off-by: Claude <noreply@anthropic.com>
Signed-off-by: Robert Kruszewski <github@robertk.io>
@robert3005
robert3005 force-pushed the claude/loving-wozniak-kwa7dw branch from 4ebab5a to 00b1342 Compare October 5, 2026 11:11
@codspeed

codspeed Bot commented Oct 5, 2026

Copy link
Copy Markdown

Merging this PR will regress 10 benchmarks

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚡ 14 improved benchmarks
❌ 10 regressed benchmarks
✅ 2081 untouched benchmarks
⏩ 503 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ Simulation filter_powerlaw_by_random[250000] 131.8 µs 169.2 µs -22.11%
❌ Simulation take_filter_primitive_nullable_slice_mask_random_indices[4096, 1000] 96.8 µs 123.3 µs -21.47%
❌ Simulation take_filter_primitive_nullable_slice_mask_random_indices[16384, 1000] 115.4 µs 145.6 µs -20.74%
❌ Simulation take_filter_list_slice_mask_sequential_indices[768, 50] 128.5 µs 150.8 µs -14.81%
❌ Simulation take_filter_list_slice_mask_sequential_indices[256, 50] 129.9 µs 151 µs -13.95%
❌ Simulation filter_powerlaw_by_mostly_false[10000] 29.3 µs 33 µs -11.21%
❌ Simulation filter_powerlaw_by_random[10000] 30.2 µs 33.9 µs -11.11%
❌ Simulation filter_random_by_mostly_false[10000] 29.4 µs 33 µs -10.9%
❌ Simulation filter_random_by_random[10000] 30.3 µs 33.9 µs -10.48%
❌ Simulation take_filter_primitive_slice_mask_sequential_indices[16384, 1000] 53.1 µs 59 µs -10%
⚡ Simulation density_sweep_single_slice[0.9999] 85 µs 24 µs ×3.5
⚡ Simulation density_sweep_single_slice[0.999] 84.7 µs 24 µs ×3.5
⚡ Simulation density_sweep_single_slice[0.95] 82.8 µs 24 µs ×3.4
⚡ Simulation density_sweep_single_slice[0.99] 82.6 µs 24 µs ×3.4
⚡ Simulation density_sweep_single_slice[0.5] 64.6 µs 24.1 µs ×2.7
⚡ Simulation density_sweep_single_slice[0.9] 49.4 µs 24.1 µs ×2
⚡ Simulation density_sweep_single_slice[0.1] 48.5 µs 24.1 µs ×2
⚡ Simulation density_sweep_single_slice[0.05] 46.7 µs 24.1 µs +93.91%
⚡ Simulation density_sweep_single_slice[0.01] 41.5 µs 24.1 µs +72.4%
⚡ Simulation density_sweep_random[0.02] 89.3 µs 64.7 µs +38.01%
... ... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing claude/loving-wozniak-kwa7dw (00b1342) with develop (8ff4b4a)2

Open in CodSpeed

Footnotes

  1. 503 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

  2. No successful run was found on develop (23a59e3) during the generation of this report, so 8ff4b4a was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@robert3005
robert3005 merged commit 76381d5 into develop Oct 5, 2026
86 of 87 checks passed
@robert3005
robert3005 deleted the claude/loving-wozniak-kwa7dw branch October 5, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants