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

Variable Example Description
DATACONTRACT_S3_REGION eu-central-1 Region of the Athena service
DATACONTRACT_S3_ACCESS_KEY_ID AKIAXV5Q5Q... AWS Access Key ID
DATACONTRACT_S3_SECRET_ACCESS_KEY 93S7LRrJ... AWS Secret Access Key
DATACONTRACT_S3_SESSION_TOKEN AQoDYXdzEJr... AWS temporary session token (optional)