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

feat: reuse logical planner in influxdb_iox #730

Merged
merged 6 commits into from
Mar 16, 2023

Conversation

Rachelint
Copy link
Contributor

Which issue does this PR close?

Closes #724

Rationale for this change

Reust logical planner in influxdb_iox.
See detail

What changes are included in this PR?

See title.

Are there any user-facing changes?

None.

How does this change test

Test by ut.

@Rachelint Rachelint force-pushed the reuse-influxql-logical-planner branch from a3271a9 to ff85e0b Compare March 14, 2023 06:58
@codecov-commenter
Copy link

codecov-commenter commented Mar 14, 2023

Codecov Report

Merging #730 (7ddca70) into main (56bb7b0) will increase coverage by 0.03%.
The diff coverage is 69.83%.

❗ Current head 7ddca70 differs from pull request most recent head 049533a. Consider uploading reports for the commit 049533a to get more accurate results

@@            Coverage Diff             @@
##             main     #730      +/-   ##
==========================================
+ Coverage   68.43%   68.47%   +0.03%     
==========================================
  Files         294      292       -2     
  Lines       45712    45326     -386     
==========================================
- Hits        31284    31036     -248     
+ Misses      14428    14290     -138     
Impacted Files Coverage Δ
sql/src/frontend.rs 0.00% <0.00%> (ø)
sql/src/influxql/mod.rs 100.00% <ø> (+100.00%) ⬆️
sql/src/influxql/planner.rs 0.00% <0.00%> (ø)
sql/src/planner.rs 91.96% <0.00%> (-0.06%) ⬇️
sql/src/tests.rs 88.00% <ø> (-5.81%) ⬇️
sql/src/influxql/provider.rs 76.94% <76.94%> (ø)

... and 3 files with indirect coverage changes

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

@Rachelint Rachelint force-pushed the reuse-influxql-logical-planner branch 2 times, most recently from cb476be to e43065a Compare March 14, 2023 13:17
@Rachelint Rachelint force-pushed the reuse-influxql-logical-planner branch from e43065a to 17d005a Compare March 14, 2023 13:18
@Rachelint Rachelint marked this pull request as ready for review March 14, 2023 13:18
@Rachelint Rachelint force-pushed the reuse-influxql-logical-planner branch from c06b490 to ac63dbd Compare March 15, 2023 05:55
sql/src/planner.rs Outdated Show resolved Hide resolved
sql/src/influxql/planner.rs Outdated Show resolved Hide resolved
sql/src/influxql/provider.rs Show resolved Hide resolved
sql/src/influxql/provider.rs Outdated Show resolved Hide resolved
sql/src/influxql/provider.rs Outdated Show resolved Hide resolved
sql/src/influxql/provider.rs Outdated Show resolved Hide resolved
sql/src/influxql/provider.rs Outdated Show resolved Hide resolved
sql/src/influxql/provider.rs Outdated Show resolved Hide resolved
@Rachelint Rachelint force-pushed the reuse-influxql-logical-planner branch 2 times, most recently from 67b58b7 to 3d13d49 Compare March 16, 2023 02:38
@Rachelint Rachelint force-pushed the reuse-influxql-logical-planner branch from 3d13d49 to eb189a0 Compare March 16, 2023 02:51
@ShiKaiWi
Copy link
Member

@Rachelint I'm OK with this PR. Let's wait for suggestions from @jiacai2050.

Copy link
Contributor

@jiacai2050 jiacai2050 left a comment

Choose a reason for hiding this comment

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

LGTM

@jiacai2050 jiacai2050 added this pull request to the merge queue Mar 16, 2023
Merged via the queue into apache:main with commit d8f652b Mar 16, 2023
chunshao90 pushed a commit to chunshao90/ceresdb that referenced this pull request May 15, 2023
* reust logical planner in influxdb_iox.

* fix clippy.

* add tests.

* fix integration test.

* address CR.
@Rachelint Rachelint deleted the reuse-influxql-logical-planner branch May 27, 2023 12:18
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.

Reuse the logical planner in influxdb_iox
4 participants