Kyle Montag
02/06/2024, 1:57 PMdagster-dbt
here's the details:
• two models, one named foo.bar
other named baz.bar
• dbt compile
/ dbt parse
runs without issue
• when i materialize foo.bar
via the dagster UI, the dagster-dbt
system picks the selector for baz.bar
looks to be related to [this](https://github.com/dagster-io/dagster/blob/ee5acad7526bf86fdf4c11d15e8332985973cde1/python_modules/libraries/dagster-dbt/dagster_dbt/utils.py#L[…]47) code, as it does split(".")[-1]
which would only grab the bar
part of my two model names. then it seems to grab the first matching entry from the manifest, which is baz.bar
because of alpha sorting.
any ideas on how to fix this properly? i'm happy to open a PR if this does seem to be the right spot to fix the issueKyle Montag
02/06/2024, 2:00 PMKyle Montag
02/06/2024, 4:19 PMrex
02/07/2024, 1:38 AMKyle Montag
02/07/2024, 5:23 PMrex
02/14/2024, 4:04 PM