Commit Graph

182 Commits

Author SHA1 Message Date
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
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
75f6225948 expression, util/codec: fix wrongly eliminated conditions caused by HashCode() collision (#30120) 2021-11-25 19:33:51 +08:00
d04a1285a5 ddl, util/codec: fix add index OOM and prevent panic in logging (#29925) 2021-11-24 10:35:51 +08:00
8b028b899d *: replace compareDatum by compare (#30060) 2021-11-23 17:49:50 +08:00
7aa86cc96a *: Enable gosec for implicit memory aliasing in for loop (#28996) 2021-11-19 20:07:48 +08:00
fa8cbd5888 executor: fix wrong result for join with enum type (#29375) 2021-11-05 16:29:03 +08:00
502f34f975 *: fix Makefile for bench-daily (#28868) 2021-10-19 10:38:42 +08:00
ab0d231d9e session: add system table mysql.column_stats_usage (#27849) 2021-10-18 19:24:43 +08:00
092544cd1d distsql: add distsql package benchmark to daiy bench test (#28724) 2021-10-14 17:09:27 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
1cd95a8b94 *: add more daily benchmark test cases (#26773) 2021-09-10 23:00:38 +08:00
98275ca97e util/codec: check length before slicing (#27442) 2021-08-20 23:36:01 +08:00
68a15f8d0b planner: fix two test cases that use the wrong collation name (#27329) 2021-08-18 16:44: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
1e5000c631 util/codec: migrate test-infra to testify (#26528) 2021-07-29 22:42:17 +08:00
dc53b520bf executor: fix hash join between datetime and timestamp (#25915) 2021-07-06 11:21:28 +08:00
bd2553734b expression: support enum pushdown (#22686) 2021-04-26 18:51:56 +08:00
c382b9b01e executor: hash join out of index panic when enum column value is zero (#23162) 2021-03-10 12:18:54 +08:00
31df40b9bc statistics: add some test cases of global-stats to cover more column types (#23138) 2021-03-08 14:10:54 +08:00
33c82d1371 util: fix err check (#23009) 2021-03-03 21:48:55 +08:00
ac17ae982a util/codec: add error handling to NewCommonHandle() to avoid panic (#22458) 2021-01-21 16:44:59 +08:00
e9b11b72a3 util: fix bad number error with DISTINCT when dividing long decimals (#21783) 2020-12-18 16:29:35 +08:00
43d9293be8 types, expression, codec: agg JSON values (#21656) 2020-12-11 17:31:52 +08:00
dfc3bbdee6 util, executor: parse set value correctly in HashChunkRow (#21048) 2020-11-16 14:51:26 +08:00
3903c6b8b5 statistics: fix the display of bounds for indexes with date/time columns. (#19961) 2020-09-17 19:01:26 +08:00
ba60cf5a69 charset: implement utf8_unicode_ci and utf8mb4_unicode_ci collation (#18776) 2020-08-27 23:20:48 +08:00
5184a0d706 executor: fix the bug: can not join if join keys are type bigint and type bit (#19032)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-14 19:44:48 +08:00
c7dcf9c542 util: fix a encode bug causes the wrong result of hashJoin with set and enum (#18855)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-07-29 14:12:10 +08:00
f3554241bb planner, executor: support except and intersect set operator (#18459)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-27 17:56:07 +08:00
127ad504b2 table: optimize add record used in lightning (#18102) 2020-06-24 15:18:01 +08:00
a1763c1b6e executor: fix memory corrupt in COUNT/JSON_OBJECTAGG/GROUP_CONCAT (#17106) 2020-05-13 16:58:20 +08:00
dd4f2405bd codec: improve the coverage of key path in codec (#17023) 2020-05-11 11:11:38 +08:00
dec9371d8a executor: fix building hash table with TypeNull when join (#15913) 2020-04-01 21:18:58 +08:00
af787a3acf util: consider negative zero float for Hash Join (#15837) 2020-03-30 17:39:12 +08:00
5e8706a1f6 util/collate: remove CollatorOption (#15472)
`CollatorOption` was used to specify the `PadLen` which aims to support
"PADDING" attribute of the collations. But now it is not needed anymore,
since TiDB actually implements "PADDING" by removing trailing spaces.
2020-03-19 15:16:29 +08:00
892dcedf34 util/codec: add EncodedBytesLength (#15170) 2020-03-15 11:28:53 +08:00
8835f8efca *: set charset and collate for string literals correctly (#15156) 2020-03-06 17:01:46 +08:00
0ddfe0716f *: fix datum's collation behavior to build correct logical ranges (#14963) 2020-03-05 22:34:46 +08:00
332cef97f5 *: support index encode/decode for new collation (#14876) 2020-02-27 11:33:33 +08:00
848dd01b98 executor: consider the collation in vecGroupChecker (#14859) 2020-02-21 14:10:30 +08:00
d0e6aed1f1 executor: consider collations when calculating hash values in HashJoin (#14836) 2020-02-19 19:49:28 +08:00
1437d7e65b expression: open push down switcher for part of CAST functions (#13837)
Signed-off-by: Lonng <heng@lonng.org>
2020-01-02 11:43:43 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
4d4678a4dd types: Fix potential timezone related bugs caused by gotime.Local (#13833) 2019-12-20 22:38:25 +08:00
4b830aa7f6 *: Remove unused code (#13674) 2019-11-22 11:37:07 +08:00
5c521c8e43 executor: vectorized calculation the key for the group by items in hash aggregation (#12729) 2019-11-12 17:00:00 +08:00
b697fac4ba expression: vectorize hash calculation during probing (#12048) (#12669) 2019-11-05 21:42:34 +08:00
d29751ca5d executor: vectorize hash calculation in hashJoin (#12048) (#12076) 2019-09-11 16:06:46 +08:00