Commit Graph

77 Commits

Author SHA1 Message Date
f331160eb9 expression, executor: rewrite built-in func length using new expression evaluation architecture (#3519) 2017-06-22 15:56:22 +08:00
6f1bc82bc0 expression: wrap arguments when new built-in function (#3520) 2017-06-22 11:56:24 +08:00
703f7045e3 expression, plan: add switch for new expression evaluation architecture (#3438) 2017-06-12 14:27:06 +08:00
895a35415d expression: implement wrap Expression with cast functions (#3419) 2017-06-09 17:27:02 +08:00
ed2555a0ef *: add GetTypeClass() function for Expression interface (#3321) 2017-05-25 14:39:03 +08:00
06ec635583 expression, util: rewrite IsHybridType func (#3319)
rewrite IsHybridType func and move it from package util to expression
2017-05-24 22:06:51 +08:00
6dbff6149a expression: add castXXAsXXSig (#3329) 2017-05-24 17:58:42 +08:00
fb75f5a1c6 expression, util: implement new cast built-in function signatures (#3266) 2017-05-23 15:43:52 +08:00
ffee89b429 expression: add EvalDuration/EvalTime for expression (#3278) 2017-05-17 12:34:58 +08:00
d6ec37bb42 expression, util: refactor type resolver using new design (#3247) 2017-05-12 13:56:43 +08:00
33c2262b9e *: assign RetType for Constant/Column (#3201) 2017-05-05 12:01:01 +08:00
31314690a9 expression: remove baseExpr struct (#3202) 2017-05-03 16:15:53 +08:00
d1876810e3 expression: add EvalXXX functions for Constant and Column (#3128) 2017-05-03 15:17:06 +08:00
c646b59927 *: fix data race in join. (#3159) 2017-04-27 23:26:15 +08:00
b08ad4069a expression: add interfaces for refactoring typeinferer (#3094) 2017-04-26 09:53:29 +08:00
ee312bfd71 expression: Fix code style according to goword (#3123)
ref https://github.com/pingcap/tidb/issues/3120
2017-04-25 23:35:45 +08:00
7699d3fb76 *: refine EvalBool function. (#3139) 2017-04-25 22:07:17 +08:00
904101210b executor: fix decode row panic (#2961)
Index Schema may be replaced by aggregation schema, which may be longer than
original schema length, in this case decode row will panic.
2017-03-30 13:15:04 +08:00
da52b47c39 expression: make values function underministic. (#2753) 2017-02-28 15:07:03 +08:00
1c01055496 plan: add Contains function on Schema (#2588)
Improve readablity.
2017-02-04 14:25:12 +08:00
e68dcf77dc *: remove ctx from function args. (#2566) 2017-01-28 18:44:02 +08:00
461fd98bb0 *: rename the plan interface. (#2547) 2017-01-25 15:10:44 +08:00
fb429408c9 *: make schema as a pointer. (#2533) 2017-01-23 16:23:47 +08:00
96ee4446e3 *: refactor function. (#2499) 2017-01-22 18:10:38 +08:00
f145a32063 *: refactor apply plan and executor. (#2411) 2017-01-22 11:06:17 +08:00
52c267959b expression: refactor rest functions. (#2416) 2017-01-09 23:53:46 +08:00
1dd0945cf3 *: add unique key info into schema (#2376) 2017-01-06 17:36:39 +08:00
042280e1bf expression: add baseFunctionClass (#2361) 2017-01-03 11:21:14 +08:00
a28ab3eb73 *: add GetArgs interface (#2343) 2016-12-29 19:10:01 +08:00
7c87b92468 *: Use standard error code/message for incorrect function argument count error (#2335)
* *: Use standard error code/message for incorrect fuction argument count
error
2016-12-28 14:57:39 +08:00
5f96f67cbc *: change schema from []*Column to struct (#2321) 2016-12-27 14:02:19 +08:00
453a95ce8c *: merge packages of evaluator and expression. (#2322) 2016-12-26 12:35:29 +08:00
26e5c0c867 *: move evaluator's helper to expression package. (#2291) 2016-12-23 11:34:52 +08:00
a89fa8a8d3 *: refact insert logic (#2252) 2016-12-20 17:38:23 +08:00
35edefb757 *: rewrite the logic of set. (#2223) 2016-12-12 17:54:16 +08:00
74a1c9935d *: add StatementContext argument to functions. (#2157)
Add StatementContext argument to more functions where it is needed.
2016-12-02 23:28:11 +08:00
0b828d46f8 *: add context in baseplan, extract constant folder. (#2135) 2016-12-01 00:17:55 +08:00
3683d5f950 plan & expression: split the logic of column pruning and indices resolving. (#2051) 2016-11-23 18:01:27 +08:00
fdb74960a4 add a new expression type: Correlated Column. (#1973) 2016-11-17 12:42:12 +08:00
e17644716d refactor show clause. (#1940) 2016-11-10 11:14:37 +08:00
76f420595b *:support aggregate function push cross outer join. (#1899) 2016-11-01 17:59:12 +08:00
82971c4779 plan: support aggregation push down. (#1886) 2016-10-31 01:17:21 +08:00
406c5c4094 *: support common aggregation functions elimination. (#1843) 2016-10-20 15:58:34 +08:00
b8994bb139 *: Support stream aggregation. (#1735)
* *: Support stream aggregation.
2016-09-20 17:14:31 +08:00
5caa0f5e29 decide push down conditions during plan building phase. (#1731) 2016-09-18 10:35:52 +08:00
b99521846f *: Make golint work and happy. (#1721) 2016-09-13 18:11:47 +08:00
6b8e1cdd0a support constant propagation (#1652) 2016-09-07 17:30:24 +08:00
e33587ed47 support explain (#1632) 2016-08-26 11:19:23 +08:00
6e878144e5 support UPDATE and DELETE in new plan (#1582) 2016-08-19 14:35:39 +08:00
acbfe2394f add arguments buffer to avoid making new slice frequently. (#1539) 2016-08-02 17:20:11 +08:00