Nicolas Parot Alvarez
04/06/2023, 10:44 AMload_assets_from_dbt_manifest
with the select
argument?
We're trying to move out of load_assets_from_dbt_project
because of loading times, but the transition is not easy.
I'd like to see if there are working examples somewhere before I can tell if the problems are in my head or in the library.Adam Bloom
04/06/2023, 12:43 PMNicolas Parot Alvarez
04/06/2023, 12:45 PMNicolas Parot Alvarez
04/06/2023, 2:14 PMselect
does not behave the same between load_assets_from_dbt_project
and load_assets_from_dbt_manifest
.
My select looks like models/my_directory
as I want to load every model from a specific directory, this works fine with loading from project, but the same select doesn't work when loading from manifest.
I get this error message:
UserWarning: Error loading repository location load_from_manifest.pydagster. core.errors.DagsterInvalidSubsetError No dbt models match the selection string 'models/my_directory '.
Adam Bloom
04/06/2023, 2:38 PMdbt ls —-select
Adam Bloom
04/06/2023, 2:38 PMmodels/
portionNicolas Parot Alvarez
04/06/2023, 2:47 PMmodels/
indeed worked, thanks!
Though, this syntax is working with dbt ls
and with load_assets_from_dbt_project
, so there's an unexpected difference of behavior with load_assets_from_dbt_manifest
.sandy
04/06/2023, 5:54 PM