Commit Graph

52 Commits

Author SHA1 Message Date
ecbee2e81a executor: don't reuse Executor in IndexLookUpJoin, remove doRequestForDatums() (#5031) 2017-11-10 14:21:35 +08:00
bbf0b92240 executor,store/tikv: opentracing for TableReader, IndexReader, IndexLookup executor (#4937) 2017-11-06 21:20:37 -06:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
0616a2fd15 executor, distsql: remove useless code. (#4991) 2017-11-02 19:40:59 +08:00
2339a703d8 *: remove useless code in executor. (#4982) 2017-11-02 15:48:59 +08:00
5ad1eb8e24 distsql: remove xeval (#4978) 2017-11-02 14:06:54 +08:00
1b87bc1d55 executor: fix a select bug when handle is MaxInt64 (#4835) 2017-10-19 21:38:55 -05:00
3e1d036336 *: log the caller of "terror.Log()" (#4729) 2017-10-10 11:26:43 +08:00
eb8df3519a *: prepare to enforce errcheck, part1 (#4670) 2017-09-30 16:23:37 +08:00
0fd5b5167e *: change the way transfer handle. (#4348) 2017-09-27 03:47:07 -05:00
6f84392d40 *: optimize SortExec (#4622)
* *: change key of orderByRow from "key []types.Datum" to "key []*types.Datum"

* address comment
2017-09-25 19:50:26 +08:00
040ad180aa *: use goroutine pool to avoid runtime.morestack (#3753) 2017-09-22 11:43:39 +08:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
7cdbcebec0 executor: fix a order by bug (#4470) 2017-09-07 23:44:38 -05:00
dba58e97fc executor: IndexLookUpExecutor refactor (#4305) 2017-09-06 03:45:10 -05:00
2750de80bc *: tiny clean. (#4222) 2017-08-17 19:38:37 +08:00
c7c248eb91 executor: change struct row to []types.Datum (#4072) 2017-08-09 18:37:57 +08:00
1eebb87156 ddl: remove backgroud worker, use delete-range to speed up something. (#3993) 2017-08-09 16:59:25 +08:00
059f6dd2f1 executor, expression, plan: remove rowMeta from row (#3758) 2017-08-04 18:37:31 +08:00
8adac8fe6c *: set low priority for expensive SQL and high priority for point get (#3881) 2017-08-02 13:53:36 +08:00
d8aaa222c8 *: make SET TRANSACTION ISOLATION LEVEL READ COMMITTED take effect (#3619) 2017-07-17 19:16:23 +08:00
bd64339e93 plan: first step of join auto-select. (#3623) 2017-07-10 15:21:22 +08:00
379914a5af *: fix timestamp column data and index inconsistent involving timezone (#3497) 2017-06-20 15:22:50 +08:00
4b4378fdd4 fix some typo and continue refactor variable name topn (#3505) 2017-06-19 18:31:12 +08:00
1183792524 executor: stop fetch handles after closing. (#3365) 2017-06-01 15:50:51 +08:00
3c7df1c302 executor, plan: support batch index look up join. (#3306) 2017-05-23 23:12:19 +08:00
665b137e0e fix jekins ci (#3229) 2017-05-10 16:40:42 +08:00
ad52a2462c executor: add open inteferce for Executor. (#3221) 2017-05-09 21:13:22 +08:00
0d6490efc4 *: interpret timestamp datum based on session's time_zone (#3167)
1. FromPackedUint don't consider time_zone any more, moved to Unflatten
2. use session's time_zone instead of time.Local
3. add a time.Location parameter to some Encode/Decode functions in tablecodec
2017-05-08 11:58:55 +08:00
dbcab85ba6 *: support index reader executor. (#3175) 2017-05-03 10:58:55 +08:00
858d76bbe3 executor: fixed comments warning. (#3187) 2017-05-01 19:19:32 +08:00
c237781cad plan, executor: make Analyze a Plan (#3130)
* executor: remove indexExec's depedency on indexPlan

* plan, executor: make Analyze a Plan

* address comment

* address comment

* fix gofmt
2017-04-26 10:36:44 +08:00
790cbd615a executor: initialize index scan concurrency. (#3097)
Index scan concurrency is not initialized, so the effective concurrency was 1.
For table lookup task, the concurrency should use table scan concurrency instead.
2017-04-20 21:03:04 +08:00
b698bb54c3 *: fix data race when defer cancel() is called (#3068)
* *: fix data race when defer cancel() is called

defer cancel() was introduced in this PR
https://github.com/pingcap/tidb/pull/3010
2017-04-17 17:17:07 +08:00
8cea9b8a42 plan, util: move IndexRange and TableRange to types package. (#3018)
Those types will be used in statistics later.
2017-04-08 17:18:51 +08:00
a168f413ba executor: reduce memory usage and GC overhead for hash join. (#2957)
Implemented and use MVMap to reduce GC overhead and memory usage for hash join.
2017-03-30 23:04:02 +08:00
904101210b executor: fix decode row panic (#2961)
Index Schema may be replaced by aggregation schema, which may be longer than
original schema length, in this case decode row will panic.
2017-03-30 13:15:04 +08:00
78f7eab61d *: refactor distsql and executor. (#2942) 2017-03-29 15:20:25 +08:00
9f17a88377 fix some typo in comments (#2943) 2017-03-29 08:55:49 +08:00
9f23ab74a9 store/tivk: wait task channel in Close (#2925) 2017-03-27 12:28:31 +08:00
6aa45e441c Make index serial scan concurrency configurable and fix golint errors. (#2928) 2017-03-27 00:57:19 +08:00
ed56d82fa7 sessionctx/variable: refine TiDB specific system variables. (#2915) 2017-03-24 12:57:33 +08:00
294334fe0b *: change standard "context" package to "golang.org/x/net/context" (#2890) 2017-03-20 13:03:51 +08:00
517e32b25c store,executor: tiny changes, consider ctx (#2748) 2017-03-08 15:22:29 +08:00
fb9cd85e2e *: Speed up the add columns phase (#2769) 2017-03-07 20:11:29 +08:00
e6ad664f8c executor: range task channel in XSelectIndexExec.Close. (#2775) 2017-03-06 13:35:05 +08:00
0282310e8b executor,localstore: use default value if column not found in row. (#2703) 2017-02-23 15:18:57 +08:00
94418b289f *: add a ctx parameter to distsql.Select, kv.Client and tikv.Client (#2699) 2017-02-22 16:02:22 +08:00
4f95252ab0 *: add Cancel method for tidb.Session, Canceled for context.Context (#2636) 2017-02-22 12:56:20 +08:00
624e7edebe executor: fix bug about topn pushing down. (#2693) 2017-02-21 14:54:56 +08:00