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

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

Merged
merged 3 commits into from
Oct 28, 2019

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