Commit Graph

63 Commits

Author SHA1 Message Date
5e55c2e847 expression: Support Sqrt, Ceil, Floor and CastIntAsReal push down to TiFlash (#25085) 2021-06-04 23:18:28 +08:00
9a1e57c021 expression: Support push function replace down to TiFlash (#25084) 2021-06-04 20:00:27 +08:00
6154335ac0 expression: Support push function year,day,datediff,datesub,castTimeAsString,concat_ws down to TiFlash. (#25097) 2021-06-04 10:22:27 +08:00
e2340c1d86 expression: Support cast string as real push down (#25096) 2021-06-03 20:30:26 +08:00
090892822b expression: support str_to_date push to TiFlash (#25095) 2021-06-03 18:28:26 +08:00
6a1ebeb020 expression: Support push fucntion unix_timestamp, concat down to TiFlash. (#25083) 2021-06-03 15:12:26 +08:00
xhe
96577f9d1d expression: try to fix TestExprPushDownToFlash tests (#24235) 2021-05-10 13:38:43 +08:00
bd2553734b expression: support enum pushdown (#22686) 2021-04-26 18:51:56 +08:00
1ec1a68135 expression: Fix incorrect pushdown function list. (#23982) 2021-04-14 16:29:53 +08:00
b128c3c4d0 expression: push down EXTRACT to TiFlash (#22832) 2021-03-12 19:44:55 +08:00
920b70d97c planner: set right null flag for constant value (#23172) 2021-03-12 16:10:55 +08:00
362883c245 expression, planner: allow pushdown count distinct when enumerate physical plans (#22867) 2021-03-11 19:22:55 +08:00
c3c3063b66 expression: set IsBooleanFlag for boolean scalar functions (#20706) 2020-12-07 17:22:48 +08:00
42d0208032 expression: fix builtin IF truncation of type len (#20743) 2020-11-19 16:47:33 +08:00
a53c1d05b1 expression: Support some cast functions push down to TiFlash (#20787) 2020-11-04 15:21:01 +08:00
f1c464a86a collation: add utf8mb4_zh_pinyin_tidb_as_cs collation interface (#20504) 2020-11-03 11:35:39 +08:00
4170007fb6 *: remove mysql.TypeDecimal (#18787) 2020-07-29 15:26:22 +08:00
b642045ff2 charset: add utf8_unicode_ci and utf8mb4_unicode_ci interface (#18678)
* add unicode_ci interface

* fix build

* fix check

* fix test

* change comments

* add test

* Update util/collate/unicode_ci.go

Co-authored-by: djshow832 <zhangming@pingcap.com>

Co-authored-by: djshow832 <zhangming@pingcap.com>
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
Co-authored-by: djshow832 <873581766@qq.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-24 17:16:03 +08:00
2d898ef971 expression: enable if/bitxor/bitneg pushdown for TiFlash (#17626) 2020-06-04 10:31:13 +08:00
f03677cc11 expression: push down expr json_length to tiflash (#17588) 2020-06-02 17:37:05 +08:00
f7ca1164b1 copr: fix push down function in integration test (#16533) 2020-05-13 22:04:23 +08:00
6a49bb4a84 *: fix a bug which causes function return truncated result (#17101) 2020-05-12 12:54:35 +08:00
f51c2001bf expression: return an error when finding some expressions cannot be pushed down to avoid panic (#16671) 2020-04-27 20:47:37 +08:00
31ff075d4f expression: fix wrong flen for case when function (#16352) 2020-04-17 23:04:03 +08:00
74626823f4 expression: fix collate bug in constant propagation (#15066) 2020-03-13 22:55:23 +08:00
a999ef6981 expression: support different expr push down for TiKV and TiFlash (#15174) 2020-03-11 16:16:03 +08:00
5dbe82b744 expression: push collation information down to TiKV and MockTiKV (#15125) 2020-03-05 20:02:31 +08:00
c8496fcc93 expression: add not null flag in PB when constant not null (#14912) 2020-03-03 17:07:09 +08:00
0daca24dc3 expression: set collation id to negative in tipb if new collations are enabled (#14883) 2020-02-26 10:07:15 +08:00
da2ed2b5bc expression: fully open CAST push-down switcher (#14672)
Signed-off-by: Lonng <heng@lonng.org>
2020-02-09 16:27:45 +08:00
d7206fb43b expression: use new metadata instead of implicit_args (#13962) 2019-12-09 13:51:40 +08:00
2418958354 expression: enable 19 functions push down (#13683) 2019-11-22 15:56:07 +08:00
95eab71d27 Enable 15 push down functions (#13496) 2019-11-19 17:35:01 +08:00
6b9703bc5f expression: panic in test mode if builtin function's PbCode unspecified (#13334)
Signed-off-by: Lonng <heng@lonng.org>
2019-11-12 15:31:12 +08:00
be128c6090 Revert "expression: open CAST push down switcher default (#12652)" (#13264)
This reverts commit a7854936bf6771f1716b11ab11775672de2e143c.
2019-11-08 15:52:25 +08:00
a7854936bf expression: open CAST push down switcher default (#12652)
Signed-off-by: Lonng <heng@lonng.org>
2019-11-07 20:07:16 +08:00
c01006acb0 expression: fix incorrect proto fields and add missing overflow handling for arithmatic functions (#12858)
Signed-off-by: H-ZeX <hzx20112012@gmail.com>
2019-11-06 17:39:14 +08:00
abab046991 expression: reduce the time of running the unit-test in expression package (#12848) 2019-10-21 21:14:29 +08:00
5ee0847cab expression: fix wrong result of Not/IsTrue/IsFalse functions (#10498) 2019-08-20 23:15:09 +08:00
1e403873d9 expression: reuse tipb.Expr 'val' to push down expression implicit parameters (#10790) 2019-06-21 12:55:14 +08:00
bb3a92d70f expression: add a failpoint switch to control expr push down in integration test (#10786) 2019-06-14 15:43:29 +08:00
29f14d4178 *: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' (#7965) 2018-11-09 16:32:21 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
5725b43c83 *: remove useless ExprType (#6313) 2018-04-18 18:56:43 +08:00
860e808e07 expression: remove mockKVClient (#6299) 2018-04-17 16:11:58 +08:00
67f920a650 executor: Improve the aesthetics of code review (#6137) 2018-03-31 17:06:19 +08:00
0553deeb42 *:improve code readability and unified aliases (#5997) 2018-03-15 10:52:36 +08:00
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
88b8740724 *: avoid the generation of mysql.TypeNewDate (#5705) 2018-01-23 21:41:02 +08:00
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +08:00