Commit Graph

13 Commits

Author SHA1 Message Date
a28ab3eb73 *: add GetArgs interface (#2343) 2016-12-29 19:10:01 +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
5230f5eabd variable: define StatementContext. (#2121)
StatementContext is used to hold statement execution mode and state.
As every computation need this, there are many API changes.
2016-11-29 14:25:38 +08:00
6dd4571a9a plan: handle type convertion when building index range. (#1964) 2016-11-07 20:32:09 +08:00
2456804b25 remove useless code. (#1745) 2016-09-20 21:42:57 +08:00
076e358324 plan: Fix a few bugs (#1555)
* plan: fix cost full range bug

* plan: fix like empty pattern

* plan: make more accurate cost

* plan: make more accurate cost in range[MinNotNull,MaxValue]

* executor: fix like convert to PB when pattern isn't a constant
2016-08-05 16:54:17 +08:00
04eccb93f0 plan: fix like empty pattern panic. (#1449) 2016-07-14 17:57:38 +08:00
xia
4b3d15a1e1 plan: add the exact match in building like range 2016-07-01 11:45:47 +08:00
234d0be5de *: Support build range, support betweenExpr, inExpr and likeExpr convert to scalarFunc (#1344)
* *: support build range, support betweenExpr, inExpr and likeExpr convert
to scalarFunc
2016-06-27 20:30:16 +08:00
fcfc5a7a74 plan: Add constant expression to access conditions (#1325)
* plan: add constant expression to access conditions
2016-06-17 11:18:44 +08:00
a4ce312d4b *: Push down where in newTableScan (#1320)
* *: tiny clean up

* *: push down where
2016-06-15 19:48:08 +08:00
e3597b6548 Add Datum.IsNull() fucntion (#1298)
Add IsNull function for Datum to simplify null check.
2016-06-07 23:35:25 +08:00
a71005710f plan: merge 'optimizer/plan' and 'optimizer' into one package. (#1300) 2016-06-07 20:49:05 +08:00