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: drop support of physical plan query interface #714

Merged
merged 3 commits into from
Dec 6, 2022

Conversation

waynexia
Copy link
Member

@waynexia waynexia commented Dec 6, 2022

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

This refactor mainly removes the query interface with DataFusion Physical Plan, which is added in #212 by @Fengys123 . As now frontend and datanode are communicating with logical plan (implemented in #704), we do not need to support physical plan. And it can also alleviate the work on migrating datafusion in #555

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

@codecov
Copy link

codecov bot commented Dec 6, 2022

Codecov Report

Merging #714 (1b88fe2) into develop (2034b40) will increase coverage by 0.00%.
The diff coverage is 80.97%.

@@            Coverage Diff            @@
##           develop     #714    +/-   ##
=========================================
  Coverage    86.03%   86.03%            
=========================================
  Files          451      448     -3     
  Lines        58586    58247   -339     
=========================================
- Hits         50402    50113   -289     
+ Misses        8184     8134    -50     
Flag Coverage Δ
rust 86.03% <80.97%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/api/src/serde.rs 100.00% <ø> (ø)
src/client/src/database.rs 80.54% <ø> (+5.43%) ⬆️
src/common/grpc/src/lib.rs 100.00% <ø> (ø)
src/datanode/src/instance.rs 31.46% <ø> (-11.00%) ⬇️
src/datanode/src/instance/grpc.rs 72.93% <ø> (+2.12%) ⬆️
src/datanode/src/mock.rs 99.17% <ø> (-0.02%) ⬇️
src/datanode/src/server/grpc.rs 80.80% <80.80%> (ø)
src/common/grpc/src/error.rs 90.90% <100.00%> (-4.96%) ⬇️
src/object-store/src/test_util.rs 0.00% <0.00%> (-100.00%) ⬇️
... and 8 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Contributor

@killme2008 killme2008 left a comment

Choose a reason for hiding this comment

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

LGTM

@killme2008 killme2008 merged commit 90c832b into GreptimeTeam:develop Dec 6, 2022
@waynexia waynexia deleted the remove-physical-plan branch December 7, 2022 09:23
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
…#714)

* refactor: drop support of physical plan query interface

Signed-off-by: Ruihang Xia <[email protected]>

* refactor: collapse server/grpc sub-module

Signed-off-by: Ruihang Xia <[email protected]>

* refactor: remove unused errors

Signed-off-by: Ruihang Xia <[email protected]>

Signed-off-by: Ruihang Xia <[email protected]>
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.

3 participants