Commit Graph

43 Commits

Author SHA1 Message Date
3217bff3d0 expression: let testEvaluatorSuite run serially to avoid aff… (#11310) 2019-07-18 19:47:56 +08:00
7a6777de68 expression: make sleep function response to the kill statement (#10959) 2019-07-01 21:10:00 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
6bed56db1f expression: support JSON return type in case expression (#8355) 2018-11-21 14:07:05 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
c38f567645 expression: handle max_allowed_packet warnings for pad functions (#7171) 2018-07-31 15:12:31 +08:00
f4f1692fd1 *: remove FromID from expression.Column (#7157) 2018-07-30 11:06:02 +08:00
06021c7cfe remove types.Row interface (#7170) 2018-07-27 13:45:03 +08:00
5022b5b2cc expression: fix err code in Regexp()/RegexpBinary() (#6854) 2018-06-19 13:59:29 +08:00
5efab55a27 expression: Do not wrap a 'CAST As JSON' when input is already a JSON (#6678) 2018-06-07 11:10:50 +08:00
67f920a650 executor: Improve the aesthetics of code review (#6137) 2018-03-31 17:06:19 +08:00
6cb61dda15 expression: fix type infer for binary literal (#6151) 2018-03-27 11:30:00 +08:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
5db9ac2506 types,util/chunk: refactor Time for Chunk. (#5571) 2018-01-09 10:12:27 +08:00
02f6bb27c7 *: remove goCtx from session struct (#5174)
1. go context should not be stored
2. change Executor interface to Open(goctx.Context)
3. many other changes forced by this refactor
2017-11-22 02:17:38 -06:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05: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
1c99d41ca2 expression: Quit builtin function SLEEP when KILLed. (#4708) 2017-10-08 21:12:36 -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
56ed7f129d expression: change like function's behavior. (#4683) 2017-09-29 10:27:23 +08:00
6f84392d40 *: optimize SortExec (#4622)
* *: change key of orderByRow from "key []types.Datum" to "key []*types.Datum"

* address comment
2017-09-25 19:50:26 +08:00
069cc8b222 expression: open new expression framework by default (#4595) 2017-09-22 15:29:42 +08:00
c899e5bb16 expression: rewrite builtin function: MOD (#4407) 2017-09-21 09:48:51 +08:00
fc209cb1df *: rewrite hex and bit literals (#4415) 2017-09-07 16:28:24 +08:00
92bea5afa4 expression: rewrite builtin function: INTDIV (#4213) 2017-09-05 20:03:02 +08:00
55bbc41069 expression: adjust getFunction context.Context param position (#4400) 2017-09-01 16:03:19 +08:00
8584959c32 expression: remove builtin function: UNARYPLUS (#4152) 2017-08-11 19:35:52 +08:00
0d4fbd80f5 expression: rewrite builtin function: LAST_INSERT_ID (#4093) 2017-08-10 13:54:11 +08:00
f0fd27c5b5 expression: rewrite builtin function: SLEEP (#4096) 2017-08-09 19:37:17 +08:00
3c11ac5128 *: fix race with atomic global variables. (#4076)
* fix race.
2017-08-08 14:30:04 +08:00
71773cf33c *: change "AndAnd", "OrOr" to "LogicAnd", "LogicOr" respectively (#3874) 2017-07-25 15:53:02 +08:00
f331160eb9 expression, executor: rewrite built-in func length using new expression evaluation architecture (#3519) 2017-06-22 15:56:22 +08:00
703f7045e3 expression, plan: add switch for new expression evaluation architecture (#3438) 2017-06-12 14:27:06 +08:00
ab25fa9e90 expression: Make UUID() a dynamic function (#3207) 2017-05-04 10:16:28 +08:00
59154905aa *: rename table-driven tests name. (#3081) 2017-04-19 10:02:57 +08:00
da52b47c39 expression: make values function underministic. (#2753) 2017-02-28 15:07:03 +08:00
a202e5085a *:add parser and definition for: (#2677)
BENCHMARK, CHARSER, COERCOBILITY, COLLATION, ROW_COUNT, SESSION_USER, SYSTEM_USER

:q!
2017-02-20 10:41:32 +08:00
006436a14a expression: use isDeterministic interface. (#2570) 2017-01-30 15:42:45 +08:00
26d54c8866 expression,util/stringutil: move LIKE pattern match to stringutil package (#2548) 2017-01-25 22:28:36 +08:00
3c9bb15d29 expression: refactor functions. (#2556) 2017-01-25 20:34:41 +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