From 8f8398305af6e31a2333c2576f0adb990718fd03 Mon Sep 17 00:00:00 2001 From: Serhii Dimchenko Date: Mon, 30 Sep 2024 13:31:53 +0200 Subject: [PATCH] Fix pre-commit --- dbt/adapters/athena/impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbt/adapters/athena/impl.py b/dbt/adapters/athena/impl.py index 20e248ee..5b94a4c9 100755 --- a/dbt/adapters/athena/impl.py +++ b/dbt/adapters/athena/impl.py @@ -1098,7 +1098,7 @@ def _is_current_column(col: ColumnTypeDef) -> bool: """ Check if a column is explicitly set as not current. If not, it is considered as current. """ - return col.get("Parameters", {}).get("iceberg.field.current") != "false" + return bool(col.get("Parameters", {}).get("iceberg.field.current") != "false") @available def get_columns_in_relation(self, relation: AthenaRelation) -> List[AthenaColumn]: