Commit Graph

91 Commits

Author SHA1 Message Date
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
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
f3a0f1af78 executor: fix adapter statement. (#1292)
Implements `OrgionText`, 'SetText` and 'IsDDL`.
2016-06-06 11:35:07 +08:00
f9c31d9130 Hanfei/rewrite plan (#1272) 2016-06-01 13:12:55 +08:00
a05f3fde6d *: fix decimal fraction value. (#1271) 2016-05-31 10:29:02 +08:00
f09574d826 *: support sql mode (#1263) 2016-05-30 13:16:41 +08:00
965e704412 executor: makes dirty table supports XAPI. (#1245) 2016-05-24 10:53:17 +08:00
a98ecf8907 optimizer/plan: fix join panic (#1246)
* optimizer/plan: fix join panic
2016-05-23 15:37:10 +08:00
e22d8d06da *: xapi push down mysql.Duration and mysql.Decimal. (#1243) 2016-05-20 18:30:30 +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
cf6d1f5f97 *: do not set null column value to save storage space. (#1236) 2016-05-17 19:14:28 +08:00