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

integrate cost model better with datafusion+optd #195

Open
skyzh opened this issue Oct 27, 2024 · 0 comments
Open

integrate cost model better with datafusion+optd #195

skyzh opened this issue Oct 27, 2024 · 0 comments

Comments

@skyzh
Copy link
Member

skyzh commented Oct 27, 2024

  • persist statistics somewhere inside the execution engine (i.e., persist base table statistics in datafusion catalog?)
  • implement analyze command + executor to compute base table statistics
skyzh added a commit that referenced this issue Nov 3, 2024
part of #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

---------

Signed-off-by: Alex Chi <[email protected]>
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

No branches or pull requests

1 participant