qidian99 opened a new issue, #1152:
URL: https://github.com/apache/incubator-paimon/issues/1152

   ### Search before asking
   
   - [X] I searched in the 
[issues](https://github.com/apache/incubator-paimon/issues) and found nothing 
similar.
   
   
   ### Motivation
   
   1. I ran Flink 1.17 cluster and tested out Paimon catalog DDL scenarios, and 
add/drop column statements suceeded without exceptions
   ```sql
   ALTER TABLE my_table ADD (
       ts AS TO_TIMESTAMP(log_ts) AFTER log_ts
   );
   ```
    
   
![image](https://github.com/apache/incubator-paimon/assets/20527912/28250333-1d8b-41dd-8f57-7d7afa3a7d9e)
   
   2. I noticed that SchemaChangeITCase missed the altering columns case, so I 
tried to add corresponding test cases to SchemaChangeITCase, and got an 
exception:
   
   
![image](https://github.com/apache/incubator-paimon/assets/20527912/47842532-11f8-4ecb-a829-1562201723f1)
   
   
   3. I noticed that in Flink 1.15 and 
1.16,SqlToOperationConverter��::convertAlterTable�� does not support add/drop 
columns
   
   Altering table add/drop columns is a new feature introduced in Flink 1.17. 
Therefore, it's better to add tests in paimon-flink-1.17
   
   ### Solution
   
   Add the corresponding tests that cover add column, drop column and modify 
column.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [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: issues-unsubscr...@paimon.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to