Commit Graph

261 Commits

Author SHA1 Message Date
1437d7e65b expression: open push down switcher for part of CAST functions (#13837)
Signed-off-by: Lonng <heng@lonng.org>
2020-01-02 11:43:43 +08:00
ae106f2e3b executor: support IndexMergeReaderExecutor (#12305) 2019-12-31 15:30:58 +08:00
fe764a97a3 *: only add union scan when dirty table is not empty (#14265) 2019-12-31 13:20:27 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
c994eb4802 license: add license for script files (#14252) 2019-12-28 18:38:13 +08:00
f18abc980d planner: fix row count estimation for unique composite IndexScan of IndexJoin (#14167) 2019-12-25 19:53:10 +08:00
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00
08be35d778 planner: fix wrong stats for physical union scan (#14093) 2019-12-19 10:37:16 +08:00
02408dbd04 planner: support cost model for Chunk encode format. (#13461) 2019-12-18 15:47:16 +08:00
9b7b2c0d50 planner/core: fix bug when using generated column in aggregate statement (#14111) 2019-12-18 14:46:47 +08:00
54e3531d0b planner: TIDB_INLJ hint does not work for smaller left table (#14023) 2019-12-17 20:05:48 +08:00
493c07c439 planner: correct row count estimation for inner child of index join (#13726) 2019-12-12 17:06:05 +08:00
c796205825 planner: fix bug for logical rule outer join elimination (#13947) 2019-12-10 15:56:26 +08:00
ebec6de11f *: rename IndexColName to IndexPartSpecification (#13941) 2019-12-10 14:22:44 +08:00
64da4b583f planner/cascades: implement PreparePossibleProperties in cascades planner (#13910) 2019-12-06 15:52:49 +08:00
7b09a11f17 planner,stats: don't re-calculate the index's ranges (#12856) 2019-12-04 17:19:48 +08:00
de862fc620 planner: do not push keep descending order to tiflash (#13572) 2019-12-02 13:44:28 +08:00
3d66e9b2e2 Disable automaxprocs log (#13800) 2019-11-29 20:15:55 +08:00
17fe696d8d Makefile: move the success message from explaintest to test (#13748) 2019-11-27 17:08:42 +08:00
e979cff6bb planner: add column mapping in explain result (#13640) 2019-11-27 16:39:19 +08:00
596fb64233 planner: support a hint to force using a IndexMerge path (#12843) 2019-11-27 15:44:25 +08:00
96069cd749 planner: reuse GroupBy Columns when build finalModeAgg (#13653) 2019-11-21 13:53:37 +08:00
0e0faeeb30 *: use filepath instead of path for file operations (#13590) 2019-11-21 13:20:37 +08:00
9a2c5e63bf fixed staticcheck errors in folder cmd (#13636) 2019-11-21 12:47:07 +08:00
889ad618cf planner: projection don't new unnecessary column (#13406) 2019-11-20 13:58:38 +08:00
9a7e382bc5 *: remove unused code (#13547) 2019-11-19 00:36:23 +08:00
bb841d7210 plugin: fix plugin build and load with go 1.13 (#13455) 2019-11-15 18:01:06 +08:00
2baaf1f048 planner: support hint for IndexHashJoin and IndexMergeJoin (#13238) 2019-11-13 21:21:04 +08:00
aca3f47292 *: Refactoring reading logic of virtual generate column (#12407) 2019-11-13 17:39:53 +08:00
dffc5152f2 planner: freeze the output order of UPDATE's select (#13166) 2019-11-11 23:09:21 +08:00
413643e25a planner: support point get by _tidb_rowid (#13360) 2019-11-11 19:37:29 +08:00
4dcd7d7938 planner: consider build hashtable using the outer side for outer join during plan building (#12883) 2019-11-08 17:43:53 +08:00
be128c6090 Revert "expression: open CAST push down switcher default (#12652)" (#13264)
This reverts commit a7854936bf6771f1716b11ab11775672de2e143c.
2019-11-08 15:52:25 +08:00
a7854936bf expression: open CAST push down switcher default (#12652)
Signed-off-by: Lonng <heng@lonng.org>
2019-11-07 20:07:16 +08:00
d81c131ddb *: upgrade etcd to v3.4.3 (#13213)
* *: upgrade etcd to v3.4.3

Signed-off-by: Neil Shen <overvenus@gmail.com>

* fix benchkv build

Signed-off-by: Neil Shen <overvenus@gmail.com>
2019-11-07 19:25:35 +08:00
ed070c496a planner: don't regenarate the same group by column when decorrelation (#12943) 2019-10-31 17:02:13 +08:00
6fd74f3e4c planner: support cost model for tiflash table scan (#12868) 2019-10-29 16:05:51 +08:00
36f0f37b40 expression, planner: remove some fields from `expression.Colum… (#12573) 2019-10-29 15:48:26 +08:00
e1ba309148 executor: make IndexHashJoin support keeping the outer order (#12349) 2019-10-17 14:48:24 +08:00
ae811b91c9 planner: fix constant propagation for AntiSemiJoin (#12728) 2019-10-17 11:03:48 +08:00
63d1b1d0a3 planner: do not convert filter to range for table scan with tiflash (#12682) 2019-10-14 16:11:33 +08:00
45bc789a0f planner: stream agg should not be pushed to double read (#12443)
For the following two reason, we should not push stream agg down to double read
- The aggregate will lost the handle information
- There's no sort operator. The second read is ordered with pk, not by index.
2019-10-12 19:22:04 +08:00
7ffa4500e6 planner: support a hint to read from tiflash in planner (#12479) 2019-10-11 16:36:35 +08:00
003a7dfb67 planner: fix bug the inner child can't keep order in index join (#12614) 2019-10-11 14:44:33 +08:00
1342cba5fe planner: set windowClause only in WindowFuncExpr (#11956)
* fix window

* tweak

* move test

* use filelist

* add explain test

* fix test

* fix

* fix

* fix test
2019-09-25 16:00:17 +08:00
1fe9773726 planner: introduce an individual physical plan for indexNestedLoopHashJoin (#12139) 2019-09-24 21:18:45 +08:00
8179558274 planner, executor: push limit down into IndexLookUpReader executor (#12262) 2019-09-24 14:16:16 +08:00
e086686ede *: tidy code,make code more go style. (#12300) 2019-09-23 21:24:10 +08:00
3eaa4d3012 planner: tiny code refine for contructIndexJoin (#12254) 2019-09-23 11:58:45 +08:00
8261a41223 planner: make every plan explainable (#12183) 2019-09-18 22:49:07 +08:00