Open vincentclaes opened 2 months ago
Hi @vincentclaes , thank you for opening this up! It seems like at the moment, we only support data types that:
information_schema.columns
query (or equivalent), andSo we are going to do two things related to this issue:
Is this a new bug in dbt-core?
Current Behavior
Whenever my source table has a postgres hstore column type, the unittests will fail with a message like
It has either USER or USER-DEFINED in it and i figured out it always points to an hstore column.
Expected Behavior
That my tests would run without an issue. Definitely if you do not specify the column in your tests. Or is there a way to mock the input table so we can omit the hstore column?
Steps To Reproduce
Relevant log output
Environment
Which database adapter are you using with dbt?
postgres
Additional Context
dbt unit test:
dbt model
it even fails with the same message if I simplify to