Commit Graph

196 Commits

Author SHA1 Message Date
7c56706622 *: support predeclared golangci-lint linter (#32066)
close pingcap/tidb#30733
2022-02-14 10:35:38 +08:00
c30e8320d8 *: correct use require (#31904)
ref pingcap/tidb#31716
2022-02-07 18:11:35 +08:00
e7da7d4f95 *: change fsp from int8 to int (#28347) 2022-01-27 13:59:12 +08:00
203ab22982 *: move the functions that only used in tests (#31929)
ref pingcap/tidb#28720
2022-01-24 22:08:11 +08:00
9ad00962f6 test: merge serial tests in cmd, planner, server, util (#31003) 2021-12-24 20:21:53 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
70d29735e6 executor, util: reset offsets and nullBitMap for MutRow when setting new values (#30265) 2021-12-03 15:33:54 +08:00
b5ded48df9 *: replace compareDatum by compare and fix compare (#30090) 2021-11-24 17:31:51 +08:00
de60ebaf25 util/chunk: avoid reuse duplicated chunk column in the pool (#29809) 2021-11-16 13:01:07 +08:00
36bc41ad05 *: reduce object allocation by reuse chunk column (#29064) 2021-10-28 13:14:48 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
6b9d0c53c7 util, executor: use a individual rowContainer for each probeWorker in HashJoinExec (#27577) 2021-09-07 17:22:57 +08:00
a5b4c2a26a util/chunk: migrate test-infra to testify for all remaining tests (#27028) 2021-08-24 18:32:04 +08:00
867dd7bb32 util/chunk: migrate test-infra to testify for column_test, disk_test, iterator_test (#27026) 2021-08-17 17:32:00 +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
131e955027 util/chunk: migrate test-infra to testify for chunk_test, chunk_util_test (#26772) 2021-08-12 18:47:17 +08:00
9d2291b9ee util/chunk: some minor refactors (#26957) 2021-08-09 12:57:14 +08:00
ab4a990539 brie: add error info column and history backup/restore info in sql (#22699) 2021-07-30 12:17:05 +08:00
ccaefa2a3d executor: add CTEExec and CTETableReaderExec (#24809) 2021-06-01 11:59:37 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
424a5a880c executor: enhancement for ListInDisk(support writing after reading) (#24379) 2021-05-19 19:15:41 +08:00
18cbfaac15 *: enable gosimple linter (#24617) 2021-05-14 09:15:38 +08:00
2105317479 executor: Improve the performance of appending not fixed columns (#20969) 2021-05-13 12:57:39 +08:00
407c45483c util/chunk: replace outdated link with correct one (#23307) 2021-04-01 14:09:24 +08:00
35eded065e *: fix structcheck lint warnings (#23062) 2021-03-24 21:09:37 +08:00
6f250b625e *: fix a bug that collation is not handle for text type (#23045) 2021-03-03 22:04:54 +08:00
33c82d1371 util: fix err check (#23009) 2021-03-03 21:48:55 +08:00
bc37f088ba *: fix some varcheck lint warnings (#23011) 2021-03-01 15:10:54 +08:00
02016b09ef util: add test TestCodec (#22197)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-01-07 17:32:27 +08:00
76614c6ca9 util/chunk: fix slice out of bound panic (#21155) 2021-01-06 17:24:42 +08:00
5435f215ee executor: add error trace to investigate unstable test Issue16696 (#21668) 2020-12-11 16:33:22 +08:00
28c9e9290b *: gocritic fixes for commentFormatting (#21578) 2020-12-09 12:03:17 +08:00
29a83c2cd8 executor hptc ycsb-worloade: Make use of AppendRows in all cases (#21163) 2020-11-29 16:21:00 +08:00
b204df7051 executor: Implement AppendRows for Chunk (#21057) 2020-11-28 15:14:59 +08:00
af58658b63 *: implement priority control for OOM Action (#21170) 2020-11-25 19:44:26 +08:00
c561298102 util: fix chunk‘s offset size which is 8 bytes. (#20355) 2020-10-09 16:46:40 +08:00
247a26ec70 util: reset the unused bytes in writeTime (#20284) 2020-10-04 13:36:12 +08:00
0c822d13a1 util: avoid spilling to disk after rowContainer has been closed. (#19750) 2020-09-09 13:04:52 +08:00
0338bce029 expression: fix unmatched column lengths errors caused by builtinGreatestStringSig and builtinLeastStringSig (#19754) 2020-09-03 16:22:43 +08:00
4774cb9505 util: add encryptWriter/Reader interface to support encrypt spilled file (#19070) 2020-08-19 21:21:32 +08:00
a2e2ce6339 *: use int instead of fmt.Stringer as executor id (#19207) 2020-08-19 13:39:31 +08:00
92513a2f4d util: create the tmpdir if the directory is removed by mistake. (#18970) 2020-08-18 22:10:44 +08:00
aa22a9088c util: make rowContainer can spill again after calling reset. (#19058) 2020-08-11 11:27:29 +08:00
0887dc6c56 util: add checksumWriter/Reader interface to support evaluate checksum (#18649) 2020-08-03 21:50:04 +08:00
0b035c850a util: oom-action waits spilling result when acting again (#18381) 2020-07-23 14:08:20 +08:00
b13fdb7bce *: make test more TestSortInDisk stable (#18424) 2020-07-13 11:51:55 +08:00
906f18f7bf util: make one SortedRowContainer is spilling at the same time. (#18307)
* fix

* fix

* fix

* fix

* fix

* fix

* add comments

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-06 15:00:38 +08:00
9d9f330a4b executor, util: fix spilling disk when oom. (#16895) 2020-06-30 16:32:14 +08:00
a8da23c254 test: fix data race caused by update global config (#17964)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-12 13:05:27 +08:00