Commit Graph

19 Commits

Author SHA1 Message Date
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
fb01f00d44 executor/aggfuncs: migrate test-infra to testify (#29764) 2021-11-15 20:01:08 +08:00
64681ddaed executor/aggfuncs: migrate test-infra to testify for func_count_test.go, func_group_concat_test.go, func_stddevpop_test.go, func_stddevsamp_test.go, and func_varsamp_test.go (#29529) 2021-11-15 12:29:06 +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
7c552f52fa executor: track memory usage of map in agg partial result. (#23072) 2021-03-09 12:44:55 +08:00
247a26ec70 util: reset the unused bytes in writeTime (#20284) 2020-10-04 13:36:12 +08:00
7cd20c0373 executor: implement memDelta for count funcs to track memUsage (#19770)
* executor: implement memDelta for count funcs to track memUsage

* fix stdlib unsafe need be group together and before non-stdlib group in ../../executor/aggfuncs/func_count.go

* fix UpdatePartialResult memDelta return if err != nil

* fix
1 DefPartialResult4CountSize is the memory usage of AllocPartialResult, UpdatePartialResult will not use more memory, return 0, err.
2 in testcase TestMemCount count funcs are not distinct, use defaultUpdateMemDeltaGens and set isDistinct false

* fix UpdatePartialResult not use more memory

* fix  MergePartialResult memDelta

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-05 17:43:46 +08:00
f3c8b008df executor: accelerate TestMemCount (#19581)
* test

* executor: accelerate TestMemCount

* refine

* fix ci

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-29 21:03:21 +08:00
b3f5678717 executor: skip TestMemCount test case to make race test more stable (#19578) 2020-08-28 17:07:51 +08:00
b4f0854d19 executor: implement memDelta for avg funcs to track memUsage (#18901) 2020-08-28 14:01:41 +08:00
978370f7cb executor: add new agg function APPROX_COUNT_DISTINCT (#17175) 2020-06-18 22:00:14 +08:00
5192c26150 executor: optimize count distinct with single column (#15323) 2020-03-31 15:04:12 +08:00
0effd63b99 executor/aggfuncs: add test for aggregation functions (#10002) 2019-04-04 13:20:42 +08:00
366bc8dedf executor/aggfuncs: add test for merge partial results (#9909) 2019-03-28 19:35:28 +08:00
1cc9d4d53c expression: split aggregation descriptor for reuse (#8559) 2018-12-04 16:22:15 +08:00
b4746797fc *: clone AggDesc before modifying its Mode in AggDesc.Split (#8328) 2018-11-16 15:53:22 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
cde6a083d0 executor/aggfuncs: split unit tests to corresponding file (#7993) 2018-10-23 10:43:52 +08:00