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

refactor: refactor query engine #1137

Merged
merged 11 commits into from
Aug 7, 2023

Conversation

Rachelint
Copy link
Contributor

@Rachelint Rachelint commented Aug 5, 2023

Rationale

Close #1136
Part of #1112

The query engine impl now is too messy, you can #1136 . Worse, it can't support physical plan's remote execution, which is necessary for #1112.

In this pr, I refactor it for solving problems mentioned above.

Detailed Changes

  • Split physical plan and physical planner's trait definition and impl.
  • Split physical plan's creation and execution.
  • Modify the call path for making it runable again.

Test Plan

Test by exist tests.

@Rachelint Rachelint force-pushed the refactor-the-query-engine branch from 8599043 to b73eefc Compare August 5, 2023 12:47
@Rachelint Rachelint force-pushed the refactor-the-query-engine branch from d18bbf2 to b0536b8 Compare August 5, 2023 13:00
@Rachelint Rachelint marked this pull request as ready for review August 5, 2023 13:34
@tanruixiang
Copy link
Member

It's strange that even though I retried CI, it still skipped the unit test.

@tanruixiang tanruixiang changed the title chore: refactor query engine refactor: refactor query engine Aug 7, 2023
@ShiKaiWi
Copy link
Member

ShiKaiWi commented Aug 7, 2023

@Rachelint This PR looks good to me. Let's merge it after the ci is fixed.

Copy link
Member

@ShiKaiWi ShiKaiWi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ShiKaiWi ShiKaiWi merged commit cd175e2 into apache:main Aug 7, 2023
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.

The originazation of query engine crate is too messy
3 participants