Open psarka opened 6 months ago
@OwenKephart assigning this issue to you, but i can also take a look and put up a PR if it doesn't look too complicated to fix
Hi @psarka, thanks for tracking down the source of this, and sorry you ran into this. We're in the middle of a large set of changes to the core system, which as a byproduct should ideally make bugs like this harder to accidentally happen. We can get a fix for this behavior into one of the next two releases.
Dagster version
1.7.2
What's the issue?
If you have an asset starting on date D, automaterialize it, then change D to D-1, auto-materialization daemon will rerun all the partitions.
What did you expect to happen?
I expect it to only run the new partition
How to reproduce?
I can create a repro if needed.
Deployment type
None
Deployment details
No response
Additional information
I know why it happens.
MaterializeOnMissingRule
has a methodget_handled_subset
. That method returns three subsets "or"ed together. When extending partition, one of them starts having different parititions_def, and "or" method in such case returns empty subset. Like that:Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.