Commit Graph

2687 Commits

Author SHA1 Message Date
d8fbad38a6 expression, types: fix StrToDuration result (#32896)
close pingcap/tidb#31680
2022-03-08 16:53:49 +08:00
2b94ca07ed *: cleanup usage of testutil.RowsWithSep (#32859)
close pingcap/tidb#32858
2022-03-07 11:49:48 +08:00
7cf784cf26 statistics: handle contants in Selectivity() (#32761)
ref pingcap/tidb#32758, close pingcap/tidb#32835
2022-03-06 23:41:48 +08:00
5464eecba9 expr: add switch to control pushing bit column down (#32795)
* add switch

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>
2022-03-04 10:38:47 +08:00
6bc9cd3689 expression: enable greatest/least push down to tiflash (#32788)
close pingcap/tidb#32787
2022-03-03 21:21:46 +08:00
6ba84eef8c expression: fine-grained precision infer for decimal arithmetic operator (#32401)
close pingcap/tidb#30961
2022-03-03 14:33:46 +08:00
de6a54b103 expression: make greatest/least type infer clean for integer (#32700)
close pingcap/tidb#32702
2022-03-02 19:11:46 +08:00
bbe2d00684 expr: fix copr-test (#32740)
ref pingcap/tidb#32739
2022-03-02 18:57:46 +08:00
fbfe36ca7d expression: support push bit column down to TiKV (#32497)
close pingcap/tidb#30738
2022-03-01 17:21:45 +08:00
fccc4bedd0 expr: support push tikv supported functions down (#32553)
ref pingcap/tidb#31846
2022-03-01 15:29:45 +08:00
f9a324829b insert: fix insert into select statement should ignore the error and insert default value (#31666)
close pingcap/tidb#31432
2022-02-28 23:47:44 +08:00
0c9b0c0ef2 util/testutil: cleanup testutils depend on pingcap/check (#32662)
close pingcap/tidb#32660
2022-02-28 20:01:45 +08:00
9f1be5c156 expr: forbid push round with frac down (#32666)
close pingcap/tidb#32557
2022-02-28 17:49:45 +08:00
33f0a8028a expression: support pushdown regexp to TiFlash (#32636)
close pingcap/tidb#32637
2022-02-28 11:47:45 +08:00
a680d66383 expression: enable dayname/monthname function push down for tiflash (#32595)
close pingcap/tidb#32594
2022-02-25 14:55:43 +08:00
047775fbc8 expression: fine-grained precision infer when casting const to Decimal (#32359)
ref pingcap/tidb#30961
2022-02-24 16:19:42 +08:00
991132080f planner: don't decorrelate the APPLY when the inner's projection reference no column (#32370)
close pingcap/tidb#32089
2022-02-23 18:43:43 +08:00
20bd94918b planner: fix the usage of ParamMarker for PointGet (#32235)
ref pingcap/tidb#31056
2022-02-22 12:55:42 +08:00
5988d0b2f4 *: update client-go and etcd version (#32457)
close pingcap/tidb#32456
2022-02-22 11:11:43 +08:00
14bedf3ee5 expression: fix panic in upper() and lower() func. (#32505)
close pingcap/tidb#32488
2022-02-21 17:35:43 +08:00
6aa0b202f1 expression: add builtin func charset() (#32470)
close pingcap/tidb#3931
2022-02-21 13:57:41 +08:00
6517f3b315 planner,expression,util: scatter hotspot index in certain scenes by expression index (#30659)
close pingcap/tidb#31040
2022-02-18 16:47:40 +08:00
94f821c102 expression: support push mod down to tikv (#31952)
ref pingcap/tidb#31846
2022-02-17 15:15:40 +08:00
a31ca21830 planner: support sysdate behavior according to sysdate_is_now (#31881)
close pingcap/tidb#31872
2022-02-16 18:53:39 +08:00
90f4c5d12b expression: support push down tikv supported functions (#32348)
ref pingcap/tidb#31846
2022-02-16 11:11:40 +08:00
954e1e1e82 expression: fix retType of buitin func with JSON (#32301)
close pingcap/tidb#32281
2022-02-15 13:17:38 +08:00
2f0c23da24 executor: migrate test-infra to testify for stale_txn_test (#32285)
close pingcap/tidb#28618
2022-02-14 16:49:38 +08:00
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