Aitozi opened a new pull request, #8286: URL: https://github.com/apache/paimon/pull/8286
### Purpose This PR makes write-only snapshot sequence APPEND commits participate in the same bucket-number consistency check as unordered write-only append commits. It prevents INSERT INTO from writing new files with a rescaled bucket count before existing data layout is rewritten, while INSERT OVERWRITE can still be used to rescale the layout. ### Tests - `git diff --check HEAD^ HEAD` - `mvn -s ~/.m2/apache-community.xml -pl paimon-core -am -Pfast-build -DfailIfNoTests=false -Dtest=FileStoreCommitTest#testWriteOnlySnapshotSequenceCommitChecksRescaledBucketNumber test` - `mvn -s ~/.m2/apache-community.xml -pl paimon-flink/paimon-flink-common -am -Pfast-build -DfailIfNoTests=false -Dtest=PrimaryKeyFileStoreTableITCase#testSnapshotSequenceInsertIntoCheckSameBucketAndInsertOverwriteRescale test` was attempted, but the local run failed during the first INSERT before reaching the new assertion path because Flink/Paimon codegen could not instantiate `org.apache.paimon.codegen.Projection`; the root cause was a `NullPointerException` from `sun.misc.URLClassPath.getLoader` while discovering codegen plugins. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
