-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Unit Testing] Support primative types + objects and arrays in dbt-bigquery #1090
Closed
3 tasks done
Labels
enhancement
New feature or request
Comments
MichelleArk
changed the title
[Unit Testing] Support primative types + objects and arrays in dbt-snowflake
[Unit Testing] Support primative types + objects and arrays in dbt-bigquery
Feb 5, 2024
4 tasks
Hey @MichelleArk, is there a plan to support UDFs as well? I tried it and it doesn't work. It fails like that:
I couldn't find an opened issue for that need. Do you want me to make one? |
☝️ cc @colin-rogers-dbt (to confirm your team has on the radar 👀 ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 any non-STRUCT input types 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?
STRUCT support is out of scope for this initial leg of work.
The text was updated successfully, but these errors were encountered: