[ADAP-874] [Bug] Columns are unquoted with nested data (incremental + time_ingestion_partitioning) #913
Closed
2 tasks done
Labels
bug
Something isn't working
incremental
partitioning
Related to creating, replacing, or pruning partitions to avoid full table scans
Is this a new bug in dbt-bigquery?
Current Behavior
It looks like the DDL that creates the target incremental table does not quote all the columns/fields in a stuct by default - this causes columns/fields that use reserve keywords (i.e.
group
) to fail.Expected Behavior
We should generate a statement where all columns are quoted.
Steps To Reproduce
Relevant log output
Environment
Additional Context
The debug logs show:
but we should instead be doing:
Couple of other things I looked at or attempted without success:
(A) Setting the
quote
property - I didn't find a way to actually set that property properly.(B) Using contracts /
data_type
:The text was updated successfully, but these errors were encountered: