Commit Graph

415 Commits

Author SHA1 Message Date
bca2f7250f logutil: InitLogger as a more abstract method, deprecated InitZapLogger (#25381) 2021-06-15 10:54:37 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
89394e4724 *: fix binding doesn't work for CTE (#25308) 2021-06-10 17:00:30 +08:00
11716e7f4a *: use full sampling as default analyze (#25132) 2021-06-06 00:34:27 +08:00
b07942836f planner: fix a panic caused by sinking a Limit with inlined Proj into IndexLookUp when accessing a partition table (#25063) 2021-06-04 13:54:27 +08:00
50b6da0f89 executor: add limit implementation for CTEExec (#24870) 2021-06-03 16:26:27 +08:00
dbb753fd02 executor: create PipelinedWindowExec (#23022) 2021-06-03 15:38:27 +08:00
ad7102cdee planner: generate correct number of rows when all agg funcs are pruned (#24937) 2021-06-02 18:20:26 +08:00
b4f3ea6f6b cmd: add tests for CTE (#24907) 2021-06-02 15:07:37 +08:00
5d7c852770 planner: keep the original join schema in predicate pushdown (#24862) 2021-06-01 16:55:37 +08:00
a80047c604 CTE: support explain CTE plan (#24986) 2021-05-31 19:03:36 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
23ce65724a planner: rewrite LIKE as range for expression index (#24250) 2021-05-24 17:25:33 +08:00
163eb5f03c planner: Implement PointGet in TryFastPlan for range/list paritition table (#24588)
* implement PointGet in TryFastPlan for range/list partition
2021-05-22 01:23:53 +08:00
0f10bef470 domain, session: Add new sysvarcache to replace global values cache (#24359) 2021-05-17 22:13:39 +08:00
392df99f04 cmd: ddl_test modify retryCnt from 5 to 20 (#24662) 2021-05-14 17:21:38 +08:00
f135c534a5 plan: merge continuous selections and delete surely true expressions (#24214) 2021-05-10 23:25:37 +08:00
b0dfa746bf *: fix gosimple check (#24460) 2021-05-10 12:56:43 +08:00
fb676b7697 Revert "planner: donot prune all columns for Projection (#24024)" (#24180) 2021-04-25 11:47:55 +08:00
336f30575f planner: fix index merge row count estimation logic (#23137) 2021-04-16 19:21:51 +08:00
4cd7fb0227 planner: donot prune all columns for Projection (#24024) 2021-04-16 18:17:52 +08:00
75a031af4a expression: check NotNullFlag of columns when simplifying binary operations (#24049) 2021-04-15 23:03:53 +08:00
045c6927ca planner: remove useless cast function in AggToProj (#23981) 2021-04-14 12:01:51 +08:00
f97496d0fc expression: Implementation of Vitess hashing algorithm. (#23493) 2021-04-06 23:00:32 +08:00
1e3921aff5 chore: Refactor code quality issues (#23445) 2021-03-27 15:51:23 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
6ba51c8eac plan: setting not null flag for extrak pk (#23237) 2021-03-18 17:27:36 +08:00
28c3748496 planner: remove some risky cache operations in the plan builder (#23354) 2021-03-18 15:35:11 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
9f7ed0f44a planner: push aggregation operators down to projection by default (#22090) 2021-03-17 16:20:56 +08:00
9c48b24cb1 *: add clustered index info in show index from stmt (#23329) 2021-03-16 20:16:55 +08:00
26ccbe972a *: create int primary key table as nonclustered by default (#23046) 2021-03-16 19:19:49 +08:00
f70177ec72 *: unify_log_lib (#23093) 2021-03-16 18:06:55 +08:00
5bafb3203e planner: show cast type in EXPLAIN in coptask (#23123) 2021-03-16 16:16:55 +08:00
920b70d97c planner: set right null flag for constant value (#23172) 2021-03-12 16:10:55 +08:00
1e985673ea planner: fix query range partition table got wrong result and TiDB panic (#22953) 2021-03-09 18:30:55 +08:00
50aec2b2d2 planner: enable column pruning for common handle (#22940) 2021-03-04 14:42:54 +08:00
24c9df147d *: refactor table.Table interface, clean up unnecessay methods (#22430) 2021-03-02 19:48:54 +08:00
93d3c04e99 cmd: fix err check (#22986) 2021-03-01 14:42:54 +08:00
e1004a2ccb *: modify the switch to control global stats (#22866) 2021-03-01 14:18:30 +08:00
5e832ed80a store/*: mv tikv_driver to dir store/driver (#22942) 2021-02-25 18:49:18 +08:00
806097c2e5 planner: fix wrong index merge selection (#22825) 2021-02-24 20:18:03 +08:00
8ea5930ea8 *: separate use of kv.Storage and tikv.Storage (#22891)
* *: separate use of kv.Storage and tikv.Storage

Signed-off-by: disksing <i@disksing.com>

* fix compile

Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: Shirly <wuxuelian@pingcap.com>
2021-02-24 17:54:03 +08:00
2d48f9573c planner: decorrelate LogicalApply with inner join as the inner child (#22649) 2021-02-24 15:42:03 +08:00
04e5137f48 *: use explain format = 'brief' for tests (#22677) 2021-02-22 17:50:06 +08:00
461cae15a7 planner, distsql: fix the behaviour of building ranges for TiFlash (#22725) 2021-02-21 18:29:46 +08:00
c9e85ec701 expression: refine performance of EXTRACT function (#22701) 2021-02-19 15:31:27 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
006e2fcd08 cmd: restore the old Execute API only for the test (#22692)
Signed-off-by: AilinKid <314806019@qq.com>
2021-02-05 16:05:40 +08:00
e62d1d472c *: add some explain tests for cluster index (#22720)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2021-02-04 17:10:21 +08:00