-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
executor: use deep copy for maxMin4JSON (#15242) #15289
executor: use deep copy for maxMin4JSON (#15242) #15289
Conversation
Signed-off-by: sre-bot <sre-bot@pingcap.com>
/run-all-tests |
executor/aggregate_test.go
Outdated
@@ -752,3 +752,46 @@ func (s *testSuite1) TestIssue10608(c *C) { | |||
tk.MustQuery("select (select group_concat(concat(123,'-')) from t where t.a = s.b group by t.a) as t from s;").Check(testkit.Rows("123-", "123-")) | |||
|
|||
} | |||
<<<<<<< HEAD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve the conflicts. @fzhedu
solve confilcts.
/rebuild |
executor/aggregate_test.go
Outdated
@@ -752,3 +752,43 @@ func (s *testSuite1) TestIssue10608(c *C) { | |||
tk.MustQuery("select (select group_concat(concat(123,'-')) from t where t.a = s.b group by t.a) as t from s;").Check(testkit.Rows("123-", "123-")) | |||
|
|||
} | |||
|
|||
func (s *testSuiteAgg) TestIssue12759HashAggCalledByApply(c *C) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test case is useless in 3.0 branch, see #12766 (comment)
solve confilcts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
executor/aggregate_test.go
Outdated
@@ -752,3 +752,17 @@ func (s *testSuite1) TestIssue10608(c *C) { | |||
tk.MustQuery("select (select group_concat(concat(123,'-')) from t where t.a = s.b group by t.a) as t from s;").Check(testkit.Rows("123-", "123-")) | |||
|
|||
} | |||
|
|||
func (s *testSuiteAgg) TestPR15242ShallowCopy(c *C) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix this issue:"executor/aggregate_test.go:756:10: undefined: testSuiteAgg"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, tks.
change testSuitAgg -> testSuit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry @wshwsh12, you don't have permission to trigger auto merge event on this branch. |
/merge |
/run-all-tests |
cherry-pick #15242 to release-3.0
What problem does this PR solve?
fix #15278
What is changed and how it works?
change shallow copy to deep copy
Check List
Tests
use large dataset to reproduce this problem.
Code changes
Side effects
Related changes
Release note