Commit Graph

47 Commits

Author SHA1 Message Date
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
b7ed87de7c expression: migrate builtin tests (#29125) 2021-10-27 21:18:49 +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
00761c1c5d expression: empty CURRENT_ROLE (#25438) 2021-06-16 13:30:36 +08:00
f2694209a8 expression: set collation function flen (#22084) 2021-01-11 12:34:58 +08:00
62e4d588a8 Makefile: add unconvert to inspect unnecessary type convert (#16549) 2020-04-22 23:01:59 +08:00
25580ea5f4 *: Use a function to get the ONE, ZERO and NULL and fix the clone. (#16512) 2020-04-17 19:11:52 +08:00
fde73403fd expression: Add format_bytes and format_nano_time performance schema functions (#14975) 2020-03-06 11:50:46 +08:00
cbc2c03c36 expression: derive collation and charset information and support the Collation() builtin-func (#14905) 2020-02-24 19:35:49 +08:00
fe6ca65414 expression: implement the Coercibility() function (#14739) 2020-02-13 19:15:48 +08:00
ef56f3ece4 expression: implement vectorized evaluation for builtinBenchmarkSig (#13643) 2019-12-16 17:01:43 +08:00
5d5497bfeb expression: speed up unit tests under the expression package (#12887) 2019-10-23 03:56:31 -05:00
62f1a54680 expression: remove row-vec convertor and introduce Vectorized() to check if an expression supports vectorized evaluation explicitly (#11884) 2019-08-27 20:16:35 +08:00
5e54680ca3 expression: make baseBuiltinFunc support converting from row-based evaluation to vectorized evaluation 2019-08-14 15:02:44 +08:00
ae58fd01f1 expression: improve UT coverage of expression package to 80% (#10641) 2019-05-30 11:05:22 +08:00
778c3f4a5a privilege, executor: add SET ROLE and CURRENT_ROLE support (#9581) 2019-03-21 13:11:27 +08:00
0081e17b02 expression, planner: support builtin function benchmark (#9252) 2019-02-13 19:53:28 +08:00
ce622ec6d8 session: move more session vars to stmt context for retrying (#8034) 2018-12-10 16:39:43 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
19e4e2fa9f expression: MySQL compatible current_user function (#7801) 2018-10-16 13:53:07 +08:00
b3cda9a7dc expression: fix comments mistake (#7713) 2018-09-17 14:28:14 +08:00
06021c7cfe remove types.Row interface (#7170) 2018-07-27 13:45:03 +08:00
3299f860ff *: use chunk.Row instead of types.DatumRow in test files (#7139) 2018-07-24 21:45:33 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
25879d3649 expression: support builtin function ROW_COUNT (#4853) 2017-10-28 09:18:58 +08: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
60626912a7 expression, plan: remove "foldable" from "baseBuiltinFunc" (#4759) 2017-10-12 04:03:54 -05:00
e488bcc23d expression: some builtin functions can be folded (#4756)
* expression: unix_timestamp, utc_timestamp can be folded

* add mores exprs

* add non-cacheable functions
2017-10-12 01:18:26 -05:00
3f4bdf6150 expression: rewrite unit test for Minus and Plus (#4691)
* expression: rewrite unit test for Minus and Plus

* move code
2017-09-30 11:47:26 +08:00
de86e7d897 expression, plan: rewrite builtin function: FOUND_ROWS, DATABASE, CURRENT_USER, USER, CONNECTION_ID, VERSION (#4395) 2017-09-02 08:30:13 +08:00
55bbc41069 expression: adjust getFunction context.Context param position (#4400) 2017-09-01 16:03:19 +08:00
f0aad43fec expression: change isDeterministic to canBeFolded (#4393) 2017-08-31 20:35:13 +08:00
a88ebb1cf6 *: use structure to store user identity (#4078)
*: use structure to store user identity
2017-08-14 03:37:36 -05:00
d5b860b126 expression: throw unsupported error during type infer stage (#4156) 2017-08-14 11:33:04 +08:00
0d4fbd80f5 expression: rewrite builtin function: LAST_INSERT_ID (#4093) 2017-08-10 13:54:11 +08:00
bde940f399 Add a tidb_version() function to show tidb-server info (#3592) 2017-07-17 17:07:54 +08:00
3602c20225 expression: add unit test for builtin_info.go (#3735) 2017-07-13 13:21:17 +08:00
20be357e86 expression: fix buildin function found_rows() (#3134)
fix issue #3131.
2017-05-02 11:40:10 +08:00
475d7e3842 expression: change test. (#2488) 2017-01-17 20:08:13 +08:00
e79a460a28 expression: change test for string_test. (#2458) 2017-01-17 14:27:25 +08:00
453a95ce8c *: merge packages of evaluator and expression. (#2322) 2016-12-26 12:35:29 +08:00
ffb8fddf87 expression: move builtin to builtin package, cannot run 2015-09-23 14:40:24 +08:00
f9e400d4b3 builtin: Support User() and Current_User() 2015-09-23 11:02:45 +08:00
0d46df9532 expression: rename package and remove import 2015-09-21 18:02:27 +08:00
6f531c4dab expression: move files in expressions to expression
No modification at all.
2015-09-21 17:42:09 +08:00