Commit Graph

552 Commits

Author SHA1 Message Date
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
648bee53b2 add stream agg executor. (#1730) 2016-09-18 12:49:57 +08:00
4d22f97013 support heap sort in sql layer. (#1697) 2016-09-08 12:57:03 +08:00
3e3ae885f4 *: make race with debug level (#1687)
* *: make race with debug level

* *: fix the problem of compatibility on the Mac

* ddl: pass make race
2016-09-05 15:42:47 +08:00
89f840e6a0 fix the bug of double read with order and limit (#1681) 2016-09-02 17:53:14 +08:00
9ca75f13bb fix a bug about double read index. (#1680) 2016-09-02 16:30:59 +08:00
645b939253 *: simple LOAD DATA escape support (#1658) 2016-09-02 09:57:42 +08:00
5a3f87d099 support unhex. (#1675) 2016-09-01 19:25:04 +08:00
ed4649e85d *: Support load data local (#1634) 2016-08-30 09:38:37 +08:00
2cec538e41 store/tikv: turn-off 'Sum' and 'Avg'. (#1635)
* store/tikv: turn-off 'Sum' and 'Avg'.

Those functions returns Decimal result and new Decimal has not been supported yet.

* executor: the old test expected result is wrong.
2016-08-25 09:21:48 +08:00
7c389ac756 fix a cob plan bug when executing join distributely (#1627) 2016-08-23 22:40:57 +08:00
40dd366203 executor: Use multiple goroutines to do join (#1591) 2016-08-22 15:03:11 +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
22c187e9c5 fix a bug 2016-08-15 14:12:38 +08:00
f3645267bd Remove useless index seek (#1556) 2016-08-08 10:27:39 +08:00
e2dfc21c25 resolve having correctly. (#1552) 2016-08-04 14:10:15 +08:00
d639c0aa54 support single index read. (#1538) 2016-08-02 16:13:50 +08:00
6499d8aea0 store/tikv: mantain lastTS in pd oracle. (#1530) 2016-08-02 13:21:52 +08:00
9a53a54fe7 fix a bug when push down conditions. (#1531) 2016-08-01 17:18:09 +08:00
9574322317 support join reorder. (#1522) 2016-08-01 15:57:47 +08:00
b0e4096f3c fix bug of limit. (#1515) 2016-07-28 17:58:13 +08:00
60d0c97721 Hanfei/newplan (#1513) 2016-07-28 14:11:57 +08:00
2b4acb0caf support cbo (#1498) 2016-07-27 11:10:52 +08:00
7282f4283b add not push down during refining. (#1478) 2016-07-21 10:31:08 +08:00
35133ef397 support semijoin without aux column, support semijoin for insubquery. (#1461) 2016-07-19 11:36:32 +08:00
5896bb9b64 fix a panic bug for subquery. (#1468) 2016-07-18 18:45:18 +08:00
fea1d3e8ff fix a panic bug about subquery. (#1465) 2016-07-18 14:18:58 +08:00
11d642520b fix a bug that select null from a index table. (#1464) 2016-07-18 12:01:31 +08:00
04eccb93f0 plan: fix like empty pattern panic. (#1449) 2016-07-14 17:57:38 +08:00
2f697eb987 support index scan. (#1440) 2016-07-13 18:16:51 +08:00
e35c7ce6eb support nested subquery and fix bug of setting variable (#1412) 2016-07-09 20:25:51 +08:00
257df744bb fix bugs of insert and subquery (#1406) 2016-07-07 17:12:14 +08:00
db4cdcfaec parser: reduce memory allocation (#1408) 2016-07-07 16:42:30 +08:00
05353c271a executor: support new table scan executor (#1401) 2016-07-06 16:08:38 +08:00
6ab4cc5877 fix a lot of bugs about agg and having. (#1395) 2016-07-06 15:49:53 +08:00
452637dccb *: Convert RegexpExpr to ScalarFuntion and check the arguments length of builtin functions (#1388)
* *: convert RegexpExpr to ScalarFuntion and add check arguments length
2016-07-05 12:37:23 +08:00
5520e266dc *: Convert CaseExpr to ScalarFunction and clean up (#1377)
* *: support CaseExpr to ScalarFunction and tiny clean up
2016-07-04 15:15:44 +08:00
c72917d6e8 support cast and change the name of expression select field. (#1373) 2016-07-04 14:27:07 +08:00
01a42dfb8c *: Convert expression to pbExpr and implement builtin function (#1358)
* *: convert expression to pbExpr and implement the builtin function
2016-06-30 17:16:48 +08:00
a75f677900 support set variable, prepare and insert stmt. (#1359) 2016-06-29 18:26:47 +08:00
87bbb12057 support in subquery and compare subquery. (#1355) 2016-06-29 17:00:58 +08:00
0eac76eb22 support row expression. (#1349)
support row function and row expression.
2016-06-27 16:03:51 +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
95be5148ce process wildcard and gby correctly. (#1340) 2016-06-23 17:18:28 +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
39dee36f0b tikv: Enable distributed agg function FirstRow (#1319) 2016-06-14 15:10:13 +08:00