Commit Graph

43 Commits

Author SHA1 Message Date
99c3bba7c7 xapi: Async fetch xapi result (#1599) 2016-08-19 17:16:38 +08:00
6b77129023 *: Use gogo Marshal/Unmarshal (#1605) 2016-08-18 22:04:59 +08:00
469580ffd0 Use gogo proto for tipb (#1603) 2016-08-18 18:03:40 +08:00
96fe96a6c4 *: Add keepOrder parameter for xapi.Select (#1596)
Not all xapi request should return in key order.
2016-08-17 17:27:16 +08:00
4a2f5ba1b7 *: Abstract coprocess result to interface (#1587) 2016-08-16 10:44:16 +08:00
39e4d52bd7 *: support index where and aggregate push down. (#1567) 2016-08-15 20:03:52 +08:00
61ada26dc4 Support sum in xapi. (#1409) 2016-07-08 19:59:13 +08:00
a9aad12ba8 *: move tablecodec package out of xapi. (#1335) 2016-06-22 13:32:26 +08:00
dd6bfacdb8 *: refactor index, use TableInfo and IndexInfo to create an Index (#1333) 2016-06-21 15:26:20 +08:00
1e4eb0e91a plan/statistics: Add Statistics types. (#1322) 2016-06-16 19:02:23 +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
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
7c7b1b59f5 *: Unify error (#1273)
* *: unify error format in table, server and xapi package

* terror: remove duplicated code
2016-05-31 15:06:11 +08:00
a05f3fde6d *: fix decimal fraction value. (#1271) 2016-05-31 10:29:02 +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
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
690ab9f274 Parallel coprocessor request (#1204)
Send coprocessor requests parallely
2016-05-09 11:13:21 +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
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
7e27211233 xapi/xeval: fix AND OR evaluator. (#1076)
* xapi/xeval: fix AND OR evaluator.

* *: simplify code.
2016-04-10 19:25:51 +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
a236ab94f3 xapi/xeval: implement tipb.Expr evaluator. (#1063)
* xapi/xeval: implement tipb.Expr evaluator.

* *: address comment

* xapi/xeval: update import
2016-04-08 14:25:17 +08:00
0a9ece01c3 *: import 'github.com/pingcap/tipb/go-tipb' (#1067) 2016-04-08 11:07:16 +08:00
08034540f0 *: Add leak test
* *: add leak test and tiny clean up

* *: unify test format and add leak test

Conflicts:
	store/localstore/compactor_test.go
	mysql/error_test.go
*: add leak test
2016-04-07 20:53:45 +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
76388c2856 Merge pull request #1036 from pingcap/zxylvlp/change-datum-bit
util: Reserve mysql.Time change.
2016-04-01 13:21:40 +08:00
df71593935 *: add tests for xapi 2016-04-01 11:26:29 +08:00
86f4459543 util: Reserve mysql.Time change. 2016-03-31 18:49:17 +08:00
1fcaa42bb3 *: Fix ddl test and inadvertently modify column info. 2016-03-30 19:21:29 +08:00
1bd25a14d8 store/localstore: add local store xapi support. 2016-03-29 20:33:24 +08:00
af6c1b36c7 xapi/tipb: renumber the fields, add Offset field. 2016-03-25 14:23:38 +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
1662e7ed68 xapi: add xapi functions. 2016-03-23 17:29:05 +08:00
7835c7fc06 xapi/tipb: add protobuffer files.
All known features are added, can be stable for a while.
2016-03-21 11:04:54 +08:00