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

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 referenced this issue Nov 3, 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

---------

Signed-off-by: Alex Chi <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant