Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishankoradia committed Feb 29, 2024
1 parent d23a76f commit c7b27e8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dbt_automation/operations/mergetables.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ def union_tables_sql(config, warehouse: WarehouseInterface):

include_cols = [f'"{col}"' for col in source_columns]


# pylint:disable=consider-using-f-string
dbt_code += "{{ dbt_utils.union_relations("
dbt_code += f"relations={relations} , include=[{",".join(include_cols)}]"
dbt_code += f"relations={relations} , " + f"include=[{','.join(include_cols)}]"
dbt_code += ")}}"

return dbt_code, source_columns
Expand Down

0 comments on commit c7b27e8

Please sign in to comment.