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

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠