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
Tested with dbt-meshify==0.5.3 as 0.5.4 seems to be broken, at least on my machine.
Running dbt-meshify split reference_data --select "group:xyz" -r returns the error Exception: Unable to find a macro block with the name abcdef. when the macro abcdef is actually in the file
Describe the bug
Tested with dbt-meshify==0.5.3 as 0.5.4 seems to be broken, at least on my machine.
Running
dbt-meshify split reference_data --select "group:xyz" -r
returns the errorException: Unable to find a macro block with the name abcdef.
when the macro abcdef is actually in the fileSteps to reproduce
Use case 1
Create a macro with the following code
The regex here doesn't "find" the macro.
Use case 2
Create a generic test like this
The same piece of code searches the file for
block_type = "macro"
andname = "test_my_test"
, so it raises an Exception as well.Suggestion
Here, replace
by
The handling of test/macro is ugly and should be done better, but at least, on the dbt project I am testing, it works!
The text was updated successfully, but these errors were encountered: