Athena reorder / rename Iceberg Table Column fails in Management Console

0

When excuting this sql in the AWS Management Console / Athena Query Editor

ALTER TABLE iceberg_table CHANGE COLUMN comment blog_comment string AFTER id

it should allow for renaming/reordering/retyping of a column. But if I execute this athena, it always fails with

mismatched input 'CHANGE'. Expecting: '.', 'ADD', 'DROP', 'EXECUTE', 'RENAME', 'SET'

If I execute the same thing via the aws cli from my local env, everything works as expected.

Mario
preguntada hace un mes166 visualizaciones
No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas