a71005710f
plan: merge 'optimizer/plan' and 'optimizer' into one package. ( #1300 )
2016-06-07 20:49:05 +08:00
041dfd97c1
executor: evaluate subquery before executing outer query. ( #1133 )
...
* executor: evaluate subquery before executing outer query.
So outer query can push down subquery values.
* evaluator: extract a function to evaluate subquery.
* evaluator: add comments on exported function.
2016-04-21 21:51:39 +08:00
0fa8df585a
evaluator: change SetDatum and implement ToBool, ToInt
...
Change SetDatum and implement ToBool, ToInt.
2016-03-11 19:58:40 +08:00
5a81a2f5d4
evaluator: change Get/SetValue to Get/SetDatum.
...
Chnage Get/SetValue to Get/SetDatum in evaluator.go .
2016-03-11 13:37:58 +08:00
af131d2127
executor: replace Executor interface{} with Datum.
2016-03-02 16:13:25 +08:00
e71e25e31c
util/types: new Compare implementation with Datum.
2016-03-02 10:22:21 +08:00
d9f98132ee
ast: introduce 'Datum'
...
Datum is a value box intended to replace 'interface{}' for better performance and easier to use.
2016-03-01 10:54:59 +08:00
a4503d3514
*: Address comment
2016-02-02 10:19:47 +08:00
0b60991c7c
*: Address comment
2016-02-01 17:40:52 +08:00
f7aab91490
Merge remote-tracking branch 'origin/master' into shenli/dev-subquery
...
Conflicts:
optimizer/optimizer.go
optimizer/plan/planbuilder.go
optimizer/resolver.go
2016-02-01 14:32:49 +08:00
7dc4196837
*: Support subquery in new plan
2016-02-01 08:47:23 +08:00