all fields in BigQuery struct
need to be specified in a unit test
#5331
Labels
Milestone
struct
need to be specified in a unit test
#5331
After getting insights from @MichelleArk, we believe we should probably document this as a known limitation, and I've opened #5307 as a result.
All fields in a BigQuery
struct
need to be specified in a unit test -- it's not currently possible to use only a subset of columns in astruct
.But we agree that we'd like to support this.
To support this, it would probably take writing some
struct
-specific handling of missing fields in thesafe_cast
method.Workaround
Include all the fields in a BigQuery
struct
within the unit test.Originally posted by @dbeatty10 in dbt-labs/dbt-bigquery#1184 (comment)
The text was updated successfully, but these errors were encountered: