Tomme / dbt-athena

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

[BUG] Boto3 get_partitions pagination is not handled in impl.py #81

Open DVerzal opened 2 years ago

DVerzal commented 2 years ago

When utilizing an insert_overwrite materialization strategy, the framework uses boto3's glue client get_partitions function call. This returns a JSON object which can be paginated and requires handling of the NextToken value returned. If pagination is not handled, it appears as though partitions do not exist.