You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my source table, I have a column names called order and default. Therefore, in my staging model, I put - "\"order\"" in the hashdiff list, and in the v0 satellite, I put - "\"order\"", too.
However, the v1 satellite macro puts non-escaped ORDER and DEFAULT in the code. I fixed this by doing {{ datavault4dbt.sat_v1(yaml_metadata=yaml_metadata) | replace("DEFAULT", "\"DEFAULT\"") }} but that's merely a dirty hack.
Describe the bug
In my source table, I have a column names called
order
anddefault
. Therefore, in my staging model, I put- "\"order\""
in the hashdiff list, and in the v0 satellite, I put- "\"order\""
, too.However, the v1 satellite macro puts non-escaped
ORDER
andDEFAULT
in the code. I fixed this by doing{{ datavault4dbt.sat_v1(yaml_metadata=yaml_metadata) | replace("DEFAULT", "\"DEFAULT\"") }}
but that's merely a dirty hack.Environment
To Reproduce
Please provide:
Staging model:
V1 Satellite:
V1 Satellite:
Expected behavior
Column names are escaped in v1 satellite (if keyword). I'm fine with all being escaped.
The text was updated successfully, but these errors were encountered: