-
Notifications
You must be signed in to change notification settings - Fork 409
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
Support read(filter, true)
in FilterBlockInputStream
#6810
Support read(filter, true)
in FilterBlockInputStream
#6810
Conversation
…ockInputStream Signed-off-by: Lloyd-Pottiger <[email protected]>
Signed-off-by: Lloyd-Pottiger <[email protected]>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Signed-off-by: Lloyd-Pottiger <[email protected]>
/run-all-tests |
Signed-off-by: Lloyd-Pottiger <[email protected]>
/run-integration-test |
Signed-off-by: Lloyd-Pottiger <[email protected]>
Signed-off-by: Lloyd-Pottiger <[email protected]>
Signed-off-by: Lloyd-Pottiger <[email protected]>
/run-all-tests |
Signed-off-by: Lloyd-Pottiger <[email protected]>
/run-unit-test |
Signed-off-by: Lloyd-Pottiger <[email protected]>
read(filter, true)
in FilterBlockInputStream
and ExpressionBlockInputStream
read(filter, true)
in FilterBlockInputStream
/run-integration-test |
Signed-off-by: Lloyd-Pottiger <[email protected]>
…hub.com:Lloyd-Pottiger/tiflash into support-return-filter-in-FilterBlockInputStream
Signed-off-by: Lloyd-Pottiger <[email protected]>
} | ||
chain.getLastActions()->add(ExpressionAction::project(project_cols)); |
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 prefer the original code.
Both have the same effect, but the original code is more readable.
Because the original code added the project action explicitly, instead of letting ExpressionActionChain::finalize add it implicitly.
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.
The original code get two same projection...
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.
ok..
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.
done
/cc @windtalker |
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.
Others LGTM
Signed-off-by: Lloyd-Pottiger <[email protected]>
@@ -13,14 +13,3 @@ | |||
# limitations under the License. | |||
|
|||
include_directories (${CMAKE_CURRENT_BINARY_DIR}) |
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.
this useless CMakeLists.txt can also be removed
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.
there is a gtest left, can not removed.
Signed-off-by: Lloyd-Pottiger <[email protected]>
/run-all-tests |
/merge |
@Lloyd-Pottiger: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 92c000d
|
Support
read(filter, true)
inFilterBlockInputStream
andExpressionBlockInputStream
Signed-off-by: Lloyd-Pottiger [email protected]
What problem does this PR solve?
Issue Number: ref #5829
Problem Summary:
What is changed and how it works?
read(filter, true)
inFilterBlockInputStream
.Why do this?
We will reuse the
filter
return byread(filter, true)
to filter out unnesscessary data packs when doing late materialization.Check List
Tests
replace Block
readImpl()
withand run unit test
./dbms/gtests_dbms --gtest_filter="FilterExecutorTestRunner*"
Side effects
Documentation
Release note