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/core: fix unexpected error of window function #9567

Merged
merged 10 commits into from
Mar 11, 2019

Conversation

winoros
Copy link
Member

@winoros winoros commented Mar 5, 2019

What problem does this PR solve?

fix #9554

What is changed and how it works?

Let TiDB distinguish over w and over(w)

Check List

Tests

  • Unit test

@zz-jason zz-jason added type/bugfix This PR fixes a bug. sig/planner SIG: Planner labels Mar 6, 2019
go.mod Outdated
@@ -87,3 +87,5 @@ require (
sourcegraph.com/sourcegraph/appdash v0.0.0-20180531100431-4c381bd170b4
sourcegraph.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67
)

replace gihtub.com/pingcap/parser => github.com/winoros/parser v0.0.0-20190305081723-e7cb6045c53f
Copy link
Contributor

Choose a reason for hiding this comment

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

is this change related?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, this fix needs changes from parser.

@tiancaiamao
Copy link
Contributor

/run-all-tests

@codecov-io
Copy link

codecov-io commented Mar 8, 2019

Codecov Report

Merging #9567 into master will increase coverage by 0.0222%.
The diff coverage is 71.4285%.

@@              Coverage Diff               @@
##           master      #9567        +/-   ##
==============================================
+ Coverage   67.41%   67.4322%   +0.0222%     
==============================================
  Files         376        376                
  Lines       79190      79195         +5     
==============================================
+ Hits        53382      53403        +21     
+ Misses      21036      21021        -15     
+ Partials     4772       4771         -1

Copy link
Contributor

@eurekaka eurekaka 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/LGT1 Indicates that a PR has LGTM 1. label Mar 8, 2019
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, please resolve conflicts.

@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 Mar 9, 2019
@winoros
Copy link
Member Author

winoros commented Mar 11, 2019

@zz-jason We need to merge pingcap/parser#236 to update go.mod

@winoros winoros reopened this Mar 11, 2019
@zz-jason zz-jason merged commit 612dd14 into pingcap:master Mar 11, 2019
@winoros winoros deleted the window-fix branch March 15, 2019 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/planner SIG: Planner status/LGT2 Indicates that a PR has LGTM 2. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unexpected error when using named window
6 participants