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

1回答
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).

エキスパート
回答済み 1年前
  • 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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ