Commit Graph

105 Commits

Author SHA1 Message Date
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
e071841317 planner: fix redudent planID for partition table in optimizer trace (#36711)
close pingcap/tidb#36759
2022-08-04 15:50:06 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
624171abcc *: decouple planner/core from ddl package (#36608) 2022-07-27 21:15:12 +08:00
0331f9a827 planner: add a dedicated source file for plan cache (#36577)
close pingcap/tidb#36537
2022-07-26 20:45:10 +08:00
2ba2a9ef56 planner: Manual revert of #24282 (#35298)
ref pingcap/tidb#22079, closes pingcap/tidb#33966, close pingcap/tidb#35181
2022-06-14 23:48:33 +08:00
de0e2005ef planner: use pdqsort to improve sort performance (#35137)
ref pingcap/tidb#34250
2022-06-07 02:18:30 +08:00
b7aa9faa57 planner: range columns partitioning with explicit collation fix (#32749) (#33742)
close pingcap/tidb#32749
2022-05-21 05:38:38 +08:00
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
7bf5e4e23e planner: Columns in string pruning (#32626) (#32721)
close pingcap/tidb#32626
2022-03-08 20:23:48 +08:00
493eb45c75 *: table partition dynamic prune mode with Physical Table ID from unistore (#31634)
close pingcap/tidb#29851
2022-03-04 01:21:46 +08:00
991132080f planner: don't decorrelate the APPLY when the inner's projection reference no column (#32370)
close pingcap/tidb#32089
2022-02-23 18:43:43 +08:00
a15f4fd2d7 planner: support column range partition pruning for builtin function IN (#31493)
close pingcap/tidb#26739
2022-01-20 20:07:46 +08:00
6b1010f405 *: enable golangci-lint prealloc (#31521)
close pingcap/tidb#29004
2022-01-11 01:09:41 +08:00
beb5451ee3 planner: revise the optimize trace output (#30882) 2021-12-22 15:47:47 +08:00
fa10cd18dc planner: add trace for partition pruning (#30546) 2021-12-16 17:02:36 +08:00
5d62c2a92f planner: fix early set of plan's statisticsTable (#30754) 2021-12-16 10:46:35 +08:00
2f42f7c0f6 planner: unify the argument of stats functions to use SessionCtx instead of StatementContext (#30668) 2021-12-14 19:36:35 +08:00
f82ca6a8eb statistics, util/ranger: add cardinality estimation trace for GetRowCountBy... (#30321) 2021-12-07 19:45:56 +08:00
d15ca2a869 planner: unify the argument of range functions to use SessionCtx instead of StatementContext (#29999) 2021-11-23 12:35:51 +08:00
00ece357e5 planner: make the error of access path miss more user friendly (#28879) 2021-11-17 11:53:46 +08:00
bdfd3f6974 *: refine CharsetAndCollation (#29561) 2021-11-12 17:41:05 +08:00
a4bd02e35c planner: add optimizer trace framework for logicalOptimize (#29559) 2021-11-12 12:35:06 +08:00
fdcf122f01 planner: fix the wrong partition pruning when some conditions is out of range (#28296) 2021-10-14 15:57:28 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
680de922ed *: fix license header (#28085) 2021-09-17 22:26:41 +08:00
ceaf670477 planner: fix the index-out-of-range panic when pruning list-partition with condition is null (#27730) 2021-09-07 17:38:57 +08:00
d8c9c59364 planner: generate tableDual when partition pruning failed (#26894) 2021-08-17 15:11:59 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
0e48cb22a9 planner: prune hash partition should consider unsigned flag (#27098) 2021-08-12 19:59:16 +08:00
6f8a760511 planner: handle over-flow errors correctly when pruning list partition (#27032) 2021-08-10 11:47:15 +08:00
33379b964a planner: handle over-flow errors correctly when pruning list-column partitions (#27025) 2021-08-09 17:55:14 +08:00
57576eb816 expression: fix output name for hidden column (#26354) 2021-07-20 14:55:34 +08:00
94453ef4f5 util/math: reduce redundant wrapper (#26026) 2021-07-08 11:41:29 +08:00
9acd2ec455 planner: fix the risk of integer overflow when locating partitions (#25599) 2021-06-22 11:20:54 +08:00
0490590b01 planner,executor: fix 'select ...(join on partition table) for update' panic (#21148) 2021-06-16 23:00:37 +08:00
5005bc08cb ddl: tidb panic while query hash partition table with is null condition (#23849) 2021-06-07 20:28:29 +08:00
18cbfaac15 *: enable gosimple linter (#24617) 2021-05-14 09:15:38 +08:00
a57dc3ab65 planner: prune partitions that will never be used (#24376) 2021-05-06 19:59:52 +08:00
207ce344cb planner: remove useless predicates after partition pruning (#24282) 2021-05-02 23:21:51 +08:00
ce13bc7400 planner: between .. and on int column can be used to prune hash partition (#24245) 2021-04-27 18:43:56 +08:00
37bf124b73 planner: fix the panic when we calculate the partition range (#23651) 2021-03-30 18:03:24 +08:00
a49effd47e planner, util/ranger: apply PushDownNot to condition before pruning partition (#23628) 2021-03-29 20:47:24 +08:00
44f81cb9d9 planner, table: optimize the list column partition pruner for range query (#22294) 2021-03-29 17:25:23 +08:00
32d54d2b78 planner: fix a panic caused by unmatched FieldNames and ColsInfo in partition pruning (#23242) 2021-03-11 14:47:25 +08:00
1e985673ea planner: fix query range partition table got wrong result and TiDB panic (#22953) 2021-03-09 18:30:55 +08:00
3f7a573caa planner: fix range partition prune bug for IN expr (#22894) (#22938) 2021-03-03 16:22:55 +08:00
fdd
7daf7436da planner: fix panic while get part of partition key values (#22452) 2021-03-03 14:15:24 +08:00
4088c2011b planner: check index valid while forUpdateRead (#22152)
Signed-off-by: you06 <you1474600@gmail.com>
2021-01-12 15:09:59 +08:00