Just wondering, does jinja not apply a function to every row in a dbt sql/model table?
With my_cte AS ( Select t.id as id, {{my_func('id')}} as amount From table t)
It returns the same value for column 'amount' in every row in the CTE. It seems to calculate the value for the first row and use it for every row. Is this normal? I am assuming it would returns same results as an sql applied function with different values for each row.
Thanks.