-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add valid start time check to materialized time partitions subsets (#…
…12403) User reported a negative number of missing partitions in dagit: https://dagster.slack.com/archives/C01U954MEER/p1676368552724739 We originally checked for partition key validity while iterating through time windows in time window subset construction. Recent changes made it possible to add partition keys without iterating through time windows. In backcompat cases for fetching materialized partitions, constructing the subset did not check for validity subsequently causing the materialized partitions subset to contain partition keys that were out of the valid time window range. This PR makes a fix for this case and adds a test.
- Loading branch information
1 parent
532ced5
commit cf0779b
Showing
4 changed files
with
25 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters