Commit Graph

91 Commits

Author SHA1 Message Date
c90d91cba9 *: Support insert ignore (#1579)
Ignore duplicate key errors for insert ignore stmt, Fix #1570
2016-08-22 14:18:56 +08:00
e4ac5301ce remove useless code. (#1609) 2016-08-20 16:00:20 +08:00
6e878144e5 support UPDATE and DELETE in new plan (#1582) 2016-08-19 14:35:39 +08:00
e5085ad808 Merge branch 'master' into hanfei/false 2016-08-15 11:37:42 +08:00
d497d3d875 Fix nil point panic when store failed. (#1583) 2016-08-15 11:23:35 +08:00
c18dd04e04 optimize when condition is false constant. 2016-08-15 11:11:37 +08:00
b0e4096f3c fix bug of limit. (#1515) 2016-07-28 17:58:13 +08:00
2b4acb0caf support cbo (#1498) 2016-07-27 11:10:52 +08:00
ed8bda4035 support select lock. (#1466) 2016-07-18 15:50:44 +08:00
224fc0596b support semi-join for exists. (#1454) 2016-07-15 14:46:03 +08:00
2f697eb987 support index scan. (#1440) 2016-07-13 18:16:51 +08:00
05353c271a executor: support new table scan executor (#1401) 2016-07-06 16:08:38 +08:00
0450ba0b47 *: unify "See url" format (#1391)
* *: unify "See url" format
2016-07-05 11:21:10 +08:00
d04b0b997c *: support index length (#1350)
For string columns, indexes can be created that use only the
leading part of column values, using col_name(length) syntax
to specify an index prefix length
2016-07-02 13:26:40 +08:00
34ebc07aae support union and distinct in new plan. (#1345)
support union and distinct in new plan
2016-06-24 18:05:36 +08:00
1f080550fb support dirty transaction. (#1339)
support dirty transaction.
2016-06-23 14:10:37 +08:00
af7f2a2e89 correct "order by", "having", "group by"s' resolving rules. (#1326)
resolve order by/ having/ group by correctly.
2016-06-22 11:58:06 +08:00
dd6bfacdb8 *: refactor index, use TableInfo and IndexInfo to create an Index (#1333) 2016-06-21 15:26:20 +08:00
17af1cd67b *: Support NewTableDual and handle some new plans when their srcs are nil (#1329)
* *: support NewTableDual and handle some new plans' srcs are nil
2016-06-20 11:40:54 +08:00
921677399e Hanfei/apply (#1318)
add apply operator.
2016-06-15 15:23:05 +08:00
ce2378bddf *: Refactor dist-agg partial result data layout (#1314)
Make result more compact.
2016-06-13 14:52:05 +08:00
e953dee8bb *: Enable distributed count with TiKV (#1312)
Push down count to TiKV
2016-06-13 10:09:09 +08:00
a71005710f plan: merge 'optimizer/plan' and 'optimizer' into one package. (#1300) 2016-06-07 20:49:05 +08:00
10359b0052 rewrite executor. (#1294)
* rewrite executor.
2016-06-07 20:32:15 +08:00
6cefb905e1 *: support distributed aggregate function count (#1289)
support distributed aggregate function count and groupby on local_region
2016-06-07 16:19:48 +08:00
f9c31d9130 Hanfei/rewrite plan (#1272) 2016-06-01 13:12:55 +08:00
622f8fca2a *: refactor, move index and column into table package. (#1251) 2016-05-24 11:08:15 +08:00
965e704412 executor: makes dirty table supports XAPI. (#1245) 2016-05-24 10:53:17 +08:00
228f1d7026 support hash join in new plan (#1234)
* support hash join.

* fix some errors

* add test for predicate push down

* change substitutor...

* add bench mark

* change comment

* fix bug.
2016-05-19 15:43:16 +08:00
a9cb8eecb4 store/localstore: fix local region select table in desc order. (#1222)
* store/localstore: fix local region select table in desc order.
2016-05-16 11:49:44 +08:00
3bd7cf1822 executor, store/localstore: limit push down. (#1197)
* executor, store/localstore: limit push down.
2016-05-05 16:09:00 +08:00
4eab06df0d *: Fix issue 1135 (#1188)
* *: fix issue 1135

* tidb_server: set the logging level to error
2016-05-03 21:22:28 +08:00
dc885f4b9d change plan to DAG mode (#1180)
* change plan to DAG mode

* add error and comment
2016-04-29 15:39:22 +08:00
270ead000e executor: Fix issue 1154 (#1159)
* executor: fix issue 1154
2016-04-26 13:07:05 +08:00
3671f3958f xapi: support IN expression push down. (#1147)
* xapi: support IN expression push down.
2016-04-25 19:50:33 +08:00
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