Dennis Gera04/14/2023, 7:41 PM
already separate my dbt models with custom schemas as separate assets?
Tim Castillo04/14/2023, 7:44 PM
Dennis Gera04/14/2023, 8:44 PM
2. I want to create jobs using
where I can make select statements and exclude statements from the dbt loaded manifest asset. I was trying to do this via AssetSelection.groups and .keys but had different results compared to creating a specific asset using
where I could specify select and exclude statements.
, each one with different select and exclude statements, and then loading them to the repo definition. I’m not sure this is the best way to do this
Tim Castillo04/14/2023, 8:50 PM
parameter on the
function. If you'd like to organize the groups, there is also the
, then you map your models to the exact execution groups, and your Asset Selection will just be that entire group. And finally, have you seen the docs on the asset selection syntax? If not, would this be helpful?
Dennis Gera04/14/2023, 8:53 PM
Tim Castillo04/14/2023, 9:03 PM
returns an asset key, which can be built like these examples. And
just expects a string back and it'll create/add it to the group.
that selects specific models. 😅 We'd like to avoid that pattern and we're working on the ergonomics to prevent it, but I think in your case, you shouldn't need to.
Dennis Gera04/14/2023, 9:08 PM
represent the same thing
Tim Castillo04/14/2023, 9:24 PM
Dennis Gera04/14/2023, 9:36 PM
Tim Castillo04/14/2023, 9:37 PM
Dennis Gera04/14/2023, 10:26 PM