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: add error message for group_concat #15345

Merged
merged 13 commits into from
Mar 17, 2020
Merged

planner: add error message for group_concat #15345

merged 13 commits into from
Mar 17, 2020

Conversation

zhaox1n
Copy link
Contributor

@zhaox1n zhaox1n commented Mar 12, 2020

UCP #10996

What problem does this PR solve?

close #10996, compatible with mysql error messages when using group_cancat as window function. details ref #10996

Check List

Tests

  • Unit test

@zhaox1n zhaox1n requested a review from a team as a code owner March 12, 2020 14:23
@sre-bot
Copy link
Contributor

sre-bot commented Mar 12, 2020

Thanks for your contribution. If your PR get merged, you will be rewarded 50 points.

@sre-bot sre-bot added the contribution This PR is from a community contributor. label Mar 12, 2020
@ghost ghost requested review from francis0407 and winoros and removed request for a team March 12, 2020 14:23
@codecov
Copy link

codecov bot commented Mar 12, 2020

Codecov Report

Merging #15345 into master will increase coverage by 0.2969%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             master     #15345        +/-   ##
================================================
+ Coverage   80.3966%   80.6935%   +0.2969%     
================================================
  Files           502        502                
  Lines        133630     135354      +1724     
================================================
+ Hits         107434     109222      +1788     
+ Misses        17756      17746        -10     
+ Partials       8440       8386        -54

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/LGT1 Indicates that a PR has LGTM 1. label Mar 14, 2020
@zz-jason zz-jason requested review from SunRunAway and removed request for francis0407 and winoros March 14, 2020 06:25
@zz-jason zz-jason added the sig/planner SIG: Planner label Mar 14, 2020
@zhaox1n
Copy link
Contributor Author

zhaox1n commented Mar 15, 2020

PTAL @SunRunAway

planner/core/testdata/plan_suite_unexported_in.json Outdated Show resolved Hide resolved
@@ -243,7 +243,8 @@
"[planner:3586]Window 'w': frame start or end is negative, NULL or of non-integral type",
"[planner:3586]Window 'w': frame start or end is negative, NULL or of non-integral type",
"[planner:3586]Window 'w': frame start or end is negative, NULL or of non-integral type",
"TableReader(Table(t))->Sort->Window(row_number()->Column#14 over(partition by test.t.b))->Projection"
"TableReader(Table(t))->Sort->Window(row_number()->Column#14 over(partition by test.t.b))->Projection",
"[planner:1235]This version of TiDB doesn't yet support 'group_concat as window function'"
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@SunRunAway SunRunAway left a comment

Choose a reason for hiding this comment

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

LGTM

@SunRunAway SunRunAway added status/can-merge Indicates a PR has been approved by a committer. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Mar 17, 2020
@SunRunAway SunRunAway added the status/LGT2 Indicates that a PR has LGTM 2. label Mar 17, 2020
@sre-bot
Copy link
Contributor

sre-bot commented Mar 17, 2020

/run-all-tests

@sre-bot sre-bot merged commit 76f63fd into pingcap:master Mar 17, 2020
@sre-bot
Copy link
Contributor

sre-bot commented Mar 17, 2020

Team zhaox1n complete task #10996 and get 50 score, currerent score 150

@SunRunAway
Copy link
Contributor

/run-cherry-picker

sre-bot pushed a commit to sre-bot/tidb that referenced this pull request Apr 8, 2020
@sre-bot
Copy link
Contributor

sre-bot commented Apr 8, 2020

cherry pick to release-3.0 in PR #16163

sre-bot pushed a commit to sre-bot/tidb that referenced this pull request Apr 8, 2020
@sre-bot
Copy link
Contributor

sre-bot commented Apr 8, 2020

cherry pick to release-3.1 in PR #16166

@sre-bot
Copy link
Contributor

sre-bot commented Apr 8, 2020

cherry pick to release-4.0 failed

@zz-jason
Copy link
Member

/run-cherry-picker

@sre-bot
Copy link
Contributor

sre-bot commented May 15, 2020

cherry pick to release-4.0 failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution This PR is from a community contributor. 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

window function: group_concat error message is not compatible
4 participants