gyang94 opened a new issue, #3557:
URL: https://github.com/apache/fluss/issues/3557

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and 
found nothing similar.
   
   
   ### Motivation
   
   ## Motivation
   
   Today, auto-partitioned tables with `table.auto-partition.time-unit=DAY` 
always use `yyyyMMdd` as the partition value format.
   
   This is limiting in cases where users want DAY partitions to be organized in 
a more readable and conventional date form such as `yyyy-MM-dd`. It also aligns 
better with typed `DATE` partition values, which are naturally represented in 
dashed form.
   
   ### Solution
   
   Introduce a new table option:
    - `table.auto-partition.day-format`
   
   Supported values:
     - `yyyyMMdd` (default, backward compatible)
     - `yyyy-MM-dd`
   
   Behavior:
     - this option only applies when `table.auto-partition.time-unit=DAY`
     - when set to `yyyy-MM-dd`, all DAY auto-partition behavior
   should use dashed format consistently:
       - auto pre-created partitions
       - manual partition creation validation
       - writer-side dynamic partition creation
       - retention / expiration logic
   
   ### Anything else?
   
   _No response_
   
   ### Willingness to contribute
   
   - [x] I'm willing to submit a PR!


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