81df7532e1
support desc push_down
2016-04-21 13:45:32 +08:00
bfa3ed7a2d
*: Fix issue #1071 ( #1088 )
...
* *: fix issue#1071 and add tests
* util: use RoundFloat in the ToBool and add tests.
2016-04-14 16:56:24 +08:00
bdac8ecafa
Merge branch 'master' into hanfei
2016-04-12 14:17:33 +08:00
bebacf4f3a
evaluator: just one time eval ( #1062 )
...
* evaluator: just one time eval
2016-04-12 12:34:27 +08:00
3a92f567b9
executor: support limit sort
2016-04-12 12:09:25 +08:00
8d9bf2fd6d
executor: xapi support desc ordered table lookup. ( #1078 )
...
* executor: xapi support desc ordered table lookup.
* *: fix golint comment.
* executor: fix push order for multi-column index.
2016-04-10 18:01:49 +08:00
f5daa55eb6
executor: support xapi expression push down. ( #1069 )
...
* executor: support xapi expression push down.
* *: address comment.
* *: fix subquery select from same table.
* executor: add break when matched.
* store/localstore: address comment.
2016-04-09 17:03:29 +08:00
0157bcddc1
executor: add XAPI executor.
2016-03-25 10:21:59 +08:00
32c6ee2cbf
executor: support Explain
2016-02-24 17:46:59 +08:00
58e667fb5f
executor: support Show statement.
2016-02-18 15:49:19 +08:00
4f2f242fdf
executor: support DDL statements.
2016-02-17 16:36:26 +08:00
138a40eca7
*: Support grant stmt in new plan.
2016-02-17 14:51:07 +08:00
a60199f5cd
*: Support replace stmt in new plan
2016-02-17 10:43:21 +08:00
5461e6256b
*: Support InsertStmt in new plan.
2016-02-16 17:50:33 +08:00
3ba53a31b1
executor, optimizer: add simple plan and executor, implement UseStmt.
2016-02-15 17:32:00 +08:00
3b30b67518
optimizer, executor: support Union statement and Select Distinct.
2016-02-15 13:30:08 +08:00
f164aa5f1e
*: Support delete in new plan
...
Move DeleteStmt from old plan to new plan.
2016-02-15 11:41:52 +08:00
7751cce4d4
Merge branch 'master' into coocood/new-update
...
Conflicts:
optimizer/plan/plans.go
2016-02-05 17:54:18 +08:00
51a3148866
executor: support 'UPDATE' statement.
...
A test case is Skipped, which will be fixed in following PR.
2016-02-04 14:21:54 +08:00
502e810489
*: Support subselect in from clasue in new plan.
2016-02-04 00:11:10 +08:00
0b04a20174
optimizer, executor: address comment.
2016-01-28 20:19:09 +08:00
b61dbb569d
Merge branch 'master' into coocood/join
...
Conflicts:
optimizer/optimizer.go
2016-01-26 14:30:36 +08:00
e1122c2cf0
optimizer/plan: implements join
2016-01-26 13:22:31 +08:00
b63b4d47fc
*: Support having clause in new plan
2016-01-20 15:42:28 +08:00
17d3fdbca2
executor: extract buildFilter method.
2016-01-19 12:37:13 +08:00
b52bd36000
optimizer: remove filter plan.
2016-01-18 16:22:53 +08:00
fa5283e0d9
optmizer: refactor optimizer.
2016-01-18 14:49:19 +08:00
df975640f8
Merge remote-tracking branch 'origin/master' into shenli/group-by
2016-01-14 10:45:28 +08:00
f1d114a331
*: Support GroupByClause in new plan.
2016-01-14 10:25:06 +08:00
4bb35f1ae4
*: clean up executorBuilder.build and fix typo.
2016-01-12 00:01:08 +08:00
4f0e90a95f
Merge remote-tracking branch 'origin/master' into shenli/dev-agg-count
...
Conflicts:
executor/executor.go
2016-01-11 14:00:53 +08:00
f996a0ce9c
*: Support count aggregate function in new plan and add unit tests.
2016-01-09 11:26:35 +08:00
d7fecbdbea
*: address comments
2016-01-06 17:34:08 +08:00
aba44d445c
Merge branch 'master' into zimuxia/inspectkv-sql
2016-01-06 12:46:32 +08:00
0d3070a720
Merge branch 'master' into coocood/pk-handle2
...
Conflicts:
executor/executor.go
2016-01-04 11:48:10 +08:00
9b17f3f319
executor: clean up.
2016-01-02 10:44:13 +08:00
10c8f3a4c7
executor: refine table scan executor.
2015-12-30 15:52:35 +08:00
e882caf8ff
*: Unify PK and handle Phase2
...
Support table range scan.
Avoid creating PK handle index.
2015-12-29 22:40:10 +08:00
8993f0e148
*: add test
2015-12-29 20:40:36 +08:00
246694cd88
executor: support admin check table and admin show ddl
2015-12-29 11:43:23 +08:00
d1eb161fad
*: plan support admin check table and admin show ddl
2015-12-25 18:14:52 +08:00
cce746ee8a
Merge branch 'master' into coocood/prepare
...
Conflicts:
session.go
2015-12-22 13:24:57 +08:00
abc4701b00
executor: make seek value with the same length of the index columns.
...
For composite index with 2 columns, if we just pass one value in `Seek`, we will get the wrong result.
So this change create the seek value with the length of the composite index.
2015-12-21 13:10:40 +08:00
dcdb32dbde
plan. executor: support prepared statement.
2015-12-18 16:56:08 +08:00
d98c7f5fac
executor: handle multi column index
...
Multi column index scan was handled in `IndexScan` plan but not handled in `IndexScanExec` executor.
2015-12-10 17:35:46 +08:00
4f565159d0
optimizer, executor: remove panic and Fatal, returns error instead.
2015-12-09 14:53:41 +08:00
987322b5b0
executor: fix build
2015-12-07 18:50:07 +08:00
949d92d6df
optimizer, executor: replace panic with log.Fatal
2015-12-07 18:39:51 +08:00
429716fc37
optimizer, executor: address comment.
2015-12-07 16:16:34 +08:00
0c265b9b42
optimizer, executor: fixes between range.
2015-12-07 14:41:04 +08:00