Example code for querying AWS Athena using Python
This code is for querying an existing Athena database only.
- Generate access key ID and secret access key for an AWS IAM user that has access to query the database.
- Fill in the constants in the file you want to run
python athena_boto3_example.py
orpython athena_pyathena_example.py
pip install pre-commit
pre-commit install