Intenal Errors in AWS Athena

0

Running below standard query:

SELECT table_name, COUNT(*) FROM information_schema.columns AS columns_number where table_name like '%appl%' GROUP BY table_name ORDER BY 1 desc ;

It gives different errors as shown below :- Enter image description here

OR

Enter image description here

It is giving these different set of errors for S3 based SQL Service - AWS Athena.

1개 답변
2

Hi,

Please ensure your table names, schemas, database names, and column names are all correct.

The “HIVE_INVALID_METADATA” happens when the AWS Glue table schema contains duplicate column names or columns with the same name as partition columns. To resolve the error please follow the steps in the documentation here:

https://aws.amazon.com/premiumsupport/knowledge-center/athena-hive-invalid-metadata-duplicate/

As for the “GENERIC_INTERNAL_ERROR” there could be several different things causing this. Please refer to the following documentation that describes the different error cases and steps to resolve:

https://aws.amazon.com/premiumsupport/knowledge-center/athena-generic-internal-error/

Hope this helps.

profile pictureAWS
답변함 2년 전

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

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

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

관련 콘텐츠