-
Notifications
You must be signed in to change notification settings - Fork 101
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
Skip query result from rewritten queries #4633
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4633 +/- ##
=======================================
Coverage 87.46% 87.46%
=======================================
Files 1370 1370
Lines 57912 57915 +3
Branches 7210 7210
=======================================
+ Hits 50651 50655 +4
+ Misses 7092 7091 -1
Partials 169 169 ☔ View full report in Codecov by Sentry. |
Benchmark ResultMaster commit hash:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add tests if possible.
@@ -38,6 +41,7 @@ class Statement { | |||
|
|||
private: | |||
common::StatementType statementType; | |||
bool skipResult_; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would call this internal_
. And also comment, internal statements are those rewritten from input and whose result should not be rendered on client side.
Description
Query results from rewritten queries should only be kept as internal one, but not exposed as query result to users.