You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "discivigour (via GitHub)" <gi...@apache.org> on 2026/07/20 11:41:03 UTC

[PR] [core] Make partition default name immutable after first snapshot [paimon]

discivigour opened a new pull request, #8747:
URL: https://github.com/apache/paimon/pull/8747

   ### Purpose
   
   `partition.default-name` determines the physical partition path used for null or empty partition values. Changing it after a table has snapshots can make existing and newly written default partitions use different paths.
   
   This change marks the option as immutable. The option can still be changed or reset before the first snapshot. After a snapshot exists, changing it to a different value or resetting it is rejected, while setting the same effective default remains a no-op. Dynamic table options cannot bypass the immutable-option validation.
   
   ### Tests
   
   - `mvn -pl paimon-core -am -Pfast-build -Dmaven.repo.local=/opt/homebrew/opt/maven/repository -DfailIfNoTests=false -DwildcardSuites=none -Dtest=SchemaManagerTest test`
   - `mvn -pl paimon-api,paimon-core -DskipTests -Dmaven.repo.local=/opt/homebrew/opt/maven/repository spotless:check`
   - `git diff --check`
   


-- 
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] Make partition default name immutable after first snapshot [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi closed pull request #8747: [core] Make partition default name immutable after first snapshot
URL: https://github.com/apache/paimon/pull/8747


-- 
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