You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fluss.apache.org by "luoyuxia (via GitHub)" <gi...@apache.org> on 2026/04/24 07:10:41 UTC
[I] Support configurable time partition format for auto-partitioned tables [fluss]
luoyuxia opened a new issue, #3191:
URL: https://github.com/apache/fluss/issues/3191
## Search before asking
- [x] I searched in the [issues](https://github.com/apache/fluss/issues) and found nothing similar.
## Motivation
Fluss currently fixes the partition value format based on `table.auto-partition.time-unit`. For example, `DAY` uses `yyyyMMdd`, `HOUR` uses `yyyyMMddHH`, and users cannot configure another format.
This becomes awkward when Fluss is used together with Paimon. Paimon commonly uses `yyyy-MM-dd` style date partitions by default, while Fluss expects `yyyyMMdd`. As a result, users need extra conversion logic or have to accept inconsistent partition naming between Fluss and Paimon.
Making the time partition format configurable would improve interoperability and reduce friction for lake integration scenarios, especially when users want Fluss and Paimon to use the same partition naming convention.
## Solution
Add a table option for configuring the time partition formatter, for example `table.auto-partition.time-format` or similar.
Expected behavior:
- Keep the current hard-coded formats as the default to preserve backward compatibility.
- Allow users to override the formatter when using time-based auto partitioning, for example `yyyy-MM-dd` for `DAY` partitions.
- Use the configured formatter consistently for partition generation, validation, retention, and pre-creation logic.
- Document the supported formatter patterns and any compatibility constraints with different time units.
## Anything else?
There is already related formatter support on the Paimon side, such as `paimon.partition.timestamp-formatter`, so exposing a similar capability in Fluss would make Fluss-Paimon integration more natural.
--
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@fluss.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Support configurable time partition format for auto-partitioned tables [fluss]
Posted by "wattt3 (via GitHub)" <gi...@apache.org>.
wattt3 commented on issue #3191:
URL: https://github.com/apache/fluss/issues/3191#issuecomment-4312034727
Hi @luoyuxia,
I'd like to work on this.
Could you assign it to me?
--
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@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org