Commit Graph

134 Commits

Author SHA1 Message Date
75c70ecd0a executor: reduce a place of object allocation for HashAggExec (#37300)
close pingcap/tidb#37299
2022-08-24 13:06:20 +08:00
afc3276d9f *: enable linter for executor/aggregate.go (#37015) 2022-08-23 22:20:21 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
8af73ffa13 executor: more precise memory tracking (#35785)
close pingcap/tidb#36018
2022-08-10 22:44:48 +08:00
d0feb1b542 executor: check memory limit before allocate large memory in HashAgg (#37013)
ref pingcap/tidb#35635
2022-08-10 14:00:47 +08:00
c060208b2f *: move config file option oom-use-tmp-storage to sysvar (#36679)
ref pingcap/tidb#33769
2022-08-02 16:58:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
6baea73277 *: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (#36660) 2022-07-28 19:23:11 +08:00
065563a8ea executor: fix aggregating enum zero value gets different results from mysql (#36208)
close pingcap/tidb#26885
2022-07-22 14:05:09 +08:00
562bb9f9e2 executor: fix incorrect runtime stats when there are applys (#35919)
ref pingcap/tidb#35889, close pingcap/tidb#35911
2022-07-07 00:49:02 +08:00
55aea2787d *: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
515de80a17 executor: track the memory usage of aggregate more accurate (#34732)
ref pingcap/tidb#33877
2022-05-23 10:58:45 +08:00
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
d63a5fd33d executor: add some memory tracker in HashJoin (#33918)
ref pingcap/tidb#33877
2022-04-19 23:28:03 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
a8adc4cf8e *: fix many leaks of the test case (#26909) 2021-08-06 13:55:12 +08:00
2a72f87882 executor: use more clever spilling strategy for HashAgg (#26922) 2021-08-06 10:39:13 +08:00
2412437041 executor: support spill intermediate data for unparalleled hash agg (#25714) 2021-07-15 17:21:32 +08:00
0cb32a128b executor: fix projection executor panic and add failpoint test (#24231) 2021-04-28 14:15:56 +08:00
35eded065e *: fix structcheck lint warnings (#23062) 2021-03-24 21:09:37 +08:00
1d99292455 *: hide the system variables tidb_track_aggregate_memory_usage (#23184) 2021-03-12 17:59:21 +08:00
83e70f74f0 executor: inject random panic to AggExec (#23139) 2021-03-09 16:38:55 +08:00
7c552f52fa executor: track memory usage of map in agg partial result. (#23072) 2021-03-09 12:44:55 +08:00
8761adc59f executor: make the memory tracker of Jsonobjectagg more accurate (#23024) 2021-03-04 11:34:54 +08:00
3fcfefd267 executor: track partialResultMap in unparalleled aggreagte. (#22962) 2021-03-02 14:50:55 +08:00
3edbab31db executor: fix regression by Tracker.Consume in aggregate. (#22883)
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-02-23 17:44:48 +08:00
fb84db123c executor: make memory tracker for aggregate more accurate. (#22463) 2021-02-18 11:27:11 +08:00
9f095242b5 exeutor: add a switch for memory tracker in aggregate (#21597) 2020-12-16 15:01:35 +08:00
ceefbf1591 executor: Add the HashAggExec runtime information (#20577) 2020-11-25 21:56:52 +08:00
4ff2f926e2 executor, expression: set the evalType of hybrid type as ETInt in VecEvalBool (#20221) 2020-09-27 11:31:16 +08:00
bada2801ac *: fix cop task runtime information is wrong in the concurrent executor (#19849)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-09-11 14:14:37 +08:00
a2e2ce6339 *: use int instead of fmt.Stringer as executor id (#19207) 2020-08-19 13:39:31 +08:00
f0e5876353 util/execdetails: refactor execdetails information of runtime collect (#18530) 2020-07-15 20:05:29 +08:00
b178de06ad executor: Trace the memory usage of AggFunc in HashAggExec (#18257) 2020-07-06 20:48:41 +08:00
06e73a56cc *: compatible with Go 1.14's checkptr (#18189) 2020-06-24 13:04:47 +08:00
c98514e751 executor: unify executor concurrency (#16999) 2020-06-22 17:39:32 +08:00
6b9d6c0f5c executor: skip row comparison in steam aggregation when necessary (#17679)
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-08 11:36:45 +08:00
1379ba4678 executor: skip chunk evaluation in splitIntoGroups when unnecessary (#17077) 2020-06-04 11:08:57 +08:00
0d95b09e8a executor: Remove unnecessary information in explain analyze output (#16248) 2020-05-21 19:26:00 +08:00
a1763c1b6e executor: fix memory corrupt in COUNT/JSON_OBJECTAGG/GROUP_CONCAT (#17106) 2020-05-13 16:58:20 +08:00
e63a10e931 Add the check for expression evaluation in some executors (#16339) 2020-04-15 10:46:02 +08:00
0d10f91539 executor: check for null values when comparing different groups during streamAgg (#15742) 2020-03-27 16:42:14 +08:00
0eaa757bd8 executor: log stack info when panic converting to error (#15627) 2020-03-25 17:35:28 +08:00
41142266b2 *: use SetString() for string instead of SetBytes() (#14989) 2020-03-02 15:48:10 +08:00
848dd01b98 executor: consider the collation in vecGroupChecker (#14859) 2020-02-21 14:10:30 +08:00
eb12799152 *: Collation should be set accordingly when setting string datum (#14757) 2020-02-20 23:01:53 +08:00
4755a9b9ef util: revert util/mathutil (#14744) 2020-02-13 11:33:04 +08:00
cfe0c2025f executor: vectorize the merge join executor by vecGroupChecker (#14458) 2020-02-04 15:41:24 +08:00