Tomme / dbt-athena

The athena adapter plugin for dbt (https://getdbt.com)
Apache License 2.0
142 stars 79 forks source link

Implement retry for query execution #42

Closed Dandandan closed 2 years ago

Dandandan commented 2 years ago

Pyathena only retries on exceptions in the API, but not failed queries (e.g. ones that failed to execute because of exhausted resources).

This change allows the adapter to retry executing the query the configured amount of times.