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

   ### Purpose
   
   Fixes #11002.
   
   The Flink `expire_partitions` action builds its expiration strategy from a 
separate options map. When `--expire_strategy` or `--timestamp_pattern` is 
omitted, it falls back to defaults instead of using the table configuration.
   
   For example, a table configured with `update-time` can have a recently 
written partition expired based on its date value because the action falls back 
to `values-time`.
   
   This change initializes the strategy options from the table options after 
applying `--table_conf`, then overrides them only when the corresponding action 
argument is non-null. Explicit empty and whitespace-only arguments keep their 
existing behavior. The action documentation is updated to describe option 
inheritance.
   
   ### Tests
   
   Added integration tests covering inherited strategies and timestamp 
patterns, `--table_conf` overrides, explicit argument precedence, and empty or 
whitespace-only arguments.
   
   All 18 tests in `ExpirePartitionsActionITCase` pass.


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