Skip to content

Support appending large Arrow record batches #530

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 8, 2025
Merged

Conversation

mlafeldt
Copy link
Member

@mlafeldt mlafeldt commented Jul 8, 2025

Based on the test from #271 by @plaflamme, this PR enhances/fixes append_record_batch to automatically chunk the passed record batch into smaller pieces (using Arrow's zero-copy slicing) that fit within DuckDB's vector size limit.

@mlafeldt mlafeldt force-pushed the arrow-batch-chunking branch from e242577 to 211bc3d Compare July 8, 2025 09:12
@mlafeldt mlafeldt self-assigned this Jul 8, 2025
@mlafeldt mlafeldt requested a review from Maxxen July 8, 2025 09:13
Copy link
Member

@Maxxen Maxxen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

@mlafeldt mlafeldt merged commit 506d047 into main Jul 8, 2025
3 checks passed
@mlafeldt mlafeldt deleted the arrow-batch-chunking branch July 8, 2025 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants