rmoff opened a new pull request, #13617:
URL: https://github.com/apache/iceberg/pull/13617

   Per https://issues.apache.org/jira/browse/FLINK-21634, these features are 
now available.
   
   e.g.
   
   ```sql
   Flink SQL> SET 'execution.checkpointing.interval' = '30s';
   [INFO] Execute statement succeeded.
   
   Flink SQL> CREATE TABLE test01 (col1 INT)
   >     WITH (
   >         'connector' = 'iceberg',
   >         'catalog-name' = 'foo',
   >         'catalog-database' = 'my_glue_db',
   >         'warehouse' = 's3://rmoff-lakehouse/00/',
   >         'catalog-impl' = 'org.apache.iceberg.aws.glue.GlueCatalog',
   >         'ioImpl' = 'org.apache.iceberg.aws.s3.S3FileIO');
   [INFO] Execute statement succeeded.
   
   -- Add a column
   Flink SQL> ALTER TABLE test01 ADD test_col INT;
   [INFO] Execute statement succeeded.
   
   Flink SQL> DESCRIBE test01;
   +----------+------+------+-----+--------+-----------+
   |     name | type | null | key | extras | watermark |
   +----------+------+------+-----+--------+-----------+
   |     col1 |  INT | TRUE |     |        |           |
   | test_col |  INT | TRUE |     |        |           |
   +----------+------+------+-----+--------+-----------+
   2 rows in set
   
   
   -- Drop a column
   Flink SQL> ALTER TABLE test01 DROP test_col;
   [INFO] Execute statement succeeded.
   
   Flink SQL> DESCRIBE test01;
   +------+------+------+-----+--------+-----------+
   | name | type | null | key | extras | watermark |
   +------+------+------+-----+--------+-----------+
   | col1 |  INT | TRUE |     |        |           |
   +------+------+------+-----+--------+-----------+
   1 row in set
   
   -- Rename a column
   Flink SQL> ALTER TABLE test01 RENAME test_col TO foo;
   [INFO] Execute statement succeeded.
   
   Flink SQL> DESCRIBE test01;
   +------+------+------+-----+--------+-----------+
   | name | type | null | key | extras | watermark |
   +------+------+------+-----+--------+-----------+
   | col1 |  INT | TRUE |     |        |           |
   |  foo |  INT | TRUE |     |        |           |
   +------+------+------+-----+--------+-----------+
   2 rows in set
   
   
   -- Modify a column
   Flink SQL> ALTER TABLE test01 MODIFY col1 STRING;
   [INFO] Execute statement succeeded.
   ```


-- 
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...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to