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(cost-model): fix the epoch_id in store_cost #45

Merged
merged 2 commits into from
Nov 21, 2024
Merged

Conversation

lanlou1554
Copy link
Contributor

We shouldn't directly use the latest epoch_id in store_cost if the input epoch_id is None. Think about for the current physical expression, there has been already a valid cost with epoch_id e, and e is smaller than the latest epoch_id, the original code will have problems.
This PR fixes this.

@lanlou1554 lanlou1554 requested a review from xx01cyx November 21, 2024 17:41
@lanlou1554 lanlou1554 merged commit e25ff2c into main Nov 21, 2024
11 checks passed
@lanlou1554 lanlou1554 deleted the cost_model_orm branch November 21, 2024 21:29
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