Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: User-provided plan end must take precedence over the max interval end per model #3042

Merged

Conversation

izeigerman
Copy link
Member

The last backfilled interval for each model should only be take into account if no explicit end date was provided by a user. Otherwise the user provided value should always take precedence.

This resolves the issue for seed models that have been backfilled once, models with an end date, and models with a broad execution cadence (e.g., monthly) where the start date value ends up being greater than the end date value.

ValueError: Start date / time (2024-08-20 00:00:00+00:00) can't be greater than end date / time (1715126400000)

@izeigerman izeigerman requested a review from a team August 24, 2024 23:56
@izeigerman izeigerman force-pushed the fix-user-provided-end-over-max-interval-end-per-model branch from f2add93 to 9793f1d Compare August 24, 2024 23:58
@izeigerman izeigerman merged commit f50868b into main Aug 25, 2024
21 checks passed
@izeigerman izeigerman deleted the fix-user-provided-end-over-max-interval-end-per-model branch August 25, 2024 02:01
izeigerman added a commit that referenced this pull request Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants