Skip to content
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 #898

Closed
3 tasks done
MichelleArk opened this issue Feb 5, 2024 · 0 comments · Fixed by #896
Closed
3 tasks done

[Unit Testing] Support primative types + objects and arrays in dbt-bigquery #898

MichelleArk opened this issue Feb 5, 2024 · 0 comments · Fixed by #896
Assignees
Labels
feature:unit-tests Issues related to built-in dbt unit testing functionality type:enhancement New feature or request

Comments

@MichelleArk
Copy link
Contributor

MichelleArk commented Feb 5, 2024

Core issue: dbt-labs/dbt-core#9467

Is this your first time submitting a feature request?

  • I have read the expectations for open source contributors
  • I have searched the existing issues, and I could not find an existing issue for this feature
  • I am requesting a straightforward extension of existing dbt-snowflake functionality, rather than a Big Idea better suited to a discussion

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, this safe_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

@MichelleArk MichelleArk self-assigned this Feb 5, 2024
@dbeatty10 dbeatty10 added the feature:unit-tests Issues related to built-in dbt unit testing functionality label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:unit-tests Issues related to built-in dbt unit testing functionality type:enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants