John Smith
08/01/2023, 12:17 AMin_process_executor
should behave? having set Definitions(executor=in_process_executor)
I was expecting all my assets and partitions to materialize in the same process, but yet, each partition and each asset still runs in its own process. I double checked the logs and each run had its own different PIDZach
08/01/2023, 1:54 AMin_process_executor
is for making sure all ops or assets within a single job run execute within a single process. Different runs will use different processes - Dagster doesn't keep a thread alive within which each run is launched. Partitions seem to generally be calculated in different runs, unless you're doing a backfill where you send multiple partitions to a single run. There may be other ways to yield multiple partitions from a single run but I'm not super knowledgable on partitions.John Smith
08/01/2023, 6:08 PMZach
08/01/2023, 6:36 PMZach
08/01/2023, 6:38 PMHolger Bruch
08/03/2023, 6:27 PMZach
08/03/2023, 6:44 PM