Is there an existing issue for this?
Current Behavior
In dremio I have the support key 'dremio.store.file.file-field-enabled' enabled which appends a column named '$file' to queries. This column lets me see the file source the data is coming from when querying object storage. After updating this package to 1.8.0 I now get an error when running incremental updates related to a special character within a column name
ERROR: Encountered "( DBT_INTERNAL_SOURCE.$file" at line 25, column 9.
Expected Behavior
Quotes around the column names.
Steps To Reproduce
No response
Environment
- OS:Ubuntu 22.04
- dbt-dremio:1.8.0
- dbt-core: 1.8.7
- Dremio Cloud: N/A
Relevant log output
merge into "unified"."test" as DBT_INTERNAL_DEST
using "unified"."test__dbt_tmp" as DBT_INTERNAL_SOURCE
on (
DBT_INTERNAL_SOURCE.id = DBT_INTERNAL_DEST.id
)
when matched then update set
"$file" = DBT_INTERNAL_SOURCE."$file","author" = DBT_INTERNAL_SOURCE."author","content" = DBT_INTERNAL_SOURCE."content","created_at" = DBT_INTERNAL_SOURCE."created_at","id" = DBT_INTERNAL_SOURCE."id"
when not matched then insert
("$file", "author", "content", "created_at", "id")
values
(DBT_INTERNAL_SOURCE.$file,DBT_INTERNAL_SOURCE.author,DBT_INTERNAL_SOURCE.content,DBT_INTERNAL_SOURCE.created_at,DBT_INTERNAL_SOURCE.id)
Is there an existing issue for this?
Current Behavior
In dremio I have the support key 'dremio.store.file.file-field-enabled' enabled which appends a column named '$file' to queries. This column lets me see the file source the data is coming from when querying object storage. After updating this package to 1.8.0 I now get an error when running incremental updates related to a special character within a column name
Expected Behavior
Quotes around the column names.
Steps To Reproduce
No response
Environment
Relevant log output