schema name was not found when running a query lambda function into Athena. However, when running in Athena it works

0

schema name was not found when running a query lambda function into Athena. However, when running the same exact query in Athena it works (see attachment)

here is my lambda function

schema not found error

prove that my schema exist

i can run the query in Athena query editor without error

feita há um ano275 visualizações
1 Resposta
0

Is your boto3.client for the right region and account? Regio nwill be picked up from your environment or you can specify it to boto3.client('athena', region_name).

ESPECIALISTA
respondido há um ano
  • ya its the right region and account, tried stating the region name, still returning the same error :/

  • Out of curiosity I tried pretty much exactly what you're doing and it worked fine until I deliberately put a wrong schema name in the query, then I got your error. I'm stumped, I can't think of anything else that could be wrong.

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