Commit Graph

431 Commits

Author SHA1 Message Date
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
1f922559df executor: implement disk-based hash join (#12067) 2019-09-24 23:23:05 +08:00
1fe9773726 planner: introduce an individual physical plan for indexNestedLoopHashJoin (#12139) 2019-09-24 21:18:45 +08:00
d7ff17b2e6 planner/core: fix resolve rule for group by expression (#12307) 2019-09-24 16:03:45 +08:00
9d8ea995cb planner/core: adjust generated hints of join operators (#12318) 2019-09-24 15:55:45 +08:00
8179558274 planner, executor: push limit down into IndexLookUpReader executor (#12262) 2019-09-24 14:16:16 +08:00
06629d6ac4 *: check privilege when reusing the cached plan (#12211) 2019-09-23 20:36:45 +08:00
3eaa4d3012 planner: tiny code refine for contructIndexJoin (#12254) 2019-09-23 11:58:45 +08:00
0cb06e699d planner/core: fix point-get db privilege check (#12268) 2019-09-23 11:40:45 +08:00
8261a41223 planner: make every plan explainable (#12183) 2019-09-18 22:49:07 +08:00
da6a7bdcab planner: explain a physicalPlan with IndexMerge in "dot" format (#12248) 2019-09-18 16:06:15 +08:00
96d4b1fe3c planner: display cop tasks when explain format is "dot" (#12225) 2019-09-18 14:19:45 +08:00
ed9e973e50 util, planner: add more testSuite json files (#12247) 2019-09-18 13:59:46 +08:00
e685ce4ba3 planner: support basic Show in cascades planner (#12185) 2019-09-17 16:05:47 +08:00
15011b6c49 executor: new execution path for point execution within prepared plan cache (#11970) 2019-09-17 14:14:45 +08:00
e173c7f5c1 executor: add several sql hint related to session variables (#11809) 2019-09-17 13:39:16 +08:00
e2b1f7eff8 expression: change the String() method of expression.Column (#12089) 2019-09-16 14:30:22 +08:00
65edb2d83d planner: generate physical plan for IndexMergePath (#11245) 2019-09-12 14:06:45 +08:00
2c659858e5 planner: enhance the rule max_min_eliminate to support multiple agg (#12083) 2019-09-12 13:52:45 +08:00
81cc7bc6cf expression,planner/core: support unix_timestamp() function in partition pruning (#12035) 2019-09-12 13:37:49 +08:00
3fc05c47b6 planner: add IGNORE_INDEX hint (#12059) 2019-09-12 11:51:24 +08:00
c7518de4d5 planner: add AGG_TO_COP hint (#12043) 2019-09-12 11:36:50 +08:00
39e9c9fd7a *: add max/avg cop response time for TableReader, IndexReader and IndexLookupReader. (#12003) 2019-09-11 20:36:45 +08:00
836d5f7b58 planner/core: support generate hints from physical plan (#11936) 2019-09-11 17:53:29 +08:00
f2adf1df53 planner: improve row count estimation of IndexJoin's inner scan (#12085) 2019-09-11 17:10:46 +08:00
4621bf3953 planner/core: split test data from physical plan test (#12132) 2019-09-10 19:51:28 +08:00
68b709e097 planner: introduce cascades adapter model and implement handle range scan (#11566) 2019-09-10 15:34:53 +08:00
e6e3e63060 planner: split test data from test cases (#12091) 2019-09-10 15:30:26 +08:00
2307338ae7 planner: generate index path as candidate when it is a single scan (#12022) 2019-09-09 19:13:41 +08:00
1ef81a8620 *: replace word error in warning, info, debug logs (#12050) 2019-09-09 18:51:12 +08:00
bb5bfa4bd7 planner: consider agg func type in cost model (#12038) 2019-09-09 17:44:41 +08:00
4b911b8fdc planner: don't DoOptimze when build show (#12005) 2019-09-09 13:01:11 +08:00
619b9a92b3 *: fix typo of eliminator (#12071) 2019-09-09 10:20:11 +08:00
d2e8bc66b9 planner: choose TableScan when use an empty index hint (#12037) 2019-09-06 16:42:20 +08:00
702854f029 planner/core: add bit column test about display width range (#11985) 2019-09-06 16:08:19 +08:00
dd25ed0c16 planner: extract basePhysicalJoin for several physical joins (#12029) 2019-09-06 14:49:06 +08:00
b0a6481e35 planner: fix wrong request data type when pushing down avg aggfuncs (#12051) 2019-09-06 14:32:35 +08:00
5199e21a5e planner: Solve the problem that the parent query condition is pushed incorrectly when the setvar function is evaluated in the subquery.(#11622) (#11624) 2019-09-05 16:25:24 +08:00
e0b8267d95 planner: use *expression.Column instead of *IndexColumn (#11894) 2019-09-05 15:24:33 +08:00
80d47ffac9 planner: tiny refactor around check index (#11919) 2019-09-04 19:02:34 +08:00
0872b65ff1 planner: fix aggregation hint didn't work in some cases (#11996) 2019-09-04 14:08:35 +08:00
845061351d planner: support index_lookup_merge_join in physical plan. (#11338) 2019-09-04 13:46:05 +08:00
dffe29355a *: not send tso request when point get with max tso (#11981) 2019-09-03 23:11:49 +08:00
d9e7bd315e executor: support index nested loop hash join (#8661) 2019-09-03 13:45:53 +08:00
7372dcd6d2 Planner:eliminate redundant projection (#11920) 2019-09-02 20:16:35 +08:00
cfef1bc52f planner/core: add a range check against display width of BIT column type (#11942) 2019-09-02 17:19:31 +08:00
2a155f4eaf planner: use ExtraHandleColumn as PK when generating TablePath (#11959)
* use ExtraHandleColumn as PK

* fix fmt

* move unittest to explaintest
2019-09-02 17:03:06 +08:00
b239f2f04d planner: split avg to count and sum for TableReader cop task (#11926) 2019-09-02 16:16:05 +08:00
bb84d1bdba planner: allow insert default into generated columns (#11901) 2019-08-30 17:45:40 +08:00
dc1f8ff031 planner: don't prune sleep function in LogicalProjection (#11927) 2019-08-30 16:35:06 +08:00