Commit Graph

38 Commits

Author SHA1 Message Date
e687f908d3 *: tiny clean up (#1404) 2016-07-07 09:50:45 +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
a9aad12ba8 *: move tablecodec package out of xapi. (#1335) 2016-06-22 13:32:26 +08:00
a4ce312d4b *: Push down where in newTableScan (#1320)
* *: tiny clean up

* *: push down where
2016-06-15 19:48:08 +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
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
08bfa2f423 executor: Increase XTableScan default concurrency from 1 to 10 (#1269) 2016-05-30 16:56:32 +08:00
e22d8d06da *: xapi push down mysql.Duration and mysql.Decimal. (#1243) 2016-05-20 18:30:30 +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
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
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
f562161918 executor: make table lookup task size increasing. (#1153)
* executor: make table lookup task size increasing.
2016-04-26 15:55:37 +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
f0de6488cf reverse the ranges in localstore 2016-04-21 15:38:05 +08:00
e06f3aa140 Merge branch 'master' into hanfei/desc_pushdown 2016-04-21 14:48:01 +08:00
81df7532e1 support desc push_down 2016-04-21 13:45:32 +08:00
b01afcd47b xapi/xeval: support LIKE (#1080)
* xapi/xeval: support LIKE

* xapi/eval: only support simple like.

* *: address comment.
2016-04-21 10:34:35 +08:00
b51ab763df plan: support limit pushdown (#1105)
* plan: support limit pushdown
2016-04-20 13:32:20 +08:00
8d9bf2fd6d executor: xapi support desc ordered table lookup. (#1078)
* executor: xapi support desc ordered table lookup.

* *: fix golint comment.

* executor: fix push order for multi-column index.
2016-04-10 18:01:49 +08:00
f5daa55eb6 executor: support xapi expression push down. (#1069)
* executor: support xapi expression push down.

* *: address comment.

* *: fix subquery select from same table.

* executor: add break when matched.

* store/localstore: address comment.
2016-04-09 17:03:29 +08:00
0a9ece01c3 *: import 'github.com/pingcap/tipb/go-tipb' (#1067) 2016-04-08 11:07:16 +08:00
204ed5456b *: fix ddl test
Replace tablecodec TableToProto with ColumnsToProto, avoid index out of range panic.
2016-04-06 21:20:18 +08:00
dc8bd3e337 *: optimization, do not read not referenced columns. 2016-04-06 13:29:21 +08:00
1bd25a14d8 store/localstore: add local store xapi support. 2016-03-29 20:33:24 +08:00
3ee6c17389 executor: do not append max int64 handle as pb range. 2016-03-25 14:50:05 +08:00
64cf670b7e xapi/tipb: remove points in select request.
Points was introduced to reduce the data size if there are many point ranges.
But it makes code more complex than expected, and the reduced size is trivial compares to the total package size.

Remove it to simplify code.
2016-03-25 13:07:49 +08:00
0157bcddc1 executor: add XAPI executor. 2016-03-25 10:21:59 +08:00