EqualExperts / dbt-unit-testing

This dbt package contains macros to support unit testing that can be (re)used across dbt projects.
MIT License
413 stars 77 forks source link

compilation error when including macro ger_column_values #175

Closed WeihaoLiTW closed 5 months ago

WeihaoLiTW commented 11 months ago

Hi,

We found that the testing target model, which (or its upstream models) uses the macro dbt-utils.ger_column_values, will get the compilation error.

The error shows "'str object' has no attribute 'database'" image

Does someone know how we can fix it?

Thanks!

psousa50 commented 11 months ago

Hi @WeihaoLiTW, I'm not able to reproduce this, could you please send a code sample?

cdiniz commented 5 months ago

Closing due to inactivity. Happy to re-open if the issue is still happening.