Skip to content

refactor(writer)!: remove WriteOptions#chunkSize - #422

Merged
dfa1 merged 1 commit into
mainfrom
refactor/remove-writeoptions-chunksize
Oct 1, 2026
Merged

dfa1 merged 1 commit into
mainfrom
refactor/remove-writeoptions-chunksize

Conversation

@dfa1

@dfa1 dfa1 commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Follow-up to #418/#421.

writeChunk never split batches by WriteOptions#chunkSize: each call is one chunk. The option's only effect was the zone-map stride, which was wrong whenever batches differed from it (#418) and is now derived from the real chunk lengths (#421). A tuning knob that does nothing is a bug, so it goes.

Breaking: WriteOptions loses its first record component. The importers (csv, parquet, jdbc) batch with their own ImportOptions/JdbcImportOptions#chunkSize and are unaffected. Call sites, docs/reference.md and the CHANGELOG are updated.

Full ./mvnw verify is green locally.

🤖 Generated with Claude Code

writeChunk never split batches by it: each call is one chunk. Its only
effect was the zone-map stride, which was wrong whenever batches differed
from it (#418) and is now derived from the real chunk lengths. A tuning
knob that does nothing is a bug; remove it rather than keep a no-op.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@dfa1
dfa1 merged commit 5225158 into main Oct 1, 2026
6 checks passed
@dfa1
dfa1 deleted the refactor/remove-writeoptions-chunksize branch October 1, 2026 20:21
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.

1 participant