2 Answers
- Newest
- Most votes
- Most comments
1
It looks like a syntax error. You have the query wrapped in single quotes in your python code and also have the '1'
wrapped in single quotes. You will need to either escape the single quotes on the '1'
or remove the single quotes.
0
That was it! I think the output was a little misleading, but you were right. I had to escape the single quotes of the '1' in the boto3 athena query, which was not necessary in athena query editor.
FYI, removing the quotes did work, and resulted in another syntax error.
Thanks you!
answered 2 years ago
Relevant content
- asked a year ago
- asked 6 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago