8000 refactor: refactor query engine by Rachelint · Pull Request #1137 · apache/horaedb · GitHub
[go: up one dir, main page]

Skip to content

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

0