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
Using the dbt-fabric adapter, ODBC Driver 18 for SQL Server. I just tested the model generator from a source file, and got all column names generated as
select
{{ adapter.quote("column_name") }},
....
from source
which shows up in the compiled dbt preview as
select
"column_name",
....
from source
when it should be
select
[column_name],
....
from source
in T-SQL right?
This is the first table I have tested the model generator on, otherwise the dbt environment works as expected.
EDIT:
After some searching it seems that SQL Server accepts both [column name] and "column name" as qual quoted identifiers? In the T-SQL documentation I have seen nothing but bracket delimiters.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Using the dbt-fabric adapter, ODBC Driver 18 for SQL Server. I just tested the model generator from a source file, and got all column names generated as
which shows up in the compiled dbt preview as
when it should be
in T-SQL right?
This is the first table I have tested the model generator on, otherwise the dbt environment works as expected.
EDIT:
After some searching it seems that SQL Server accepts both
[column name]
and"column name"
as qual quoted identifiers? In the T-SQL documentation I have seen nothing but bracket delimiters.Beta Was this translation helpful? Give feedback.
All reactions