Commit Graph

80 Commits

Author SHA1 Message Date
d9ef107d39 *: replace compareDatum by compare, PR 11 (#30465) 2021-12-09 12:47:56 +08:00
bdfd3f6974 *: refine CharsetAndCollation (#29561) 2021-11-12 17:41:05 +08:00
e27af5e04f *: Replace the dbterror.ClassOptimizer.NewStd(mysql.ErrInternal) to a global constant. (#29593) 2021-11-12 13:19:06 +08:00
5e7a871c3d planner: refine warnings about can't push down to TiFlash. (#29285) 2021-11-01 00:02:50 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +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
3e41d1473f *: add option for enum push down (#24685) 2021-05-19 14:15:41 +08:00
bd2553734b expression: support enum pushdown (#22686) 2021-04-26 18:51:56 +08:00
920b70d97c planner: set right null flag for constant value (#23172) 2021-03-12 16:10:55 +08:00
f1c464a86a collation: add utf8mb4_zh_pinyin_tidb_as_cs collation interface (#20504) 2020-11-03 11:35:39 +08:00
2f067c0542 *: redact arguments for Error (#20436) 2020-10-21 14:44:08 +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
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
83ab488481 expression: fix implement of rand (#14565) 2020-02-04 16:38:53 +08:00
0adab37467 expression: open CAST string as real push down switcher (#14323)
Signed-off-by: Lonng <heng@lonng.org>
2020-01-06 11:28:02 +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
7f8c3c8083 expression: Enable 34 functions (#13970) 2019-12-24 22:04:09 +08:00
cc635dbc90 expression: enable round(real, int, dec) functions (#14028) 2019-12-17 10:47:26 +08:00
441028887a expression: remove useless true statement (#14059) 2019-12-14 11:37:43 +08:00
d7206fb43b expression: use new metadata instead of implicit_args (#13962) 2019-12-09 13:51:40 +08:00
5b6422df58 *: support read remote TiDB memory table of cluster (#13065) 2019-12-04 13:05:36 +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
5c521c8e43 executor: vectorized calculation the key for the group by items in hash aggregation (#12729) 2019-11-12 17:00:00 +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
7b17f64ec3 expression: push json_length to tikv (#13078) 2019-11-05 10:51:39 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +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
cd8c4e6e37 *: add a blacklist to disallow pushing down specific expressions (#10688) 2019-06-12 13:54:33 +08:00
e8d9a3f075 expression: check timezone when encoding timestamp datum (#10303) 2019-04-30 17:20:23 +08:00
ba26012231 expression: using pingcap/log and unify the log format (#9507) 2019-03-14 19:05:27 +08:00
9da174902a expression: fix timezone for timestamp constant when converting expression to pb (#9473) 2019-02-27 10:41:28 +08:00
d9e02b76dd expression: remove redundant "errors.Trace()" in "expression" package (#8609) 2018-12-07 12:20:31 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
06021c7cfe remove types.Row interface (#7170) 2018-07-27 13:45:03 +08:00
0b5a1251ee expression/aggregation: set PB field type (#7118)
Aggregation expression should set field type in PB.
2018-07-22 12:50:18 +08:00
8a326cae76 expression, util: handle err instead of panic in EncodeDecimal (#6758) 2018-06-05 19:38:30 +08:00
91493c9c31 expression: push builtin function IS_TRUE/IS_FALSE to TiKV (#6751) 2018-06-05 12:38:46 +08:00
30ff743f32 expression: push builtin function FLOOR down to TiKV (#6736) 2018-06-04 20:28:30 +08:00
941f1185b3 expression: push ABS to tikv (#6571) 2018-06-02 22:36:35 +08:00