AthenaHook

Amazon

Interact with Amazon Athena. Provide thick wrapper around boto3.client("athena").

View on GitHub

Last Updated: Jan. 14, 2023

Access Instructions

Install the Amazon provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

sleep_timeTime (in seconds) to wait between two consecutive calls to check query status on Athena
log_queryWhether to log athena query and other execution params when it’s executed. Defaults to True.

Documentation

Interact with Amazon Athena. Provide thick wrapper around boto3.client("athena").

Additional arguments (such as aws_conn_id) may be specified and are passed down to the underlying AwsBaseHook.

Was this page helpful?