Commit Graph

102 Commits

Author SHA1 Message Date
9b9c01100e plan: support topn push down in plan phase. (#1769) 2016-10-11 15:17:00 +08:00
471731b04e plan: consider limit during building physcial plan. (#1760)
Consider limit in CBO framework.
2016-09-26 21:53:17 +08:00
2456804b25 remove useless code. (#1745) 2016-09-20 21:42:57 +08:00
b8994bb139 *: Support stream aggregation. (#1735)
* *: Support stream aggregation.
2016-09-20 17:14:31 +08:00
ade11fe9f4 *: support history read. (#1734)
* *: support history read.

This commit only handles the case when scheme does not change.
Use history schema will be supported in the following PR.
2016-09-19 15:37:30 +08:00
5caa0f5e29 decide push down conditions during plan building phase. (#1731) 2016-09-18 10:35:52 +08:00
efa2db0b05 *: Rename xapi to distsql (#1725)
distsql is a more clear name.
2016-09-14 10:20:33 +08:00
4d22f97013 support heap sort in sql layer. (#1697) 2016-09-08 12:57:03 +08:00
ed4649e85d *: Support load data local (#1634) 2016-08-30 09:38:37 +08:00
f2d8b3c108 remove New*** from variable name. (#1644) 2016-08-29 10:18:45 +08:00
e33587ed47 support explain (#1632) 2016-08-26 11:19:23 +08:00
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