3 回答
- 最新
- 投票最多
- 评论最多
0
Hello, you can check this page section "ALTER TABLE CHANGE COLUMN" (Changes the name, type, order or comment of a column).
It looks like it would be:
ALTER TABLE my_iceberg_table CHANGE COLUMN old_column_name new_column_name
已回答 1 年前
0
You need to use CHANGE
and include the same type for the rename.
ALTER TABLE <my_iceberg_table> CHANGE <old_column_name> <new_column_name> <current_type>;
I had to do this yesterday, it's dumb but it works.
已回答 1 年前
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 6 个月前
Thank you for the answer, but unfortunately this still gives me an error:
Detail:FAILED: ParseException line 1:128 cannot recognize input near '<EOF>' '<EOF>' '<EOF>'
Were you able to do this successfully?