clay
02/14/2023, 5:00 PMactivity_analytics
, core
, and recommender
.
In my case, let's say I have package1
and package2
. As with the example, all_assets
ends up being [*package1_assets, *package2_assets]
and is passed to Definitions
in the same way that the assets are in the linked example. If I go into dagit and launch a run to materialize all of the package1
and package2
assets, which are in different groups, all works fine.
However, if I modify the code to package2
and then update the git repository and restart dagster/dagit, the system no longer knows that the package1
assets were materialized, in spite of the fact that package1
did not change at all. I can understand that package2
would reset, however, I'd like to figure out how to set this up so that only the assets associated with the package that changed would need to be rematerialized for dagster to know about them.
Most of my work/assets is being pushed to Snowflake. Is this simply a matter of dagster not knowing how to find them on Snowflake? Or will all of the assets associated with all of the packages always reset when I push a code change to a single package?owen
02/14/2023, 7:03 PMclay
02/14/2023, 8:12 PMDefinitions
for the module changes? For instance, the additional of a job to the list of jobs?clay
02/14/2023, 8:13 PMowen
02/14/2023, 8:54 PMowen
02/14/2023, 8:55 PMclay
02/14/2023, 8:55 PMclay
02/14/2023, 8:56 PMclay
02/14/2023, 8:56 PMowen
02/14/2023, 9:02 PMclay
02/14/2023, 9:06 PMcore
, then the history for all of them would be wiped out. Or, if I added a 4th subfolder called clay
or something, and then added new assets/groups/jobs related to it, then the history for activity_analytics
, core
, and recommender
assets also would disappear upon restarting docker. Or... I think that's what's happening.
Thanks for the input. I will poke around with it more to see if I can determine what's going on.owen
02/14/2023, 9:09 PMpsql
, then checking the number of the rows in the event_logs
table should help determine if anything is actually getting deleted. I'm biased towards thinking that's very unlikely but I've been surprised before on these thingsclay
02/14/2023, 9:13 PMdaniel
02/14/2023, 9:25 PMdaniel
02/14/2023, 9:26 PMclay
02/14/2023, 9:27 PMdaniel
02/14/2023, 9:27 PMclay
02/14/2023, 9:28 PMclay
02/15/2023, 3:22 PMdaniel
02/15/2023, 3:22 PM