Skip to content

planner: stream agg should not be pushed to double read (#12443)#12690

Merged
eurekaka merged 3 commits intopingcap:release-3.0from
winoros:stream-agg-3.0
Oct 28, 2019
Merged

planner: stream agg should not be pushed to double read (#12443)#12690
eurekaka merged 3 commits intopingcap:release-3.0from
winoros:stream-agg-3.0

Conversation

@winoros
Copy link
Member

@winoros winoros commented Oct 14, 2019

Cherry-pick #12443
There's a question that 3.0 has not STREAM_AGG() hint. It's hard to add a test to test the stream agg must fail though we force to choose it.

For the following two reason, we should not push stream agg down to double read
- The aggregate will lost the handle information
- There's no sort operator. The second read is ordered with pk, not by index.
@francis0407
Copy link
Member

LGTM

Copy link
Contributor

@lzmhhh123 lzmhhh123 left a comment

Choose a reason for hiding this comment

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

LGTM

@eurekaka eurekaka added the status/can-merge Indicates a PR has been approved by a committer. label Oct 22, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Oct 22, 2019

/run-all-tests

@alivxxx alivxxx removed their request for review October 23, 2019 07:42
@francis0407
Copy link
Member

Still not merged?

@francis0407 francis0407 removed their request for review October 28, 2019 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sig/planner SIG: Planner status/can-merge Indicates a PR has been approved by a committer. type/bugfix This PR fixes a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants