Skip to main content

Amazon Athena

:::info Required extra This connection requires the athena extra. See Installation. :::

Test data in AWS Athena stored in S3. Supports formats such as Iceberg, Parquet, JSON, and CSV.

Server

servers:
- server: athena
type: athena
catalog: awsdatacatalog # default
schema: icebergdemodb # in Athena, this is called "database"
regionName: eu-central-1
stagingDir: s3://my-bucket/athena-results/

Environment variables

VariableExampleDescription
DATACONTRACT_S3_REGIONeu-central-1Region of the Athena service
DATACONTRACT_S3_ACCESS_KEY_IDAKIAXV5Q5Q...AWS Access Key ID
DATACONTRACT_S3_SECRET_ACCESS_KEY93S7LRrJ...AWS Secret Access Key
DATACONTRACT_S3_SESSION_TOKENAQoDYXdzEJr...AWS temporary session token (optional)