-
Notifications
You must be signed in to change notification settings - Fork 751
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
feature(planner): Enable new planner by default #5649
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Thanks for the contribution! Please review the labels and make any necessary changes. |
bafab31
to
6233bd1
Compare
c1e439b
to
26d5e5e
Compare
@BohuTANG Is there any difference between executing in standalone test and cluster test(e.g. with different connector)? Seems it won't use new planner in cluster test. |
@leiysky There is |
Thanks, I didn't notice that. |
6769d4b
to
ac4acbe
Compare
Hi @leiysky Found many test cases are modified for the new planner. |
Actually, you can find that most of the disabled test cases are the cases expected to fail. The reason why we have to disable them is we don't parse The major difference between new planner and old planner are:
|
Ok, if some users who already used databend in production, and upgrade to the new version(enable the new planner), does it also works for them? For example: |
However the new processor has been enabled by default, so it doesn't matter if we enable the new planner by default. Users can utilize with distributed query by disabling new processor, the planner will fallback to old planner as well. |
0ffc669
to
f96bbc5
Compare
f96bbc5
to
09a93f5
Compare
09a93f5
to
11106ef
Compare
I am testing this PR with Ontime query: For Q4, it does not work:
|
This is by design, we only allow to order by a column for now, to keep it more readable. You can give |
I convert to the draft. |
From some tests, I don't think it's a good time to set the new planner by default to |
I think it's fine not to enable the new planner by default for now. And there is no need to open a new branch for it. |
ontime performance test very easy OOM. Serious performance degradation. New Planner Q1: 50.206s
|
I'll take a look. |
We can have another stateless-test to test the new planner by default. |
This pull request's description is not fulfill the requirements. @leiysky please update it 🙏. The description should contain the following:
|
Hi, is this PR still going on? How about closing it until we are ready to start again? |
Looks like in #6440? |
It should be resolved by #6644. Let's close. |
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
Change default value of setting item
enable_planner_v2
to1
.To achieve this, we have to modify some test cases, to make it compatible with new planner framework.
Changelog
Related Issues
Close #3747