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 官方已更新 10 個月前
- AWS 官方已更新 7 個月前
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?