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: remove substrait ser/de for region query in standalone #3812

Conversation

MichaelScofield
Copy link
Collaborator

I hereby agree to the terms of the GreptimeDB CLA.

Refer to a related PR or issue link (optional)

What's changed and what's your intention?

close #3520

This PR makes the logical plan in region query request not always be serialized to and deserialized from substrait bytes, which is not necessary in standalone mode.

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR does not require documentation updates.

@MichaelScofield MichaelScofield requested review from v0y4g3r and a team as code owners April 26, 2024 11:54
@github-actions github-actions bot added the docs-not-required This change does not impact docs. label Apr 26, 2024
@MichaelScofield MichaelScofield force-pushed the refactor/no-serde-for-standalone-plan branch from ee45357 to 7e77982 Compare April 28, 2024 04:44
Copy link

codecov bot commented Apr 28, 2024

Codecov Report

Attention: Patch coverage is 96.42857% with 3 lines in your changes missing coverage. Please review.

Project coverage is 85.14%. Comparing base (5533bd9) to head (15c20f7).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3812      +/-   ##
==========================================
- Coverage   85.43%   85.14%   -0.30%     
==========================================
  Files         994      994              
  Lines      174348   174582     +234     
==========================================
- Hits       148958   148642     -316     
- Misses      25390    25940     +550     

@MichaelScofield MichaelScofield force-pushed the refactor/no-serde-for-standalone-plan branch from 7e77982 to 8aabf78 Compare April 29, 2024 05:57
@MichaelScofield MichaelScofield force-pushed the refactor/no-serde-for-standalone-plan branch from 8aabf78 to e8c9d37 Compare May 7, 2024 02:39
src/common/meta/src/node_manager.rs Outdated Show resolved Hide resolved
src/query/src/dist_plan/planner.rs Show resolved Hide resolved
@MichaelScofield MichaelScofield force-pushed the refactor/no-serde-for-standalone-plan branch 2 times, most recently from 48520a2 to 50ac605 Compare May 14, 2024 08:16
@MichaelScofield
Copy link
Collaborator Author

@evenyag @waynexia PTAL

@killme2008
Copy link
Contributor

@waynexia Please take a look.

@waynexia
Copy link
Member

I'm going to look into this after v0.8 release.

@MichaelScofield MichaelScofield force-pushed the refactor/no-serde-for-standalone-plan branch from 50ac605 to da59aee Compare May 28, 2024 05:11
@MichaelScofield
Copy link
Collaborator Author

@waynexia PTAL

@MichaelScofield MichaelScofield force-pushed the refactor/no-serde-for-standalone-plan branch from da59aee to 6cc8833 Compare June 3, 2024 09:05
@MichaelScofield MichaelScofield force-pushed the refactor/no-serde-for-standalone-plan branch from 6cc8833 to 333ce0f Compare June 6, 2024 10:25
@waynexia waynexia enabled auto-merge June 11, 2024 08:42
Signed-off-by: Ruihang Xia <[email protected]>
src/common/meta/Cargo.toml Outdated Show resolved Hide resolved
src/common/meta/Cargo.toml Outdated Show resolved Hide resolved
@waynexia waynexia added this pull request to the merge queue Jun 11, 2024
Merged via the queue into GreptimeTeam:main with commit 5a6021e Jun 11, 2024
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required This change does not impact docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove the unnecessary ser/de by substrait in standalone mode
4 participants