diff --git a/dbt/adapters/glue/impl.py b/dbt/adapters/glue/impl.py index 66c5777..2ba68cf 100644 --- a/dbt/adapters/glue/impl.py +++ b/dbt/adapters/glue/impl.py @@ -545,7 +545,7 @@ def create_csv_table(self, model, agate_table): except Exception as e: logger.error(e) - def _map_csv_chunks_to_code(self, csv_chunks: list[list[dict]], session: GlueConnection, model, mode): + def _map_csv_chunks_to_code(self, csv_chunks: List[List[dict]], session: GlueConnection, model, mode): statements = [] for i, csv_chunk in enumerate(csv_chunks): is_first = i == 0 @@ -582,7 +582,7 @@ def _map_csv_chunks_to_code(self, csv_chunks: list[list[dict]], session: GlueCon statements.append(code) return statements - def _split_csv_records_into_chunks(self, records: list[dict], target_size=60000): + def _split_csv_records_into_chunks(self, records: List[dict], target_size=60000): chunks = [[]] for record in records: if len(str([*chunks[-1], record])) > target_size: