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

fix: test_not_null_proportion support on athena #19

Merged
merged 1 commit into from
May 20, 2024
Merged

fix: test_not_null_proportion support on athena #19

merged 1 commit into from
May 20, 2024

Conversation

Jrmyy
Copy link
Member

@Jrmyy Jrmyy commented May 15, 2024

Problem

The issue is that for this test dbt_utils uses a cast(... as numeric) which does not exist in athena (https://github.com/dbt-labs/dbt-utils/blob/main/macros/generic_tests/not_null_proportion.sql#L19)

Solution

I created the same macro but use a cast a double to work with Athena

@nicor88
Copy link
Member

nicor88 commented May 15, 2024

@Jrmyy could you provide a description to your PR and the reason that lead to the solution? Thanks

@Jrmyy
Copy link
Member Author

Jrmyy commented May 15, 2024

@nicor88 done ✅

@Jrmyy Jrmyy merged commit b3d2e12 into dbt-athena:main May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants