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 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.
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)
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: