Unit testing on relations with a float column broken? #775
mattsmith123
started this conversation in
General
Replies: 1 comment
-
Note: I was able to work around this by using a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm attempting to write dbt unit tests on a relation with a float column. dbt wants to create fixture data by querying the table schema from the adapter and then using that to generate select statements with TRY_CAST calls to coerce the fixture data from the unit test YAML to the relation's type.
The tricky part is that the adapter returns
float
and because TRY_CAST is technically a DML operation Athena expectsreal
.Are there any work arounds for this?
Beta Was this translation helpful? Give feedback.
All reactions