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

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and 
found nothing similar.
   
   
   ### Description
   
   **Task Overview:**
   
   Currently, Fluss does not allow users to alter Lake table properties (i.e., 
properties prefixed with the datalake format name, such as `paimon.*`) via 
`ALTER TABLE ... SET (...)` statements. Any attempt to modify such properties 
results in an `InvalidConfigException`.
   
   **Problem Statement:**
   
   When a user attempts to update Lake-specific table properties, such as 
partition configuration, the following error is thrown:
   
   ```sql
   ALTER TABLE my_catalog.my_database.my_lake_table SET (
       'paimon.partition.timestamp-formatter' = 'yyyyMMdd',
       'paimon.partition.timestamp-pattern' = '$ds'
   );
   ```
   
   ```
   Caused by: org.apache.fluss.exception.InvalidConfigException: 
     Property 'paimon.partition.timestamp-pattern' is not supported to alter 
which is for datalake table.
   ```
   
   This blanket restriction prevents users from updating valid and necessary 
Lake table configurations after table creation, such as:
   
   - `paimon.partition.timestamp-formatter`
   - `paimon.partition.timestamp-pattern`
   
   **Purpose:**
   
   Users need the ability to adjust Lake table properties post-creation without 
having to drop and recreate tables, which is disruptive in production 
environments.
   
   ### 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