Skip to content

[vortex] Honor write.batch-memory in the writer factory - #9605

Open
thswlsqls wants to merge 1 commit into
apache:masterfrom
thswlsqls:fix/vortex-honor-write-batch-memory
Open

[vortex] Honor write.batch-memory in the writer factory#9605
thswlsqls wants to merge 1 commit into
apache:masterfrom
thswlsqls:fix/vortex-honor-write-batch-memory

Conversation

@thswlsqls

Copy link
Copy Markdown
Contributor

Purpose

fix #9559

Tests

  • Added VortexFileFormatTest#testWriterFactoryHonorsWriteBatchMemory: at a 1 kb limit write() is rejected before write.batch-size; at 128 MB it is not.
  • mvn -pl paimon-vortex/paimon-vortex-format clean install (JDK 11) — 66 tests, 0 failures, 4 skipped; checkstyle, spotless, enforcer green.
  • No existing test sets write.batch-memory, so none change behavior.

VortexFileFormat.createWriterFactory built ArrowFormatCWriter with the
three-argument constructor, so the write.batch-memory limit was dropped
and only write.batch-size bounded a batch. Pass the limit through, as
orc, lance and mosaic already do.

Generated-by: Claude Code
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.

[Bug] Vortex writer ignores write.batch-memory

1 participant