You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "JingsongLi (via GitHub)" <gi...@apache.org> on 2026/07/27 15:58:15 UTC
[PR] [core] Support streaming LocalKvDb bulk load [paimon]
JingsongLi opened a new pull request, #8870:
URL: https://github.com/apache/paimon/pull/8870
## Purpose
Support streaming initial bulk load for `LocalKvDb` without materializing all input entries.
## Changes
- Add a `BulkLoadWriter` API that writes sorted entries directly into bounded-size SST files.
- Publish generated SST files atomically only after `finish()`.
- Require keys to be strictly increasing, so duplicate keys are rejected consistently with RocksDB SST ingestion.
- Clean up all generated files when validation or writing fails.
- Keep the existing iterator API as a checked wrapper around the streaming writer.
## Verification
- `mvn -q -pl paimon-common -Pfast-build -DwildcardSuites=none '-Dtest=LocalKvDbTest#testBulkLoad+testBulkLoadMultipleSstFiles+testBulkLoadEmptyIterator+testStreamingBulkLoad+testStreamingBulkLoadRejectsDuplicateKeysAndCleansFiles+testBulkLoadValidatesEntryCount+testBulkLoadFailsOnUnsortedEntries+testBulkLoadFailsOnUnorderedSstRanges+testBulkLoadOrderCheckUsesConfiguredComparator' test`
- `mvn -q -pl paimon-common spotless:check -DskipTests`
- `mvn -q -pl paimon-common -DskipTests compile`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [core] Support streaming LocalKvDb bulk load [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #8870:
URL: https://github.com/apache/paimon/pull/8870
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org