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: fix bug that window function do not check ignore nulls. #11554

Merged

Conversation

lzmhhh123
Copy link
Contributor

What problem does this PR solve?

fix #10556

What is changed and how it works?

Add a simple judgment.

Check List

Tests

  • Unit test
  • Integration test

Code changes

  • None

Related changes

  • Need to cherry-pick to the release branch

@codecov
Copy link

codecov bot commented Aug 1, 2019

Codecov Report

Merging #11554 into master will decrease coverage by 0.2146%.
The diff coverage is 100%.

@@               Coverage Diff                @@
##             master     #11554        +/-   ##
================================================
- Coverage   81.5161%   81.3014%   -0.2147%     
================================================
  Files           426        425         -1     
  Lines         92681      91649      -1032     
================================================
- Hits          75550      74512      -1038     
- Misses        11756      11782        +26     
+ Partials       5375       5355        -20

@codecov
Copy link

codecov bot commented Aug 1, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@cffd045). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             master    #11554   +/-   ##
==========================================
  Coverage          ?   81.245%           
==========================================
  Files             ?       426           
  Lines             ?     91928           
  Branches          ?         0           
==========================================
  Hits              ?     74687           
  Misses            ?     11879           
  Partials          ?      5362

@lzmhhh123 lzmhhh123 requested a review from alivxxx August 1, 2019 03:47
Copy link
Contributor

@alivxxx alivxxx left a comment

Choose a reason for hiding this comment

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

LGTM

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 added the status/LGT2 Indicates that a PR has LGTM 2. label Aug 1, 2019
@lzmhhh123
Copy link
Contributor Author

/rebuild
/run-all-tests

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

sre-bot commented Aug 1, 2019

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Aug 1, 2019

@lzmhhh123 merge failed.

@lzmhhh123
Copy link
Contributor Author

/run-common-test tidb-test=pr/870
/run-integration-common-test tidb-test=pr/870

@lzmhhh123
Copy link
Contributor Author

/run-integration-common-test tidb-test=pr/870

@lzmhhh123
Copy link
Contributor Author

/run-unit-test

1 similar comment
@lzmhhh123
Copy link
Contributor Author

/run-unit-test

@jackysp jackysp added status/can-merge Indicates a PR has been approved by a committer. and removed status/can-merge Indicates a PR has been approved by a committer. labels Aug 2, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Aug 2, 2019

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Aug 2, 2019

@lzmhhh123 merge failed.

@zz-jason
Copy link
Member

zz-jason commented Aug 2, 2019

/run-all-tests tidb-test=pr/870

@lzmhhh123
Copy link
Contributor Author

/run-auto-merge

@sre-bot
Copy link
Contributor

sre-bot commented Aug 2, 2019

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Aug 2, 2019

cherry pick to release-3.0 in PR #11593

@lzmhhh123 lzmhhh123 deleted the dev/fix-window-function-ignore-nulls-error branch September 25, 2019 03:17
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. 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.

IGNORE NULLS in window function not implemented but no error thrown
6 participants