Commit Graph

46 Commits

Author SHA1 Message Date
cc8c38d6d8 executor: buffer snapshotChunk to avoid too many object memory allocation (#6312) 2018-04-18 19:42:46 +08:00
fe60be9f7f executor: remove Row (#6236) 2018-04-08 22:28:25 +08:00
ccf6da1a46 *: rename NextChunk to Next (#6214) 2018-04-03 20:00:30 +08:00
a90ecea7dd executor: remove some remained unused functions for removing Executor.Next (#6112) 2018-03-22 21:34:52 +08:00
c86da64bf5 executor: remove Next function for UnionScanExec (#5996) 2018-03-14 17:13:34 +08:00
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
12c87929b8 *:fix some golint && ineffassign && misspell to improve GoReport Result (#5867) 2018-02-23 19:31:05 +08:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
f1eefc147b *: handle dirty table in StmtTxn (#5711) 2018-01-31 02:30:06 -06:00
3ce567630b executor: store column's fieldType in executor (#5619) 2018-01-12 16:57:31 +08:00
c19307c41c util, executor: refactor Chunk.AppendRow to handle virtual row (#5563) 2018-01-05 12:35:21 +08:00
b0921f9d27 executor: implement NextChunk interface for UnionScanExec (#5432) 2017-12-26 20:08:11 +08:00
8f199befc9 executor: reduce a comparison in union scan (#5336) 2017-12-07 19:40:32 +08:00
fb610e6429 *: change executor Next() interface to Next(goctx.Context) (#5223) 2017-11-26 21:17:33 -06:00
cd914b6611 plan, executor: remove NeedHandle field (#5144) 2017-11-21 15:20:24 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
ed7f68ca9b *: Add Row interface (#4859) 2017-10-23 11:36:28 +08: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
2750de80bc *: tiny clean. (#4222) 2017-08-17 19:38:37 +08:00
e5ea06dec8 executor, plan: union scan reuse pk when it's handle. (#4185) 2017-08-17 13:07:51 +08:00
c7c248eb91 executor: change struct row to []types.Datum (#4072) 2017-08-09 18:37:57 +08:00
059f6dd2f1 executor, expression, plan: remove rowMeta from row (#3758) 2017-08-04 18:37:31 +08:00
c5e864539f executor: fix some bugs about new plan. (#3231) 2017-05-10 16:32:00 +08:00
ad52a2462c executor: add open inteferce for Executor. (#3221) 2017-05-09 21:13:22 +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
7699d3fb76 *: refine EvalBool function. (#3139) 2017-04-25 22:07:17 +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
fb429408c9 *: make schema as a pointer. (#2533) 2017-01-23 16:23:47 +08:00
5f96f67cbc *: change schema from []*Column to struct (#2321) 2016-12-27 14:02:19 +08:00
c24c90b4d3 tidb, variable: refactor retry, add TransactionContext (#2256) 2016-12-16 11:07:59 +08:00
d406c77c1f Revert "tidb, variable: refactor retry, add TransactionContext" (#2255) 2016-12-15 10:42:04 +08:00
ff0ceb1785 tidb, variable: refactor retry, add TransactionContext (#2254) 2016-12-15 10:35:57 +08:00
74a1c9935d *: add StatementContext argument to functions. (#2157)
Add StatementContext argument to more functions where it is needed.
2016-12-02 23:28:11 +08:00
cbf024e8f7 *: clean code. (#1987) 2016-11-10 15:38:22 +08:00
3bcb4bedd8 executor: let union_scan executor use its own schema. (#1925) 2016-11-02 13:26:11 +08:00
1550e76e6c executor: add comments in executor package. (#1876)
* executor: add comments in executor package.
2016-10-31 10:51:17 +08:00
b8994bb139 *: Support stream aggregation. (#1735)
* *: Support stream aggregation.
2016-09-20 17:14:31 +08:00
5caa0f5e29 decide push down conditions during plan building phase. (#1731) 2016-09-18 10:35:52 +08:00
f2d8b3c108 remove New*** from variable name. (#1644) 2016-08-29 10:18:45 +08:00
6e878144e5 support UPDATE and DELETE in new plan (#1582) 2016-08-19 14:35:39 +08:00
2f697eb987 support index scan. (#1440) 2016-07-13 18:16:51 +08:00
05353c271a executor: support new table scan executor (#1401) 2016-07-06 16:08:38 +08:00
1f080550fb support dirty transaction. (#1339)
support dirty transaction.
2016-06-23 14:10:37 +08:00
10359b0052 rewrite executor. (#1294)
* rewrite executor.
2016-06-07 20:32:15 +08:00
965e704412 executor: makes dirty table supports XAPI. (#1245) 2016-05-24 10:53:17 +08:00