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
d3cb90559b
*: change Context method FinishTxn to CommitTxn and RollbackTxn. ( #1253 )
...
Makes it easier to read.
2016-05-24 13:17:01 +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
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
4f840a7754
*: Tiny clean up ( #1244 )
...
* *: Tiny clean up
* optimizer: update test
2016-05-20 12:59:01 +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
602da73640
store/tikv/mock-tikv: add coprocessor support. ( #1230 )
...
* store/tikv/mock-tikv: add coprocessor support.
2016-05-17 18:19:51 +08:00
f8d7a3c5ef
*: Fix unsigned int as PKColumn bug ( #1238 )
...
* *: Fix unsigned int as PKColumn bug
2016-05-17 14:41:11 +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
f6e7a331d0
codec: fix datum convert to float32. ( #1217 )
2016-05-10 16:07:18 +08:00
aa3ebc53da
executor: Parallelly run table lookup tasks ( #1212 )
...
* executor: Parallelly run table lookup tasks
2016-05-09 22:05:41 +08:00
690ab9f274
Parallel coprocessor request ( #1204 )
...
Send coprocessor requests parallely
2016-05-09 11:13:21 +08:00
6efa22c6c7
executor: run table lookup tasks concurrently if there is no limit. ( #1206 )
...
* executor: run table lookup tasks concurrently.
* executor: set NoLimit and OutOfOrder property for IndexScan plan.
And set index concurrency to 10 if out of order.
2016-05-09 10:40:33 +08:00
5e3a3693c1
fix the prob when tablesource is a plan ( #1202 )
2016-05-05 16:20:07 +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
3237b2c158
localstore: support seek reverse ( #1189 )
...
* localstore: support seek reverse
2016-05-03 19:36:04 +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
e742def024
add foreign key on update and on delete support ( #1152 )
...
* add foreign key on update and on delete support
2016-04-27 19:44:00 +08:00
42e4dfd428
forbid where condition to be pushed through outer join.
...
fix bug #1164 (#1167 )
2016-04-27 16:55:38 +08:00
f562161918
executor: make table lookup task size increasing. ( #1153 )
...
* executor: make table lookup task size increasing.
2016-04-26 15:55:37 +08:00
270ead000e
executor: Fix issue 1154 ( #1159 )
...
* executor: fix issue 1154
2016-04-26 13:07:05 +08:00
74aa91a0fc
xapi/xeval: fix empty value list. ( #1155 )
...
Fix empty value list.
Do not push value list if it has float32.
add test for float32
2016-04-26 09:35:19 +08:00
3671f3958f
xapi: support IN expression push down. ( #1147 )
...
* xapi: support IN expression push down.
2016-04-25 19:50:33 +08:00
3b25069f84
evaluator: avoid evaluate independent subquery multiple times. ( #1144 )
...
* evaluator: avoid evaluate independent subquery multiple times.
* ast: rename UseOuterContext to Correlated.
2016-04-22 12:51:18 +08:00
e344410318
Merge branch 'master' into hanfei/desc_pushdown
2016-04-22 10:49:24 +08:00