Commit Graph

49 Commits

Author SHA1 Message Date
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
xia
d7fecbdbea *: address comments 2016-01-06 17:34:08 +08:00
xia
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
xia
8993f0e148 *: add test 2015-12-29 20:40:36 +08:00
xia
246694cd88 executor: support admin check table and admin show ddl 2015-12-29 11:43:23 +08:00
xia
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
cf9a23d23b optimizer, executor: build ranges for more expression, pass more tests. 2015-11-26 20:02:28 +08:00
3ba316fe55 optimizer, executor: use index range 2015-11-25 21:44:55 +08:00
96ff5b0e25 executor: use index. 2015-11-24 14:16:27 +08:00
c6888526ec executor: pass more tests. 2015-11-17 21:50:00 +08:00
dc5565eb33 executor: use new plan for basic select. 2015-11-16 21:55:26 +08:00
c01af56fc3 executor, optimizer: new executor and optimizer implementation 2015-11-13 23:24:10 +08:00