King Chung Huang
07/10/2020, 4:46 PMlocal
and remote
configs. Now, I want to add partitions to this. The PartitionSetDefinition
takes a run_config_fn_for_partition
function that returns a config. But, there's no way to know what the current config is in the function. Whatever I return complete replaces the preset configs.
In Dagit, the dropdown in the playground shows presets and partition sets as mutually exclusive selections. I was anticipating being able to select a preset, and then which partition to operate on. Therefore, the pipeline config would be a preset config merged with a partition config. Is this possible to do?prha
07/10/2020, 4:47 PMrun_config_fn_for_partition
by loading the config from the static preset they want to use and then overriding certain fields. @sashank might be able to confirm…catalog_partitioned_local
and catalog_partitioned_remote
)King Chung Huang
07/10/2020, 4:56 PMprha
07/10/2020, 4:58 PMKing Chung Huang
07/10/2020, 5:00 PMlocal
preset, and then have the PartitionSetDefinition
only return the specific partition config, which Dagster would merge into the config.