Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

refactor(core): separate cost model and stat estimation #209

Merged
merged 3 commits into from
Nov 3, 2024

Conversation

skyzh
Copy link
Member

@skyzh skyzh commented Nov 2, 2024

part of https://github.com/cmu-db/optd/issues/195

  • also refactors the adv-cost crate to purely support cardinality estimation
  • rewrite optimize input task to reduce dead code (which might have some effect on the plan output?)
  • use cargo run -p optd-sqlplannertest --bin planner_test_apply -- --enable-advanced-cost-model to experiment with the advanced cost model

@skyzh skyzh requested a review from jurplel November 2, 2024 00:58
Copy link
Member

@jurplel jurplel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning this up

@skyzh skyzh merged commit 29647f2 into main Nov 3, 2024
1 check passed
@skyzh skyzh deleted the skyzh/separate-cost-stat branch November 3, 2024 15:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants