Skip to content

[core] Fix bundle fast path for row data file writer - #9190

Closed
discivigour wants to merge 1 commit into
apache:masterfrom
discivigour:bug/j/fix-rowdata-bundle-fast-path
Closed

discivigour wants to merge 1 commit into
apache:masterfrom
discivigour:bug/j/fix-rowdata-bundle-fast-path

Conversation

@discivigour

Copy link
Copy Markdown
Contributor

Purpose

BundleFormatWriter supports writing a bundle directly, but RowDataFileWriter always expanded BundleRecords and wrote each row individually. This prevented format writers from using their bundle fast path.

This change forwards eligible bundles directly and updates the sequence-number counter in bulk. It preserves per-record processing when column statistics, row tracking, or auxiliary file writers require it.

Tests

  • mvn -pl paimon-core -Dmaven.repo.local=/opt/homebrew/opt/maven/repository -DwildcardSuites=none -Dtest=RowDataFileWriterTest test

@discivigour discivigour changed the title [core] Enable bundle fast path for row data file writer [core] Fix bundle fast path for row data file writer Aug 12, 2026
@JingsongLi

Copy link
Copy Markdown
Contributor

Duplicated in #9100

@discivigour
discivigour force-pushed the bug/j/fix-rowdata-bundle-fast-path branch from dd4c9b8 to 145cdd1 Compare August 12, 2026 08:42
@discivigour

Copy link
Copy Markdown
Contributor Author

Duplicated in #9100

Got it, closed.

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.

2 participants