-
Notifications
You must be signed in to change notification settings - Fork 146
Description
Describe the bug
When I set the flag for the materialization_v2 to true in my project, one of my models does not build anymore.
It is to note, that it has a struct-column with nested fields/arrays and is generally pretty huge.
Steps To Reproduce
Probably create a model with a struct column which is huge, with different data types and nested.
Expected behavior
The model should build successfully
Screenshots and log output
14:15:26 Finished running 2 incremental models, 33 seeds, 74 table models, 61 view models in 0 hours 5 minutes and 4.35 seconds (304.35s).
14:15:28
14:15:28 Completed with 1 error, 0 partial successes, and 0 warnings:
14:15:28
14:15:28 Failure in model offer_output (models/offer/offer_output.sql)
14:15:28 Database Error in model offer_output(models/offer/offer_output.sql)[PARSE_SYNTAX_ERROR] Syntax error at or near '.'. SQLSTATE: 42601 (line 18, pos 769)
[PARSE_SYNTAX_ERROR] Syntax error at or near '.'. SQLSTATE: 42601 (line 18, pos 769)
(I won't output the complete sql because it is internal, but the part which is marked as error)
payload struct<created_at:date,[imagine here inbetween a big subset of columns],subvention:double,reference_date:date,... 9 more fields>,
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^request string,
....
System information
The output of dbt --version
:
dbt-databricks==1.10.3
dbt-core==1.10.1
The operating system you're using:
It's running inside a azure databricks notebook; Custer Version 16.4 LTS
Additional context
Add any other context about the problem here.