Skip to content

Commit

Permalink
Fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
svdimchenko committed Sep 30, 2024
1 parent fd81fb3 commit 8f83983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt/adapters/athena/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit 8f83983

Please sign in to comment.