geoHeil
07/09/2022, 10:08 AMmodels:
target:
# Config indicated by + and applies to all files under models/example/
example:
+materialized: view
example
directory to an asset group - which is colliding with my manual mapping 1) when the names are different 2) when they are the same as it is only allowed to set the group once.foo
and bar
which should both show up in dagit as asset groups named foo and bar and a sql_dbt
directory with a sub folder also for models specific to foo and bar how can I get the respective python and DBT assets to show up in the same asset group?sandy
07/11/2022, 3:01 PMowen
07/11/2022, 4:42 PMgeoHeil
07/11/2022, 8:53 PMsource.yaml
specifies mydatabase.mytable
the mydatabase
is translated to an implicit asset group which may or may not exist - even when not specifying any additional keys when loading the DBT assets.owen
07/11/2022, 11:44 PMAssetKey(["mydatabase", "mytable"])
, in dagit, this would show up as a source asset without a definition (basically just some grey text, rather than a box), and this key would not be associated with any asset group -- is that matching up to what you're seeing or is something else happening?geoHeil
07/12/2022, 5:40 AMmarketing
both times. In such a case then even though the data is flowing in a DAG from a-z the lineage will be broken and a source asset will be created. Assuming my assetgroup foo with prefix bar is writing data to a database in schema bar then the source.yaml is bar.mytable but dagit right now would also expect this to be in asset group bar.