Commit Graph

711 Commits

Author SHA1 Message Date
tpp
34ef14a1bb planner: fix cost adjustment for high risk tablescan (#57086)
close pingcap/tidb#57085
2024-11-06 04:42:25 +00:00
6004c3e109 planner: update the plan_clone_gen file (#57141)
ref pingcap/tidb#54057
2024-11-05 23:23:58 +00:00
c45d62f7d2 executor,planner: Fix tiflash plan with limit operator may lose execution summary problem (#57101)
close pingcap/tidb#50455
2024-11-05 09:37:24 +00:00
8a62d5a7bc exeuctor: add a helper variable to help ga hash join v2 step by step for all kinds of join types (#57116)
ref pingcap/tidb#53127
2024-11-05 08:19:19 +00:00
365142735e planner: add generated hash64 and equals implementing for logical apply. (#57093)
ref pingcap/tidb#51664
2024-11-04 07:40:11 +00:00
f2621faf62 planner: add a panel to display the fine-grained operation duration of the Plan Cache (#57070)
ref pingcap/tidb#54057
2024-11-04 05:55:33 +00:00
1961f5e67c planner: add more test cases for Instance Plan Cache (#57080)
ref pingcap/tidb#54057
2024-11-04 03:55:55 +00:00
241c10294b planner: generate the hash64 and equals for logical aggregation. (#57074)
ref pingcap/tidb#51664
2024-11-01 16:22:55 +00:00
dcf077f115 planner: add equals function generation logic for logical operator. (#57057)
ref pingcap/tidb#51664
2024-11-01 07:08:36 +00:00
e92e2d07c2 planner: add auto hash64 and equals generator for logical operators. (#57004)
ref pingcap/tidb#51664
2024-10-31 15:17:00 +00:00
aa833950e4 planner: add apply's hash64 and equals interface implementation (#56990)
ref pingcap/tidb#51664
2024-10-30 09:15:57 +00:00
248000c998 planner: add memo_expr to represent the unified logical op and group expression (#56961)
ref pingcap/tidb#51664
2024-10-30 06:48:21 +00:00
tpp
8fde2d6fa2 planner: set min for high risk plan steps (#56631)
close pingcap/tidb#55126
2024-10-29 18:08:36 +00:00
0db93dc4e8 planner: add hash64 and equals test for logical join (#56871)
ref pingcap/tidb#51664
2024-10-29 10:40:24 +00:00
e1c44f730c ddl, planner: avoid running queries on the non-Public state table (#55891)
close pingcap/tidb#55813
2024-10-29 09:40:15 +00:00
a9c9208ac2 planner: convert schema_name from NULL to "" for index advisor (#56943)
ref pingcap/tidb#12303
2024-10-29 07:47:27 +00:00
cc370993fe cardinality: remove the unnecessary limitation that the "exponential backoff" entry stats can't use iteself for estimation (#56850)
close pingcap/tidb#56915
2024-10-28 18:47:31 +00:00
484c1ae88e executor: fix issue that query slow_query table return wrong result (#56356)
close pingcap/tidb#56100
2024-10-28 17:12:30 +00:00
cc4e5a0843 planner: add more test cases for plan cache (#56914)
ref pingcap/tidb#54057
2024-10-28 10:23:10 +00:00
13a38ed8e5 planner: add base rule implementation and move task pkg into cascades (#56800)
ref pingcap/tidb#51664
2024-10-28 09:31:37 +00:00
2de388bebc executor: ignore foreign key error in UPDATE/INSERT/DELETE ignore (#56682)
close pingcap/tidb#39712, close pingcap/tidb#56678, close pingcap/tidb#56681
2024-10-28 09:31:24 +00:00
5ab6738d15 planner: add more test cases for plan cache (#56869)
ref pingcap/tidb#54057
2024-10-28 08:36:43 +00:00
33c30ee2ab *: Allow Point_Get during DDL with Global Index (#56382)
ref pingcap/tidb#45133, ref pingcap/tidb#55819, close pingcap/tidb#56819
2024-10-25 16:18:34 +00:00
3f0514eb6b planner, table: list partition support prune non point range (#56725)
close pingcap/tidb#56673
2024-10-25 06:59:32 +00:00
ed9a909395 planner: add hash64 and equals for logical aggregation (#56750)
ref pingcap/tidb#51664
2024-10-23 12:12:57 +00:00
tpp
abf7e31bf8 planner: enable fix control for enforced (#56414)
close pingcap/tidb#46177
2024-10-22 18:16:06 +00:00
c06662073b planner: fix nulleq condition to calcalate index range (#56769)
close pingcap/tidb#56745
2024-10-22 12:08:27 +00:00
4eac701e1e planner: add stack based pattern binder logic. (#56601)
ref pingcap/tidb#51664
2024-10-22 11:19:38 +00:00
eebdcfebd5 planner, stats: overflow estimation may lead to wrong join reorder (#56752)
close pingcap/tidb#56704
2024-10-22 04:26:14 +00:00
64ef4ddb04 tests: move one strange flaky test back to unit test (#56729) 2024-10-19 02:13:56 +00:00
55b3e37c7c Makefile: add gotag for make server_check (#51057) 2024-10-18 13:42:57 +00:00
457ff81d6b planner: update access pathes when using the vector index (#56680)
close pingcap/tidb#56551
2024-10-17 04:16:15 +00:00
1052a555f5 *: force forbiding to use mock.NewContext in production code (#56654)
close pingcap/tidb#53388
2024-10-17 02:04:25 +00:00
fa723c3bd5 planner, CTE, view: Fix default inline CTE which contains orderby/limit/distinct and inside of view (#56609)
close pingcap/tidb#56582, close pingcap/tidb#56603
2024-10-15 11:02:28 +00:00
ee4b86d0c4 planner, stats: skip (auto) analyze on vector column and index (#56584)
close pingcap/tidb#56583
2024-10-14 20:04:11 +00:00
f1034dc3d4 planner: add more test cases for plan cache (#56610)
ref pingcap/tidb#54057
2024-10-12 11:53:01 +00:00
025c2a3c5b planner: use go:generate go generate Plan Clone code (#56570)
ref pingcap/tidb#54057
2024-10-12 07:41:55 +00:00
d700beba25 planner: add more test cases for plan cache (#56579)
ref pingcap/tidb#54057
2024-10-12 03:29:37 +00:00
0f6bddd454 planner: remove the unused collectPredicateColumns flag (#56386)
ref pingcap/tidb#53567
2024-10-11 14:47:14 +00:00
a56674c41b expression: provide OptPropPrivilegeChecker for EvalContext (#56302)
close pingcap/tidb#56301
2024-10-11 09:47:41 +00:00
7aefb084f3 planner: support vector index in planner (#56204)
ref pingcap/tidb#54245, close pingcap/tidb#56510
2024-10-10 14:30:15 +00:00
5e8bb8ee80 planner: add memo test and implement some logical operator's HashEquals. (#56250)
ref pingcap/tidb#51664
2024-10-10 11:19:36 +00:00
329af0908a planner: add TPCC as a test case for index advisor (#56528)
ref pingcap/tidb#12303
2024-10-10 08:30:55 +00:00
0eccf7957b planner: merge FullSchema and FullNames of subplans when rewriting "in (subquery)" to inner join (#54334)
close pingcap/tidb#53766
2024-10-10 07:16:40 +00:00
2864508e3c planner: some code clean after all logical op are migrated (#56426)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-10-10 04:12:01 +00:00
1e24d39608 *: Drop partition DDL handling for overlapping partitions during State Changes (#56082)
close pingcap/tidb#55888
2024-10-09 17:15:33 +00:00
31d75bd945 planner: fix inner subq build process will ref-use outer's expand meta (#56424)
close pingcap/tidb#56218
2024-10-09 10:36:24 +00:00
8c4bab1963 *: upgrade go1.23.2 (#51126)
close pingcap/tidb#50765
2024-10-09 05:15:46 +00:00
ff1b241a09 planner: add more test cases for plan cache (#56470)
ref pingcap/tidb#54057
2024-10-08 08:58:23 +00:00
c46e4bc8ce planner: remove some useless function pointer after logicalop are all migrated. (#56393)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-09-30 07:02:16 +00:00