Athena fails adding table properties to an iceberg table

0

I am trying to add a table property to an iceberg table from Athena.

ALTER TABLE silver.table_name SET TBLPROPERTIES (
    'write.merge.mode'='merge-on-read'
)

The query fails with error : Unsupported table property key: write.merge.mode

I have tried several other props and the command fails in the same way. I suspect Athena does not recognize that my table is an Iceberg one.

Enter image description here

profile picture
質問済み 6ヶ月前670ビュー
1回答
0
承認された回答
profile pictureAWS
エキスパート
回答済み 6ヶ月前
  • The table IS NOT created from Athena but from iceberg library in spark. Actually you can change the write mode of an iceberg table after it has been created.

  • Either way, the properties Athena uses in the table are not the ones in the Iceberg table, you cannot change then that way

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ