Commit Graph

61 Commits

Author SHA1 Message Date
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
067daa4ff7 expression: push CEIL down to TiKV (#6607) 2018-05-24 16:12:58 +08:00
aa76a6eeba plan, executor: correlated column can be pushed down. (#6403) 2018-05-07 19:43:02 +08:00
357d5df66b remove useless alias (#6473) 2018-05-05 22:36:54 +08:00
5725b43c83 *: remove useless ExprType (#6313) 2018-04-18 18:56:43 +08:00
ffd47ec3b5 expression: refactor scalarFuncToPBExpr (#6290) 2018-04-18 13:33:48 +08:00
0553deeb42 *:improve code readability and unified aliases (#5997) 2018-03-15 10:52:36 +08:00
f763e878a8 plan: push down binaryliterals as varstring. (#5665) 2018-01-25 16:17:19 +08:00
4dd1fc208d codec, expression: support encoding a Chunk row (#5578) 2018-01-11 20:29:31 +08:00
f1e89cde19 *: use lower-case of github.com/sirupsen/logrus (#5400)
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus

* vendor: update pd

* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
12299b826a expression: support date_format push down (#5386)
* support date_format push down

* add expr_to_pb test

* Update vendor
2017-12-13 13:29:01 +08:00
8b15cb52b7 *: move StatementContext to its own package. (#5177) 2017-11-22 00:11:14 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
c4f29301eb expression: rewrite in behavior. (#4813) 2017-10-28 14:36:21 +08:00
0306bb0070 tidb: support a plan cache for prepared statements (#3956)
* tidb: support a plan cache for prepared statements
2017-10-24 00:55:51 -05:00
3e1d036336 *: log the caller of "terror.Log()" (#4729) 2017-10-10 11:26:43 +08:00
ca05619cdf expression: enforce error check (#4716) 2017-10-08 22:29:07 -05:00
45bdd69cde *: support signature push down. (#4495) 2017-09-25 18:58:42 +08:00
2762c44161 *: move aggregate functions to an individual package "aggregation" (#4549) 2017-09-18 15:07:35 +08:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00