how to solve this error

0

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.NullPointerException

feita há 2 anos822 visualizações
1 Resposta
1

Hi There

Could you provide some additional info about what you are doing with Athena? IN the meantime, please take a look at this troubleshooting article and see if it applies to your use case.

You get this error when the attribute TableType isn't defined for the queried table in the AWS Glue Data Catalog. The TableType attribute defines whether the table is an external table or a view. This attribute can be defined with values, such as EXTERNAL_TABLE and VIRTUAL_VIEW. If you want to run DDL queries, such as SHOW CREATE TABLE or MSCK REPAIR TABLE, then you must define the TableType attribute. 

https://aws.amazon.com/premiumsupport/knowledge-center/athena-failed-nullpointerexception-error/

profile pictureAWS
ESPECIALISTA
Matt-B
respondido há 2 anos
profile pictureAWS
ESPECIALISTA
Chris_G
avaliado há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas