You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@cmcarthur I've been using rewrite-materializations-1 and in general things have been working well. I was able to get my equality schema test up and running when I defined it in my local project. However, when I went to refactor it out into a shared utils project, it failed to run. Here are a bunch of details.
Console:
(venv) Tristans-MBP:analytics tristan$ dbt test --models table_a
Found 111 models, 122 tests, 0 archives, 0 analyses, 29 macros, 1 operations
16:05:01 | Concurrency: 4 threads (target='dev')
16:05:01 |
16:05:01 | 1 of 1 START test equality_table_a_ref_table_b_...................... [RUN]
16:05:01 | 1 of 1 ERROR equality_table_a_ref_table_b_........................... [ERROR in 0.01s]
! Compilation error while compiling test equality_table_a_ref_table_b_:
! 'test_equality' is undefined
Completed with 1 errors:
- ERROR in test my_schema.equality_table_a_ref_table_b_ (None)
Done. PASS=0 ERROR=1 SKIP=0 TOTAL=1
I can't link you to the actual place where it's failing because I have it implemented in a branch of a client project and have the tests build out using their data, but I can show you tomorrow.
The strangest thing about this is that it's clear from looking at the logs that dbt can see that file! Look at this:
@cmcarthur I've been using
rewrite-materializations-1
and in general things have been working well. I was able to get my equality schema test up and running when I defined it in my local project. However, when I went to refactor it out into a shared utils project, it failed to run. Here are a bunch of details.Console:
Link to my utility repo:
https://github.com/fishtown-analytics/dbt-utils
I can't link you to the actual place where it's failing because I have it implemented in a branch of a client project and have the tests build out using their data, but I can show you tomorrow.
The strangest thing about this is that it's clear from looking at the logs that dbt can see that file! Look at this:
I'm not sure why it's able to parse it but then it's not able to find it later.
/cc @drewbanin
The text was updated successfully, but these errors were encountered: