-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
refactor: split relation of planner into one part. #4829
Conversation
@alamb @liukun4515 PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me @jackwener -- I verified that just code was moved and that no tests were changed
Thank you so much
I think this PR is relatively uncontroversial and is likely to accumulate / cause conflicts, but I plan to wait to merge until @andygrove cuts the release #4776 hopefully later today to avoid introducing last minute churn.
BTW @jackwener another thing I noticed was that the sql planner tests could probably be put into you plan to move the tests into something like |
I will take a look later |
Thanks @alamb, I have finished it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again @jackwener
I double checked to make sure the tests still run now that they are moved to a different module:
...
Running tests/integration_test.rs (target/debug/deps/integration_test-02f1355111e126c1)
running 231 tests
test aggregate_with_cube ... ok
test aggregate_with_grouping_sets ... ok
test aggregate_with_rollup_with_grouping ... ok
test aggregate_with_rollup ... ok
test approx_median_window ... ok
test boolean_literal_in_condition_expression ... ok
test cast_from_subquery ... ok
test create_external_table_csv ... ok
test cast_to_invalid_decimal_type ... ok
test create_external_table_custom ... ok
test create_external_table_csv_no_schema ... ok
test create_external_table_parquet ... ok
test create_external_table_parquet_no_schema ... ok
test create_external_table_with_compression_type ... ok
test cte_unbalanced_number_of_columns ... ok
test cross_join_not_to_inner_join ... ok
...
Since this PR has a large potential for conflicts and I think it is uncontroversial as it is mechanical (it moves code around and we can always move it back if that is deired) I am going to merge it and I think we can deal with follow up
Thanks @liukun4515
Benchmark runs are scheduled for baseline = 8c1fb87 and contender = 3cc607d. 3cc607d is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Which issue does this PR close?
Closes #4392.
FOLLOWUP #4783
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?