Commit Graph

323 Commits

Author SHA1 Message Date
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
0450ba0b47 *: unify "See url" format (#1391)
* *: unify "See url" format
2016-07-05 11:21:10 +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
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
107ad9662c implement logical plan. (#1366) 2016-07-01 15:13:27 +08:00
xia
259c721e6d plan: tiny clean up 2016-07-01 11:48:16 +08:00
xia
4b3d15a1e1 plan: add the exact match in building like range 2016-07-01 11:45:47 +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
cad94acb54 Store row data in single kv pair (#1347) 2016-06-28 11:15:09 +08:00
234d0be5de *: Support build range, support betweenExpr, inExpr and likeExpr convert to scalarFunc (#1344)
* *: support build range, support betweenExpr, inExpr and likeExpr convert
to scalarFunc
2016-06-27 20:30:16 +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
9c3285f0c9 plan: remove duplicate suite (#1342) 2016-06-23 16:20:41 +08:00
1f080550fb support dirty transaction. (#1339)
support dirty transaction.
2016-06-23 14:10:37 +08:00
a9aad12ba8 *: move tablecodec package out of xapi. (#1335) 2016-06-22 13:32:26 +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
e051784728 *: Tiny clean up (#1334)
* *: tiny clean up
2016-06-22 10:59:51 +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
b8bf59592f executor: implement ANALYZE TABLE (#1327) 2016-06-20 11:13:16 +08:00
fcfc5a7a74 plan: Add constant expression to access conditions (#1325)
* plan: add constant expression to access conditions
2016-06-17 11:18:44 +08:00
1e4eb0e91a plan/statistics: Add Statistics types. (#1322) 2016-06-16 19:02:23 +08:00
a4ce312d4b *: Push down where in newTableScan (#1320)
* *: tiny clean up

* *: push down where
2016-06-15 19:48:08 +08:00
67378982bf parser: add ANALYSE TABLE syntax (#1323) 2016-06-15 16:21:39 +08:00
921677399e Hanfei/apply (#1318)
add apply operator.
2016-06-15 15:23:05 +08:00
5b2794904b *: Support xapi first row aggregate function in local store. (#1317) 2016-06-14 13:01:25 +08:00
99e3071c42 move position of rewriter. (#1310) 2016-06-12 14:43:58 +08:00
241bd7754c *: rename aggrMap to aggMap and handle error (#1309) 2016-06-12 13:52:17 +08:00
9ec42dbc4c *: Tiny clean up (#1303)
* *: rename DbName to DBName and fix plan shadows.
2016-06-08 16:33:41 +08:00
c6637049ab plan: alloc plan ID in builder (#1301)
Avoid race condition.
2016-06-08 11:29:08 +08:00
e3597b6548 Add Datum.IsNull() fucntion (#1298)
Add IsNull function for Datum to simplify null check.
2016-06-07 23:35:25 +08:00
a71005710f plan: merge 'optimizer/plan' and 'optimizer' into one package. (#1300) 2016-06-07 20:49:05 +08:00
b5fbabc05e *: Remove plan.go/stmt.go/rset.go
Move interface into ast and remove interfaces.
2016-03-01 13:53:48 +08:00
68eb8e567e *: remove old code 2016-02-29 11:40:32 +08:00
64912c8597 *: Implement perfschema with MemoryTable 2016-02-29 10:28:30 +08:00
060833e906 Merge pull request #912 from pingcap/coocood/table-seek
*: add `Table.Seek` method and use handle for RowKeyEntry.
2016-02-21 21:59:40 +08:00
37585a0022 Merge pull request #909 from pingcap/coocood/show
executor: support Show statement.
2016-02-19 17:17:06 +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
58e667fb5f executor: support Show statement. 2016-02-18 15:49:19 +08:00
d1356f4307 performance_schema: code refactoring and remove old implementation 2016-02-02 15:25:51 +08:00
ab448aaa8c performance_schema: revised according to cuiqiu's comments 2016-01-25 17:59:28 +08:00
30337c9f07 performance_schema: revised according to liuqi, cuiqiu's comments 2016-01-25 17:11:58 +08:00
5c1bc1c086 performance_schema: initial empty tables 2016-01-25 16:24:10 +08:00
aa04996297 *: Address comments and fix a bug in show stmt
1. Address comments
2. Add charset info in show stmt result field. Workbench can run show stmt now.
2016-01-17 12:44:51 +08:00
50d858ff5c plan/plans: fix is null panic. 2016-01-04 16:02:05 +08:00
788b3de76c plan/plans: address comment. 2015-12-31 21:01:50 +08:00