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

feat: adaptive cost model functionality working #174

Merged
merged 31 commits into from
Apr 30, 2024
Merged

Conversation

wangpatrick57
Copy link
Member

Summary: We are now executing the query in DataFusion after getting the estimated cardinality, so the functionality of the adaptive cost model is working.

Demo:
This is joblight 4a,4b,4c without --adaptive:
Screenshot 2024-04-30 at 10 07 34

This is joblight 4a,4b,4c with --adaptive:
Screenshot 2024-04-30 at 10 07 50

Details:

  • We had to use our own optimizer instead of DataFusion's so that we could correctly take the results and put them back into the memo.

wangpatrick57 and others added 30 commits April 27, 2024 14:53
@wangpatrick57 wangpatrick57 marked this pull request as ready for review April 30, 2024 14:11
@wangpatrick57 wangpatrick57 merged commit a368616 into main Apr 30, 2024
1 check passed
@wangpatrick57 wangpatrick57 deleted the phw2/df-execute branch April 30, 2024 15:32
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