expression: Push down group concat to TiFlash#24778
expression: Push down group concat to TiFlash#24778ti-chi-bot merged 27 commits intopingcap:masterfrom
Conversation
|
[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. DetailsReviewer can indicate their review by submitting an approval review. |
|
Please follow PR Title Format:
Or if the count of mainly changed packages are more than 3, use
|
0558148 to
1bead62
Compare
expression/aggregation/agg_to_pb.go
Outdated
There was a problem hiding this comment.
I think since we already add orderBy field in pb expression, agg_to_pb can support OrderByItems for any aggregation functions. If an aggregation function with OrderByItems is not functionally supported by TiKV or TiFlash, it should be filtered out by function CheckAggPushDown
There was a problem hiding this comment.
so we can not check it here?
There was a problem hiding this comment.
Agreed with windtalker. This check is unnesessary.
There was a problem hiding this comment.
maybe add a new function CheckAggPushTiKV?
There was a problem hiding this comment.
yes, we can implement CheckAggPushTiKV after more cases, but now this case exists only for groupConcat, so I do not implement it.
There was a problem hiding this comment.
maybe adding a comment here would reduce confusion
There was a problem hiding this comment.
This is a indepandent bug fix?
There was a problem hiding this comment.
this is introduced due to the special case for groupConcat code
This is a indepandent bug fix?
273bf0f to
d6a71d9
Compare
f06cef6 to
789ea66
Compare
|
/run-check_dev_2 |
|
/run-all-tests |
103f918 to
828dc24
Compare
|
@ichn-hu: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments. DetailsIn response to this:
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. |
|
/merge |
|
@fzhedu: DetailsIn response to this:
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. |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 828dc24 |
What problem does this PR solve?
Issue Number: close pingcap/tiflash#1908
Problem Summary: push down group_concat() to TiFlash (it is not pushed down to TiKV also).
What is changed and how it works?
Proposal: implemention doc
What's Changed:
How it Works:
Related changes
pingcap/docs/pingcap/docs-cn:Check List
Tests
Release note