3 Respostas
- Mais recentes
- Mais votos
- Mais comentários
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
respondido há um ano
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.
respondido há um ano
Conteúdo relevante
- feita há 9 dias
- feita há 9 dias
- feita há 23 dias
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 8 meses
- AWS OFICIALAtualizada há 10 meses
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?