Commit Graph

65 Commits

Author SHA1 Message Date
4fd9f789e5 *: remove useless else (#31715)
ref pingcap/tidb#31716
2022-01-17 17:11:44 +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
372c529c16 expression: add builtin function `json_merge_patch` (#24711) 2021-07-10 13:13:31 +08:00
985d42c343 types: fix json_unquote (#25875) 2021-07-06 16:13:28 +08:00
ca23f55d89 expression: add builtin function `json_pretty` (#24675) 2021-05-20 19:36:22 +08:00
9d391949cd expression: refactor logic about checking illegal mix collations (#16866) 2020-04-29 16:40:56 +08:00
7cc2c70041 expression: implement vectorized evaluation for `builtinJSONSe… (#15859) 2020-04-15 10:38:01 +08:00
73cd983e84 expression: implement vectorized evaluation for `JSONArrayAppe… (#16326) 2020-04-14 23:10:24 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
f58d9ffc65 *: add builtin function json_storage_size (#15248) 2020-03-15 10:00:23 +08:00
20703ee8a6 expression: return binary charset and collation if there is no string-type argument in DeriveCollationFromExprs (#15250) 2020-03-10 17:26:46 +08:00
664adfe477 expression: fix json_key not compatible with MySQL (#14556) 2020-01-20 21:30:03 +08:00
6b6a6982b4 expression: refactor JSON_QUOTE / JSON_UNQUOTE (#13688) 2019-12-05 11:23:31 +08:00
a0ea49c342 expression : fix bug in insert select union select. (#13632) 2019-11-20 20:36:03 +08:00
57327d122c expression: add builtin function json_valid (#12596) 2019-10-15 11:48:51 +08:00
d47f1687f3 expression: add built-in function json_array_insert (#11076) 2019-07-08 14:54:56 +08:00
ad20d9250d expression: fix a compatibility issue in JSON_CONTAINS (#10298) 2019-04-30 18:59:37 +08:00
a594287e9f expression/json: add builtin function JSON_SEARCH (#8704) 2019-04-18 19:48:01 +08:00
0a9569af43 expression: fix json_keys not compatible with MySQL (#10090) 2019-04-12 17:07:24 +08:00
e9653675dd *: remove errors.Trace in main handle path (#10033) 2019-04-04 14:27:15 +08:00
4cbe896b5b expression: fix json_contains_path not compatible with MySQL (#9992) 2019-04-02 19:46:31 +08:00
ec7514f603 expression: add builtin json_array_append (#9609) 2019-03-14 11:43:24 +08:00
0b363f1712 expression: add builtin function JSON_QUOTE (#7832) 2019-02-12 10:57:09 +08:00
30e8c8db40 expression:add support for JSON_MERGE_PRESERVE (#8931) 2019-01-11 15:03:57 +08:00
63e7dacf8d expression: do not set ParseToJSONFlag to a JSON column (#8564) 2018-12-12 13:36:44 +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
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
708611d898 expression: add builtin json_keys (#7776) 2018-10-18 23:54:00 +08:00
9fd4072acb expression: add builtin function json_length (#7739) 2018-09-27 09:23:45 +08:00
b3cda9a7dc expression: fix comments mistake (#7713) 2018-09-17 14:28:14 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
893d546222 expression: json builtin function archetypes (#7651) 2018-09-10 22:17:07 +08:00
30ae420242 expression: support builtin function json_contains_path (#7596) 2018-09-09 12:32:15 +08:00
3f5bd3bb28 expression: support builtin function json_contains (#7443) 2018-09-07 12:45:13 +08:00
06021c7cfe remove types.Row interface (#7170) 2018-07-27 13:45:03 +08:00
357d5df66b remove useless alias (#6473) 2018-05-05 22:36:54 +08:00
ffd47ec3b5 expression: refactor scalarFuncToPBExpr (#6290) 2018-04-18 13:33:48 +08:00
f21483e6ed expression: add Clone() for builtinFunc 2018-04-11 10:00:19 -05:00
0553deeb42 *:improve code readability and unified aliases (#5997) 2018-03-15 10:52:36 +08:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
fc6376981d *: remove GetSessionVars() in expression evaluation (#5683) 2018-01-22 11:04:32 +08:00
970e5b5684 *: replace JSON with BinaryJSON (#5460) 2017-12-21 15:20:17 +08:00
6ca4382dba *: fix update JSON field. (#5345) 2017-12-11 11:39:14 +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
ed7f68ca9b *: Add Row interface (#4859) 2017-10-23 11:36:28 +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