Skip to content

Commit

Permalink
minor change; return output cols list and not the length of it
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishankoradia committed Mar 11, 2024
1 parent 8024a4e commit 10001eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt_automation/operations/joins.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def joins_sql(
dbt_code += f" ON {quote_columnname(aliases[0], warehouse.name)}.{quote_columnname(join_on['key1'], warehouse.name)}"
dbt_code += f" {join_on['compare_with']} {quote_columnname(aliases[1], warehouse.name)}.{quote_columnname(join_on['key2'], warehouse.name)}\n"

return dbt_code, len(output_set)
return dbt_code, list(output_set)


def join(config: dict, warehouse: WarehouseInterface, project_dir: str):
Expand Down

0 comments on commit 10001eb

Please sign in to comment.