043ebd5ec8
*: Refactor package organization
...
1. Move evaluator from optimizer to root dir.
2. Move builtin from expression to evaluator.
3. Remove expression package.
2016-03-02 13:48:22 +08:00
77bedd0794
Merge pull request #914 from pingcap/zimuxia/show-ddl
...
*: Support show background DDL info
2016-02-22 11:40:01 +08:00
79eb12187b
*: rename GetDDLBgInfo to GetBgDDLInfo
2016-02-22 11:27:19 +08:00
9df628be49
executor: check error first then check found.
2016-02-20 12:28:09 +08:00
5d92bac8a5
*: support show ddl background info
2016-02-19 18:12:46 +08:00
b47cf737c8
*: add Table.Seek method and use handle for RowKeyEntry.
...
Avoid calling `table/tables` methods in `executor`, makes `Table` interface independent.
2016-02-19 14:31:04 +08:00
ec475aae5f
*: simplify 'table.Table` interface.
...
Makes it easier to implement a in-memory table.
2016-02-18 20:58:53 +08:00
a29743ac9e
executor: replace memkv.Temp with *distinct.Checker in DistinctExec
2016-02-15 13:56:10 +08:00
3b30b67518
optimizer, executor: support Union statement and Select Distinct.
2016-02-15 13:30:08 +08:00
7751cce4d4
Merge branch 'master' into coocood/new-update
...
Conflicts:
optimizer/plan/plans.go
2016-02-05 17:54:18 +08:00
b3d70cc8d7
*: Fix bug in AggregateExec.Close()
...
Pass sqllogic test select
2016-02-04 14:41:31 +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
43a6bf20d5
Merge pull request #884 from pingcap/shenli/dev-subquery
...
Support subquery in new plan framework
2016-02-02 10:39:27 +08:00
0b60991c7c
*: Address comment
2016-02-01 17:40:52 +08:00
cb57f7a4a2
executor: Close executor in join
2016-02-01 15:28:32 +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
0b04a20174
optimizer, executor: address comment.
2016-01-28 20:19:09 +08:00
8acdba3223
optimizer: address comment, fix null reject algorithm.
2016-01-27 17:35:44 +08:00
e1122c2cf0
optimizer/plan: implements join
2016-01-26 13:22:31 +08:00
207c7673b9
*: update error code.
2016-01-16 13:21:06 +08:00
f22b98a641
*: Address comment
2016-01-14 12:32:35 +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
6894ffab77
executor: tiny clean up.
2016-01-12 12:09:43 +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
18ff43a511
*: Address comments
2016-01-11 11:25:16 +08:00
f996a0ce9c
*: Support count aggregate function in new plan and add unit tests.
2016-01-09 11:26:35 +08:00
7066bb4ea4
executor: update log
2016-01-07 13:08:07 +08:00
d7fecbdbea
*: address comments
2016-01-06 17:34:08 +08:00
6e895bc997
executor: add test
2016-01-06 15:09:14 +08:00
aba44d445c
Merge branch 'master' into zimuxia/inspectkv-sql
2016-01-06 12:46:32 +08:00
896ee778a2
*: address comments
2016-01-06 12:40:10 +08:00
0d3070a720
Merge branch 'master' into coocood/pk-handle2
...
Conflicts:
executor/executor.go
2016-01-04 11:48:10 +08:00
a9f58a0be7
executor: address comment.
2016-01-04 11:33:23 +08:00
44fa34e4a6
executor: tiny clean up.
2016-01-02 09:09:48 +08:00
926fbab7c9
*: address comment, add more tests.
2015-12-31 12:01:06 +08:00
10c8f3a4c7
executor: refine table scan executor.
2015-12-30 15:52:35 +08:00
e0f944c260
*: update comments
2015-12-30 11:46:43 +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
be2039cf44
Merge branch 'master' into zimuxia/inspectkv-sql
2015-12-29 20:41:24 +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
bd3681ec0e
*: minor changes
2015-12-28 12:49:26 +08:00
48c8b75edb
*: reduce string bytes convert
2015-12-25 20:52:36 +08:00
d1eb161fad
*: plan support admin check table and admin show ddl
2015-12-25 18:14:52 +08:00
c4cf06cfc4
executor: fix error message typo
2015-12-23 18:34:01 +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