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

   ### Purpose
   
   fix #4957
   
   - `copyWithLatestSchema()` now lets the latest committed schema options 
override stale options from the current table copy, so altered option values 
survive a refresh.
   - Removes the obsolete TODO that described the previous broken precedence.
   
   ### Tests
   
   - Added 
`AppendOnlySimpleTableTest#testCopyWithLatestSchemaPicksUpAlteredOptionValues`: 
alter `snapshot.num-retained.max` to 10, then assert `copyWithLatestSchema()` 
reflects it.
   - Failed before the fix with `expected: 10 but was: 100`; passes after.
   - `mvn -pl paimon-core -am clean install` ran the normal checks 
(checkstyle/spotless/rat); only `PostgresqlCatalogTest` was skipped for local 
Docker absence.
   


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

Reply via email to