Add support to alter table comment
See original GitHub issueI looking for a way to change the table comment. You can create a table with a comment
CREATE TABLE prod.db.sample (
id bigint COMMENT 'unique id',
data string)
USING iceberg
You can alter the comment of a column
ALTER TABLE prod.db.sample ALTER COLUMN measurement COMMENT 'unit is kilobytes per second'
But there does not appear to be a way to alter the tables comment.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
SQL to add column and comment in table in single command
Query to add column with comment are : alter table table_name add( " ...
Read more >COMMENT
Use the COMMENT statement to add to the data dictionary a comment about a table or table column, view, materialized view, operator, indextype,...
Read more >ALTER TABLE … MODIFY COMMENT | ClickHouse Docs
Adds, modifies, or removes comment to the table, regardless if it was set before or not. Comment change is reflected in both system.tables...
Read more >13.1.9 ALTER TABLE Statement - MySQL :: Developer Zone
ALTER TABLE changes the structure of a table. For example, you can add or delete columns, create or destroy indexes, change the type...
Read more >COMMENT - Snowflake Documentation
The COMMENT parameter can also be used in the ALTER <object> command to change an existing comment at any time. A slightly different...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will open a PR to add this to the Spark docs. @kbendick
the syntax of Spark sql can work @kbendick . show DDL detail following: