Commit Graph

45 Commits

Author SHA1 Message Date
a968f91fc9 expression: remove useless functin fieldTypeFromPB (#9629) 2019-03-11 12:10:47 +08:00
0b363f1712 expression: add builtin function JSON_QUOTE (#7832) 2019-02-12 10:57:09 +08:00
d9e02b76dd expression: remove redundant "errors.Trace()" in "expression" package (#8609) 2018-12-07 12:20:31 +08:00
1f46efe156 expression: add builtin function JSON_DEPTH (#8347) 2018-11-26 20:25:59 +08:00
6bed56db1f expression: support JSON return type in case expression (#8355) 2018-11-21 14:07:05 +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
9fd4072acb expression: add builtin function json_length (#7739) 2018-09-27 09:23:45 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
3f5bd3bb28 expression: support builtin function json_contains (#7443) 2018-09-07 12:45:13 +08:00
a8012590dc *: fix union result when mix signed/unsigned columns (#7112) 2018-07-30 13:48:44 +08:00
b812cb517e expression, util: DecodeDecimal return real precision and frac (#6732) 2018-06-08 15:37:32 +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
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
e77da7a1a7 expression: add unsigned flag when convert uintPBConstant to Expression (#6071) 2018-03-16 13:04:01 +08:00
0553deeb42 *:improve code readability and unified aliases (#5997) 2018-03-15 10:52:36 +08:00
45dc066401 codec: improve the performance of decoding decimal (#5921) 2018-02-28 20:21:31 +08:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +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
6c68e41f73 store/tikv: use go fail for some tests. (#5280)
* store/tikv: use go fail for some tests.
2017-12-01 08:20:30 -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
64bc8cb6cb expression: remove "self" field in "baseBuiltinFunc" completely (#4766)
* expression: remove "self" field in "baseBuiltinFunc" completely

* address comment
2017-10-13 04:55:25 -05:00
ca05619cdf expression: enforce error check (#4716) 2017-10-08 22:29:07 -05:00
b4ad894b0a expression, plan: do come code clean and make golint happy (#4681) 2017-09-29 10:35:47 +08:00
45bdd69cde *: support signature push down. (#4495) 2017-09-25 18:58:42 +08:00
069cc8b222 expression: open new expression framework by default (#4595) 2017-09-22 15:29:42 +08:00
a8b09d2761 expression: reorganize error messages for non-existent functions (#4582) 2017-09-21 12:14:50 +08:00
0b04d1c6c7 expression: rewrite builtin JSON functions under the new framework. (#4367) 2017-09-06 14:42:35 +08:00
334dd056c7 *: update vendor for tipb. (#4391) 2017-08-31 15:41:24 +08:00
2b1886797e expression: tiny fix. (#4386) 2017-08-31 14:59:59 +08:00
d739d7fd17 *: support sig push down in mocktikv. (#4364) 2017-08-30 20:28:12 +08:00
43215118af *: support time constant push down in mocktikv (#4176) 2017-08-18 14:15:41 +08:00
23499743ee expression: clean code. (#4223) 2017-08-18 12:50:35 +08:00
c51d0f57ed *: support JSON in new expression architecture (#4089) 2017-08-10 15:56:53 +08:00
71773cf33c *: change "AndAnd", "OrOr" to "LogicAnd", "LogicOr" respectively (#3874) 2017-07-25 15:53:02 +08:00
247bf4afa2 expression, distsql: pushdown json_* functions. (#3492) 2017-06-20 17:23:07 +08:00
917b65c4a2 *: pass column index to kv store. (#3280) 2017-05-17 13:26:12 +08:00
33c2262b9e *: assign RetType for Constant/Column (#3201) 2017-05-05 12:01:01 +08:00
d88fdecb7b expression: fix pb2expr panic. (#3020)
every time we get builtinFunctionSignature, we should copy it.
A temp fix is to get function class directly.
2017-04-10 11:23:05 +08:00
3d21df2f74 expression: let store be able to use expression pkg. (#2999) 2017-04-06 17:52:28 +08:00