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: set windowClause only in WindowFuncExpr #(19956) #12384

Merged
merged 2 commits into from
Sep 25, 2019

Conversation

wjhuang2016
Copy link
Member

@wjhuang2016 wjhuang2016 commented Sep 25, 2019

What problem does this PR solve?

Fix #11943

What is changed and how it works?

Presently, TiDB sets windowClause even if the expr is a binaryExpr. So
set windowClause only in WindowFuncExpr to fix it.

Check List

Tests

  • Integration test

Code changes

Side effects

Related changes

Release note

  • Write release note for bug-fix or new feature.

@zz-jason
Copy link
Member

/run-all-tests

Copy link
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

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

LGTM

@zz-jason zz-jason requested a review from winoros September 25, 2019 09:02
@zz-jason zz-jason added sig/planner SIG: Planner priority/release-blocker This issue blocks a release. Please solve it ASAP. status/LGT1 Indicates that a PR has LGTM 1. labels Sep 25, 2019
Copy link
Member

@winoros winoros left a comment

Choose a reason for hiding this comment

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

lgtm

@zz-jason zz-jason added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Sep 25, 2019
@zz-jason zz-jason merged commit 67cf1a3 into pingcap:release-3.0 Sep 25, 2019
@wjhuang2016 wjhuang2016 deleted the fix_windows branch November 17, 2022 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/release-blocker This issue blocks a release. Please solve it ASAP. sig/planner SIG: Planner status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants