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
$ dbt run --select path.to.my.models # runs all models in a specific directory
$ dbt run --select path/to/models # run models contained in path/to/models
$ dbt run --select path/to/my_model.sql # run a specific model by its path
Ultimately, in our parsers, we should be able to have a new parameter that looks something like this:
# (only select or exclude parameter would be specified with staging dir not both)jaffle_shop=DbtTaskGroup(
...
select={"paths": ["../models/staging"]} # runs all models in the staging directory,exclude={"paths": ["../models/staging"]} # runs all models in except the staging directory
)
The text was updated successfully, but these errors were encountered:
chrishronek
changed the title
Create an Airflow DAG/Task Group by using path selector
Create an Airflow DAG/Task Group by using Path selector
Jan 23, 2023
How applicable is this? Isn't this already being done with the dbt_project_name parameter of the parsers? I can't imagine a use case where this is useful?
Jaffle Shop has a staging sub-directory in the project so we'll use that. Also MG gave a good use case of how to do this.
chrishronek
changed the title
Create an Airflow DAG/Task Group by using Path selector
Add support for "Path" select/exclude to DbtDag & DbtTaskGroup parsers
Jan 24, 2023
See dbt docs on cli usage examples here
Ultimately, in our parsers, we should be able to have a new parameter that looks something like this:
The text was updated successfully, but these errors were encountered: