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: return error while encountering unsupport from in influxql #745

Merged

Conversation

Rachelint
Copy link
Contributor

Which issue does this PR close?

Closes #

Rationale for this change

Now, we are unable to support from multiple measurements in influxql.
So, we should check and reject them.

What changes are included in this PR?

See title.

Are there any user-facing changes?

Will get error information while pass the influxql which selects from multiple measurement.

How does this change test

Test by ut.

@codecov-commenter
Copy link

codecov-commenter commented Mar 16, 2023

Codecov Report

Merging #745 (a494746) into main (56bb7b0) will increase coverage by 0.05%.
The diff coverage is 67.81%.

❗ Current head a494746 differs from pull request most recent head f6c6234. Consider uploading reports for the commit f6c6234 to get more accurate results

@@            Coverage Diff             @@
##             main     #745      +/-   ##
==========================================
+ Coverage   68.43%   68.49%   +0.05%     
==========================================
  Files         294      292       -2     
  Lines       45712    45401     -311     
==========================================
- Hits        31284    31096     -188     
+ Misses      14428    14305     -123     
Impacted Files Coverage Δ
server/src/http.rs 0.00% <0.00%> (ø)
server/src/server.rs 0.00% <0.00%> (ø)
sql/src/frontend.rs 0.00% <0.00%> (ø)
sql/src/influxql/mod.rs 100.00% <ø> (+100.00%) ⬆️
sql/src/planner.rs 91.96% <0.00%> (-0.06%) ⬇️
sql/src/tests.rs 88.00% <ø> (-5.81%) ⬇️
sql/src/influxql/planner.rs 55.43% <57.64%> (+55.43%) ⬆️
sql/src/influxql/provider.rs 78.40% <78.40%> (ø)

... and 2 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.

sql/src/influxql/mod.rs Outdated Show resolved Hide resolved
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

@Rachelint Rachelint added this pull request to the merge queue Mar 17, 2023
Merged via the queue into apache:main with commit cb43105 Mar 17, 2023
chunshao90 pushed a commit to chunshao90/ceresdb that referenced this pull request May 15, 2023
…che#745)

* return error while encountering unsupport from in influxql.

* address CR.
@Rachelint Rachelint deleted the unsupport-from-multi-tables-in-influxql 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.

None yet

3 participants