Commit Graph

210 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
99b1fa56b6 expression: push down left/right/abs to tiflash (#25018) 2021-06-04 11:54: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
5be8a65633 expression: support cast real/int as real (#24670) 2021-05-20 18:00:22 +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
26c0e7261d expression: Maintain separate scalar function pushdown lists for each engine instead of unified. (#23284) 2021-03-30 14:05:24 +08:00
b128c3c4d0 expression: push down EXTRACT to TiFlash (#22832) 2021-03-12 19:44:55 +08:00
3ad7f40140 expression: Add warning info for exprs that can not be pushed to storage layer (#22713) 2021-02-20 10:41:57 +08:00
8c2db1b935 expression: fix enum and set type expression in where clause (#22785)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2021-02-19 15:14:57 +08:00
e3108df576 planner: do not cache prepared plan if optimization depends on mutable constant (#22349) 2021-01-12 11:11:59 +08:00
aa6f585b41 expression: add annotations to inform user to import planner/core to initalize expression.RewriteAstExpr and expression.EvalAstExpr (#21789) 2020-12-18 10:46:05 +08:00
556ccccdeb expression: add implicit eval int and real for function dayname (#21806) 2020-12-17 14:52:04 +08:00
41eb594924 expression: handle hybrid field types for where clause (#21724) 2020-12-15 16:06:54 +08:00
c47ac4ad15 expression: enable coprocessor pushdown of function UUID (#21174) 2020-11-30 13:52:59 +08:00
d084651faf planner, expression: fix a bug causes schema change after DML (#21027)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-11-13 19:47:43 +08:00
3ef3e54b5e planner: don't push down null sensitive join conditions (#19620) 2020-11-12 17:16:31 +08:00
a53c1d05b1 expression: Support some cast functions push down to TiFlash (#20787) 2020-11-04 15:21:01 +08:00
4ff2f926e2 executor, expression: set the evalType of hybrid type as ETInt in VecEvalBool (#20221) 2020-09-27 11:31:16 +08:00
ab00d56628 support round function push down to TiFlash (#19616) 2020-09-11 12:46:29 +08:00
0c36203f1d expression: add new scalar function IsTruthWithNull (#19621) 2020-09-09 16:03:10 +08:00
853e0b4929 expression: fix errors in Apply when the type of correlation column is bit (#19331)
* fix apply panic

* fixup

* fix CI

* fix CI

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-02 09:20:32 +08:00
945f7cc4a0 ddl, tables: support the column type change between the integer types (#19059) 2020-08-26 21:30:14 +08:00
2b05ffd6e8 expression: cast json_extract as bool (#18948)
* fix mocktikv json expression

* fix issue 12233

* remove MysqlJSONS function

* add test case and fix literal to bool

* go fmt

* add more test case

* update test case
2020-08-07 16:53:48 +08:00
baf6c99b95 *: fix a bug causes indexed virtual generated column return wrong value and refine admin check table (#18408) 2020-07-24 12:59:47 +08:00
bca31eaf62 *: refine the behavior of StrToInt and StrToFloat and support convert JSON to date, time and timestamp (#17902)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-06-22 11:59:24 +08:00
978370f7cb executor: add new agg function APPROX_COUNT_DISTINCT (#17175) 2020-06-18 22:00:14 +08:00
a0ebf95785 expression: pushdown expr to tiflash without check new collation status (#17683) 2020-06-05 12:57:50 +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
692e0098b1 expression: avoid Order By constant expression error when pl… (#16261) 2020-04-21 20:04:23 +08:00
94011e6064 expression: fix the issue that incorrect result for query that uses an AND operator on floats (#15927) 2020-04-21 14:38:18 +08:00
bdbdbaed7f expression: fix the issue that incorrect result for a predicat… (#16014) 2020-04-17 22:43:32 +08:00
b8494e7a11 expression: support disable expression pushdown based on store… (#16389) 2020-04-17 14:53:25 +08:00
d26875db7e expression: fix error PushDownNot for contiguous NOT (#16108) 2020-04-15 17:52:14 +08:00
e63a10e931 Add the check for expression evaluation in some executors (#16339) 2020-04-15 10:46:02 +08:00
981abb4712 expression: ban collation expression push down to TiFlash (#15580) 2020-03-23 17:47:01 +08:00
280f4fa8ed copr: fix inconsistant behavior caused by push down dayname (#15326) 2020-03-12 16:03:03 +08:00
a999ef6981 expression: support different expr push down for TiKV and TiFlash (#15174) 2020-03-11 16:16:03 +08:00
1a92dc07df collation: fix wrong collation information used in expression calculation (#15006) 2020-03-02 17:30:04 +08:00
98f3420362 expression: disable Duration/JSON related function push down to tiflash (#14861) 2020-02-24 16:28:07 +08:00
fe6ca65414 expression: implement the Coercibility() function (#14739) 2020-02-13 19:15:48 +08:00
00ef8b6b92 expression, executor: correct the funcName for wrapWithIsTrue (#14515) 2020-01-17 17:12:50 +08:00
0feafcf11c expression: check ParamMarker in ConstItem when plan cache is enabled (#14200) 2020-01-06 20:54:39 +08:00
86ae838d5a planner/core: disallow using hidden column in insert statement (#14150) 2019-12-26 16:08:55 +08:00