Commit Graph

221 Commits

Author SHA1 Message Date
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
041dfd97c1 executor: evaluate subquery before executing outer query. (#1133)
* executor: evaluate subquery before executing outer query.

So outer query can push down subquery values.

* evaluator: extract a function to evaluate subquery.

* evaluator: add comments on exported function.
2016-04-21 21:51:39 +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
b78d02c110 executor: Fix show status bug (#1128)
* executor: fix show status bug
2016-04-21 11:13:06 +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
c26dfd54e4 executor: Change interface to datum in executor. (#1103)
Change interface to datum in executor.
2016-04-20 09:52:23 +08:00
bfa3ed7a2d *: Fix issue #1071 (#1088)
* *: fix issue#1071 and add tests

* util: use RoundFloat in the ToBool and add tests.
2016-04-14 16:56:24 +08:00
52d78136e5 executor: fix bug when the limit value is less than SortBufferSize. (#1085) 2016-04-12 19:37:11 +08:00
bdac8ecafa Merge branch 'master' into hanfei 2016-04-12 14:17:33 +08:00
19310f1511 change format 2016-04-12 13:27:07 +08:00
bebacf4f3a evaluator: just one time eval (#1062)
* evaluator: just one time eval
2016-04-12 12:34:27 +08:00
3a92f567b9 executor: support limit sort 2016-04-12 12:09:25 +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
0537b67d2b *: Add more info into TableInfo and fix bug in show create table (#1072)
Fix: https://github.com/pingcap/tidb/issues/1061
2016-04-09 15:59:51 +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
eb941fb12f *: Support mysqldump dump database
1. Fix bug in show tables like with escape char.
2. Parse but ignore sql_cache/sql_no_cache.
2016-04-07 16:25:49 +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
df71593935 *: add tests for xapi 2016-04-01 11:26:29 +08:00
1bd25a14d8 store/localstore: add local store xapi support. 2016-03-29 20:33:24 +08:00
xia
4319909e08 *: unify error format in infoschema package 2016-03-29 11:10:56 +08:00
92cfb941bb Merge pull request #1013 from pingcap/coocood/remove-select-points
xapi/tipb: remove points in select request.
2016-03-25 18:07:30 +08:00