[Unit Testing] Support primative types + objects and arrays in dbt-bigquery #898
Closed
3 tasks done
Labels
feature:unit-tests
Issues related to built-in dbt unit testing functionality
type:enhancement
New feature or request
Core issue: dbt-labs/dbt-core#9467
Is this your first time submitting a feature request?
Describe the feature
Currently, the unit testing framework in core uses the
safe_cast
utils macro to convert a user-provided value for an input mock to the appropriate type. In some instances, thissafe_cast
may fail and need special handling depending on the type.The acceptance criteria for this issue is to introduce a test that provides coverage across all primative input types (and arrays & objects if possible!) for unit testing input data, potentially updating the
safe_cast
macro as necessary.Describe alternatives you've considered
No response
Who will this benefit?
No response
Are you interested in contributing this feature?
yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: