ScalefreeCOM / datavault4dbt

Scalefree's dbt package for a Data Vault 2.0 implementation congruent to the original Data Vault 2.0 definition by Dan Linstedt including the Staging Area, DV2.0 main entities, PITs and Snapshot Tables.

Home Page:https://www.scalefree.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Columns with spaces breaks satellites

cjpotgieter opened this issue · comments

On branch sqlserver:

If you have column names with spaces in them, for example "start time", this seems to get handled correctly in hubs, links and stage models. However, the satellites do not add quotation marks when it builds the select statements even though in the model definition these columns are enclosed with quotation marks ("")

I closed this because the following workaround works:
If you define the model with for example

"[start time]" then it will handle the columns correctly

The v1 views still break even if I have added the columns as "[]" in the v0 definitions. Maybe there is a workaround?