Skip to content

A Flask API to get query results from AWS Athena and S3

Notifications You must be signed in to change notification settings

smsalaken/AWS-Athena-Flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Athena integration with Flask

run with: $ chmod a+x app.py $ ./app.py

install flask

configure AWS credential with AWS CLI: run >> AWS CONFIGURE boto3 uses that

explicitly state region

supplied S3 bucket must follow the following convention:

<bucket name>/input : this will contain the json/csv file containing data

<bucket name>/results : this will contain the output results

take care of serde in CREATE TABLE STATEMENT, need to think how we can remove hardcoding on this

boto3 and Athena tutorial: https://medium.com/@devopsglobaleli/introduction-17b4d0c592b6

About

A Flask API to get query results from AWS Athena and S3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages