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
If a versioned model is nested in one or more subdirectories, it can't be selected by name, v{v}, etc.
Expected behavior:
dbt list -s dim_customers --> all
dbt list -s dim_customers.* --> all
dbt list -s dim_customers.v1 --> v1 only
dbt list -s *.v1 --> any model with v1
Current behavior:
None of the above work, but it does work when I add in the * wildcards:
dbt ls -s *.dim_customers.* --> all
dbt ls -s *.dim_customers.v1 --> v1 only
Weirdly, I could've sworn this was working when I was trying out #7287. Worth adding some tests. Realized that this only happens for a model defined in a subdirectory, rather than top-level in the models/ folder.
The text was updated successfully, but these errors were encountered:
jtcohen6
changed the title
[CT-2409] [Bug] FQN selection for versioned models
[CT-2409] [Bug] FQN selection for versioned models in subdirectory
Apr 13, 2023
If a versioned model is nested in one or more subdirectories, it can't be selected by
name
,v{v}
, etc.Expected behavior:
Current behavior:
None of the above work, but it does work when I add in the
*
wildcards:Weirdly, I could've sworn this was working when I was trying out #7287. Worth adding some tests.Realized that this only happens for a model defined in a subdirectory, rather than top-level in themodels/
folder.The text was updated successfully, but these errors were encountered: