[
https://issues.apache.org/jira/browse/FLINK-36098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17902765#comment-17902765
]
Alexey Leonov-Vendrovskiy commented on FLINK-36098:
---------------------------------------------------
Looks like it would be better aligned with ALTER CATALOG for Flink?
[https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/sql/alter/#alter-catalog]
which would mean
ALTER TABLE my_table COMMENT 'New comment for my_table'
> Add support for Table Comments in Flink SQL ALTER TABLE statements
> ------------------------------------------------------------------
>
> Key: FLINK-36098
> URL: https://issues.apache.org/jira/browse/FLINK-36098
> Project: Flink
> Issue Type: Improvement
> Reporter: Steffen Hoellinger
> Priority: Major
>
> Table Comments should be changeable via the ALTER Statements Syntax in Flink
> SQL:
> {code:java}
> ALTER TABLE my_table COMMENT 'New comment for my_table' {code}
>
> Table Comments can already be created with CREATE Statements such as the
> following:
> {code:java}
> CREATE TABLE (columns) COMMENT 'table_comment' {code}
>
> There currently seems no way to change table comments once created except for
> using the [Create or] Replace Table Statement :
> {code:java}
> REPLACE TABLE target_table
> COMMENT 'changed table_comment'
> WITH ()
> AS SELECT * FROM source_table; {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)