Skip to content

Commit

Permalink
remove quote_constvalue
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek-N committed Apr 12, 2024
1 parent 776de62 commit 4e20d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt_automation/operations/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def generic_function_dbt_sql(
for computed_column in computed_columns:
function_name = computed_column["function_name"]
operands = [
quote_constvalue(quote_columnname(str(operand["value"]), warehouse.name), warehouse.name)
quote_columnname(str(operand["value"]), warehouse.name)
if operand["is_col"]
else quote_constvalue(str(operand["value"]), warehouse.name)
for operand in computed_column["operands"]
Expand Down

0 comments on commit 4e20d4b

Please sign in to comment.