Commit Graph

2660 Commits

Author SHA1 Message Date
1cf4fcfa73 *: support prepared plan cache for cached table (#32139)
close pingcap/tidb#32003
2022-02-14 12:29:37 +08:00
7c56706622 *: support predeclared golangci-lint linter (#32066)
close pingcap/tidb#30733
2022-02-14 10:35:38 +08:00
f949e01e0b planner, expression: pushdown AggFuncMode to coprocessor (#31392)
close pingcap/tidb#30923
2022-02-11 17:49:37 +08:00
bc267f5856 expression: support push down tikv supported functions (#32193)
ref pingcap/tidb#31846
2022-02-11 12:51:36 +08:00
92f5a6340c expression: from_unixtime accept 64-bit integers (#22616)
close pingcap/tidb#22206
2022-02-10 14:57:35 +08:00
4e33a0f2eb expression: refine invalid char error msg for string conversion (#32199)
close pingcap/tidb#30444
2022-02-09 19:25:36 +08:00
01fdb6023c expression: fix Coercibility and Collation with json type (#31576)
close pingcap/tidb#31320, close pingcap/tidb#31541
2022-02-09 15:41:36 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
7a667225db expression: cleanup pingcap/check dep (#32137)
close pingcap/tidb#32136
2022-02-08 00:49:35 +08:00
c30e8320d8 *: correct use require (#31904)
ref pingcap/tidb#31716
2022-02-07 18:11:35 +08:00
955b688e8b expression: support push down tikv supported functions (#31983)
ref pingcap/tidb#31846
2022-01-29 14:53:13 +08:00
e7da7d4f95 *: change fsp from int8 to int (#28347) 2022-01-27 13:59:12 +08:00
f2dba0e14e *: migrate some collation tests to explain test (#31993)
ref pingcap/tidb#31625
2022-01-26 19:32:46 +08:00
2e1cff73f3 *: add ExecRestrictedSQL() func for RestrictedSQLExecutor interface (#31618)
ref pingcap/tidb#30918
2022-01-24 21:30:11 +08:00
756f5a3b78 expression: support push down right/left to TiKV (#31847)
ref pingcap/tidb#31846
2022-01-24 17:26:11 +08:00
9ad0fa341a expression: pass the arg's nullable type to target type for cast function (#31400)
close pingcap/tidb#31399
2022-01-24 17:06:11 +08:00
4ae96872ff planner: do not use like to build range when new collation is enabled (#31278)
close pingcap/tidb#31174
2022-01-22 00:09:47 +08:00
316a2206de expression: don't set charset of RetType to binary for date_add and date_sub func (#31817)
close pingcap/tidb#31809
2022-01-20 15:17:46 +08:00
fa3328fc9c expression: fix greatest and least function with collation get wrong result (#31806)
close pingcap/tidb#31789
2022-01-20 11:25:45 +08:00
4fd9f789e5 *: remove useless else (#31715)
ref pingcap/tidb#31716
2022-01-17 17:11:44 +08:00
465f655889 * : replace fmt.Sprint with strconv (#31718)
ref pingcap/tidb#31716
2022-01-17 15:11:44 +08:00
7e23a7d9b3 expression: fix invalid memory when use char_length in unistore (#31605)
close pingcap/tidb#31603
2022-01-12 18:49:42 +08:00
xhe
1ffd6c0738 sysvar: bypass validation for noop variables (#31566)
close pingcap/tidb#31538
2022-01-11 22:43:42 +08:00
706abd66ae expression: fix BuildCastCollationFunction (#31553)
close pingcap/tidb#31551
2022-01-11 21:59:43 +08:00
a8223c0bf1 expression: treat AllowedPacketOverflowed as err when enable strict sql mode and in insertStmt|updateStmt|deleteStmt and without ignore (#29962)
close pingcap/tidb#29708
2022-01-11 19:17:42 +08:00
60d1ee20c0 expression: use boolToInt64 to simplify code (#31517)
ref pingcap/tidb#28720
2022-01-11 18:51:42 +08:00
0c19f92741 encoding: refactor transform to avoid the misuse buffer (#31480)
close pingcap/tidb#31488
2022-01-10 12:13:41 +08:00
849b6ec0cb *: migrate sync.WaitGroup to util.WaitGroupWrapper (#31411)
ref pingcap/tidb#29517
2022-01-08 14:04:37 +08:00
5cd37f0008 session: fix data race in ParseWithParamsInternal (#31058)
close pingcap/tidb#30918
2022-01-06 21:02:37 +08:00
e50ae867d6 expression: fix elt with gbk charset (#31346)
close pingcap/tidb#31331
2022-01-06 20:46:37 +08:00
5af7685c20 planner: don't handle collation in in expression if it contains a row function. (#31274)
close pingcap/tidb#31273, close pingcap/tidb#31300
2022-01-06 18:42:37 +08:00
cfbe70846a config: remove new charset config (#31291)
close pingcap/tidb#31236
2022-01-06 13:26:37 +08:00
80527cbbc0 planner: do not cache the tableDual plan (#31290)
close pingcap/tidb#31280
2022-01-05 19:48:36 +08:00
397eb725ea expression: make some datetime functions' behavior consistent with MySQL (#31078)
close pingcap/tidb#30683
2022-01-05 16:22:36 +08:00
1a6564b98e expression: compatibility is changed (#30653)
close pingcap/tidb#19150
2022-01-05 12:54:36 +08:00
d9d89d69d1 expression: fix nil pointer dereference for case expression (#30479)
close pingcap/tidb#30245
2022-01-05 10:18:35 +08:00
5ea64e6e23 expression: change date add function return type (#28133)
close pingcap/tidb#27573
2021-12-31 19:01:51 +08:00
8c880d2251 expression, planner: skip isNullRejected check when contain outer not after PushDownNot (#31210)
close pingcap/tidb#20510
2021-12-31 14:37:51 +08:00
7f85091696 expression: pushdown substring/char_length to tikv (#30191)
close pingcap/tidb#31125
2021-12-31 00:07:50 +08:00
9b9a300485 expression: support lpad/rpad pushdown to tiflash (#31099)
* expression: support lpad/rpad pushdown to tiflash

Signed-off-by: guo-shaoge <shaoge1994@163.com>
2021-12-30 23:33:34 +08:00
9ffeff2857 types: convert to new charset before inserting to blob or json column (#31031)
close pingcap/tidb#30690
2021-12-30 21:35:50 +08:00
a8ce4af9f8 expression: Fix incorrect behavior of greatest/least when mixed temporal type with others (#31037)
close pingcap/tidb#30264
2021-12-30 11:33:50 +08:00
fcfd8387bf expression: enable strcmp for tiflash (#30983) 2021-12-29 17:19:50 +08:00
61d13b561c encoding: skip utf8 charset validation in some cases (#31061)
close pingcap/tidb#31014
2021-12-28 17:51:49 +08:00
22cad97eb0 expression: support quarter pushdown to tiflash (#30704) 2021-12-28 16:03:49 +08:00
76aae0d5c5 planner: change predicateColumnCollector to columnStatsUsageCollector and collect histogram-needed columns (#30671) 2021-12-25 18:21:48 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
df58e6c36c execution: refine precision of cast as decimal in agg func (#30805) 2021-12-23 16:53:47 +08:00
d543b60464 parser: add IsValid() to Encoding to speed up string validation for UTF-8 (#30937)
close pingcap/tidb#30936
2021-12-22 18:19:48 +08:00
416617eb9c planner: fix wrong collation when rewrite in condition (#30492)
close pingcap/tidb#30486
2021-12-21 20:47:46 +08:00