NOT_SUPPORTED: Hive table rows is only supported for transactional tables

0

Modifying Hive table rows is only supported for transactional tables This query ran against the database, unless qualified by the query

Whats solution ?

tks

질문됨 일 년 전2808회 조회
1개 답변
0

Hello,

Going by the error message, It indicates that the modify/update operation of rows in athena is not supported for non-transactional tables.

Athena ACID transactions[1] add single-table support for insert, delete, update, and time travel operations to the Athena SQL data manipulation language (DML)

The documentation[2] states that athena only supports ACID transactions for transactional tables and feature like updating/modifying the rows is only supported for apache iceberg tables in Athena.

https://docs.aws.amazon.com/athena/latest/ug/update-statement.html

Further, I checked and could see a 3rd party stack overflow link[3] which might help you and provide some insight on how to update/delete operations on a non-transaction table.

https://stackoverflow.com/questions/73729405/how-to-do-update-delete-operations-on-non-transactional-table?noredirect=1&lq=1

I hope this helps! Thank you !

References: [1]https://docs.aws.amazon.com/athena/latest/ug/acid-transactions.html [2]https://docs.aws.amazon.com/athena/latest/ug/update-statement.html [3]https://stackoverflow.com/questions/73729405/how-to-do-update-delete-operations-on-non-transactional-table?noredirect=1&lq=1

AWS
지원 엔지니어
답변함 일 년 전

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

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

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

관련 콘텐츠