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

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and 
found nothing similar.
   
   
   ### Description
   
   We already support alter table property. We need to send a 
`AlterTablePropertiesRequest`.
   But if we want to fire multiple table changes,  such like alter table 
property, alter add column. We need to fire multiple requests. There are two 
main drawbacks:
   1: the alter table changes can't be atomic since we have to send multiple 
requests
   2: the more important is that some  table changes may work together, such as 
add a new column & set the property about the colum.   It must be in single one 
request. Otherwise, the alter will fail.
   
   It's easy to extend the current design  to support it. 
   Change `AlterTablePropertiesRequest` to `AlterTableRequest` should be fine. 
If in the future, we support alter add column, it may be look like 
   ```
   AlterTablePropertiesRequest {
      required PbTablePath table_path = 1;
     required bool ignore_if_not_exists = 2;
     repeated PbAlterConfig config_changes = 3;
     repeated PbAlterColumn column_changes = 4;
   }
   
   ```
   
   
   ### Willingness to contribute
   
   - [ ] 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