46 Commits

Author SHA1 Message Date
xhe
9a39320b2e sysvar: add internal session flag (#63709)
close pingcap/tidb#63708
2025-10-10 09:12:38 +00:00
xhe
12bbfbcc94 *: add SET INSTANCE syntax (#63484)
close pingcap/tidb#63483
2025-09-15 04:46:09 +00:00
3d613f8fbb planner,statistics: fix all test cases for the next-gen (#63460) 2025-09-11 09:46:54 +00:00
1f967030a0 fix: drop some dead code phase 1 (#63079)
ref pingcap/tidb#50727
2025-09-05 09:54:33 +00:00
3d9a0eba80 planner: fix some test cases for the next gen (#63323) 2025-09-02 08:00:43 +00:00
8c88b61875 tests: fix unit tests for next-gen (#62895)
ref pingcap/tidb#61702
2025-08-20 19:51:02 +00:00
xhe
bc0d97a44d variable: change tidb_redact_log to global variable (#62892)
close pingcap/tidb#62890
2025-08-16 04:03:47 +00:00
d82d2baa0f bazel: update settings and close some race on tests (#63009) 2025-08-15 09:07:31 +00:00
102ffeccba mdl/sessionmanager: some refactor of MDL loop and move sessionmanager from util to session pkg (#62671)
ref pingcap/tidb#61702
2025-07-29 12:55:28 +00:00
5a0343f652 planner,analyze: Add skipped vector column to "skipCol" (#62683)
close pingcap/tidb#62682
2025-07-29 11:24:38 +00:00
5ae6ad63c2 session: rename and unify location of interfaces, and some refactor (#62498)
ref pingcap/tidb#61702
2025-07-22 07:43:38 +00:00
3c2dc46853 expression: fix the length of casting from INT/REAL/DECIMAL/.... to string (#61476)
close pingcap/tidb#61350
2025-07-09 12:32:06 +00:00
063fa72687 planner: lift the can-push-to-cop check of aggregation/proj (#62068)
ref pingcap/tidb#62006
2025-07-03 13:35:00 +00:00
35c1e21115 planner,expression: fix wrong copy args to avoid breaking origin expression when to EvaluateExprWithNull (#61630)
close pingcap/tidb#60625
2025-06-13 10:59:49 +00:00
9cc4672d69 planner: gopls modernize (#60781)
close pingcap/tidb#60780
2025-05-19 16:17:43 +00:00
fb99c74752 planner: fix BatchPointGetPlan cannot redact the explain data (#61069)
close pingcap/tidb#61060
2025-05-12 06:44:50 +00:00
ea6440367b planner: make null and hint result ignore plan ID with explain format as brief. (#60943)
ref pingcap/tidb#60940
2025-04-30 05:20:46 +00:00
23fa4b8422 planner: make redact log test result ignore plan ID with explain format as brief. (#60941)
ref pingcap/tidb#60940
2025-04-30 01:28:29 +00:00
9331aeab08 collate: latin1_bin has the same collate with utf8mb4_bin,utf8_bin (#60702)
close pingcap/tidb#60701
2025-04-22 10:21:50 +00:00
75d080712a planner: add test cases for auto analyze's tidb_skip_missing_partition_stats (#60038)
close pingcap/tidb#60037
2025-03-13 04:29:02 +00:00
ffd133a3fb planner: move some ut into new package (#59077)
ref pingcap/tidb#35247
2025-01-21 09:06:16 +00:00
f56a92bc71 copr: add MppVersionV3 (#58652)
ref pingcap/tidb#58654
2025-01-13 10:25:04 +00:00
edba7e9ccb planner: Add left side operator info for hash join execution summary (#57814)
ref pingcap/tidb#56233, close pingcap/tidb#57819
2024-12-03 09:11:47 +00:00
2d70425ccc planner: fix wrong schema when to solve the schema name in CTE (#57253)
close pingcap/tidb#54582
2024-11-12 15:51:50 +00:00
304732848c planner: fix the problem of not finding the referenced column in the virtual column (#57084)
close pingcap/tidb#57079
2024-11-11 09:09:44 +00:00
c06662073b planner: fix nulleq condition to calcalate index range (#56769)
close pingcap/tidb#56745
2024-10-22 12:08:27 +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
73f1cfe1f6 planner: move some test into tests package (#56353)
close pingcap/tidb#56352
2024-09-27 05:12:56 +00:00
a0a741e91f planner: plan cache+partitioned tables benchmarks (#52170)
ref pingcap/tidb#33031, ref pingcap/tidb#45532
2024-09-25 08:55:18 +00:00
2ef0a36f71 *: Removed tidb_enable_list_partition (#42846)
close pingcap/tidb#42842
2024-09-25 00:24:19 +00:00
4c23efb10b *: move annotated attributes of AST node to resolve.Context (#55634)
ref pingcap/tidb#54436
2024-08-29 13:39:01 +00:00
f5ac1c4a45 *: support tidb_redact_log for explain (#54553)
close pingcap/tidb#54565
2024-07-23 08:45:04 +00:00
e1626a9c5b planner: fix the issue of reusing wrong point-plan for "select ... for update" (#54661)
close pingcap/tidb#54652
2024-07-17 03:17:59 +00:00
d0e775dab0 planner: rename session plan cache interface (#54102)
ref pingcap/tidb#54057
2024-06-19 07:34:17 +00:00
70a825397f *: add metadata lock when using the plan cache (#51897)
close pingcap/tidb#51407
2024-04-28 09:16:27 +00:00
ccbab5eeb7 *: Enable plan cache for partitioned tables (#49161)
close pingcap/tidb#33031, close pingcap/tidb#45532
2024-03-12 05:38:08 +00:00
5b187e5e56 planner: standalone implement for PlanContext (#51237)
close pingcap/tidb#51236
2024-02-22 15:03:28 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
f72e1d966c planner: add Sysdate into deferredFunctions when enable SysdateIsNow (#49949)
close pingcap/tidb#49299
2024-01-26 10:24:20 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
bca554aa82 planner: unite the variable name (#49759) 2023-12-26 07:28:58 +00:00
ebd259c6a7 planner: move more hint code to a separate package (#49697)
ref pingcap/tidb#48875
2023-12-22 06:18:45 +00:00
6ead0ee184 tests: move more test cases in pkg/plan to integrationtest (#48877)
ref pingcap/tidb#45961
2023-11-27 05:05:43 +00:00
b8515ae354 session: move session interface into new package (#48792)
ref pingcap/tidb#44940
2023-11-23 05:28:11 +00:00
657f0d94a9 pkg: stop using math/rand.Seed (#48653) 2023-11-17 06:00:53 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00