Unable to run and preview a query on Athena. Received an error.

0

Enter image description here

  • Hi.

    Please share information about the data you are trying to query and the query you used.

질문됨 2년 전269회 조회
1개 답변
0

To start troubleshooting, you could check out the instructions in this link - https://aws.amazon.com/premiumsupport/knowledge-center/athena-hive-cursor-error/

Typically the HIVE_CURSOR_ERROR has to do with the fact that the underlying data does not match the table definition, was a malformed JSON, etc. One thing that would help is to use "S3 Select" to view the files to ensure the data is in the format you expect it to be in. I expect the root cause to be possibly one of the following:

  • Corrupted CSV files or malformed JSON
  • Parquet or ORC files with incompatible data types
  • Corrupted Compression
  • Empty Files
  • Athena is unable to decrypt the data (probably key used for encryption being deleted)

Given that your Error message is: HIVE_CURSOR_ERROR: Unable to communicate with downstream services It may be related to not able to reach the data in S3, so check if encryption/decryption works and Athena has the right access to read the data.

profile pictureAWS
답변함 2년 전

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

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

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

관련 콘텐츠