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
已提問 1 個月前檢視次數 166 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南