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
답변함 일 년 전
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.
답변함 일 년 전
관련 콘텐츠
- 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?