c2d4337c44
kv: update goleveldb/memdb repo which remove unnecessary rand.NewSource ( #1410 )
2016-07-07 17:45:00 +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
e687f908d3
*: tiny clean up ( #1404 )
2016-07-07 09:50:45 +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
5408833b9a
ddl: improve ddl test ( #1387 )
2016-07-05 11:21:50 +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
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
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
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
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
b8bf59592f
executor: implement ANALYZE TABLE ( #1327 )
2016-06-20 11:13:16 +08:00
1a706853ed
Rename err2 to err1 where possible ( #1331 )
2016-06-19 08:33:33 +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
39dee36f0b
tikv: Enable distributed agg function FirstRow ( #1319 )
2016-06-14 15:10:13 +08:00
5b2794904b
*: Support xapi first row aggregate function in local store. ( #1317 )
2016-06-14 13:01:25 +08:00
ce2378bddf
*: Refactor dist-agg partial result data layout ( #1314 )
...
Make result more compact.
2016-06-13 14:52:05 +08:00
58ef9b776d
*: Fix select with groupby but without aggregate function bug ( #1315 )
...
If there is groupby clause but no aggregate function, we should also return one row for each group.
2016-06-13 14:17:13 +08:00
004500171e
*: Refactor datum arithmetic codes and support Add/Div in xeval. ( #1311 )
...
Prepare for aggregate function sum/avg.
2016-06-13 11:24:07 +08:00
e953dee8bb
*: Enable distributed count with TiKV ( #1312 )
...
Push down count to TiKV
2016-06-13 10:09:09 +08:00
9ec42dbc4c
*: Tiny clean up ( #1303 )
...
* *: rename DbName to DBName and fix plan shadows.
2016-06-08 16:33:41 +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
22f3f914e4
*: Fix aggregate bug found in sqllogical test ( #1299 )
2016-06-07 20:46:32 +08:00
10359b0052
rewrite executor. ( #1294 )
...
* rewrite executor.
2016-06-07 20:32:15 +08:00
1e7a9b44b3
*: Fix xaggregate with index scan panic ( #1297 )
...
* *: Fix xaggregate with index scan panic
* *: Make gofmt happy
2016-06-07 18:29:51 +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
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
08bfa2f423
executor: Increase XTableScan default concurrency from 1 to 10 ( #1269 )
2016-05-30 16:56:32 +08:00
f09574d826
*: support sql mode ( #1263 )
2016-05-30 13:16:41 +08:00
86fe54dadc
*: Fix issue 1118 ( #1259 )
...
* *: fix issue 1118
2016-05-26 12:49:43 +08:00