34 Commits

Author SHA1 Message Date
tpp
0bbbbbe47b planner: suppress column number in plan_tree explain (#65148)
ref pingcap/tidb#63118
2026-01-08 19:07:47 +00:00
47d17123d6 expression,planner: move planner-specific functions out of expression (#64675)
ref pingcap/tidb#63856
2025-11-26 01:16:05 +00:00
a97f75ba4b expression,planner: gather both prefix and full index columns at once (#64484)
ref pingcap/tidb#63856
2025-11-21 23:10:05 +00:00
4f50b53c03 expression: refactor IndexInfo2{,Prefix}Cols into a common helper function (#64054)
ref pingcap/tidb#63856
2025-10-21 15:39:10 +00:00
3111820b2c refactor: use slices.Contains to simplify code (#62880) 2025-08-08 16:08:36 +00:00
eb12403896 *: replace make then copy to slices.Clone (#62544)
close pingcap/tidb#62543
2025-07-31 12:27:55 +00:00
c5e9cc77e6 planner: Fix the issue where any(nil) is not considered equal to nil (#57428)
close pingcap/tidb#57326
2024-11-20 06:17:38 +00:00
f2385404df expression: introduce SafeToShareAcrossSession to Expression for Instance Plan Cache (#57110)
ref pingcap/tidb#54057
2024-11-05 09:37:46 +00:00
68fdf55d94 *: rename some packages of context (#56108)
close pingcap/tidb#56107
2024-09-19 07:11:03 +00:00
4ab1765ac9 planner: introduce hashEquals interface for expression.Expression (#55793)
ref pingcap/tidb#51664
2024-09-09 10:40:45 +00:00
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
dd114f107b planner: introduce hashEquals for expression.Column/collationInfo/fieldType (#55691)
ref pingcap/tidb#51664
2024-09-02 07:13:40 +00:00
48989e726f *: Vector Data types and Functions (#55550)
ref pingcap/tidb#54245
2024-08-22 07:01:51 +00:00
3fd284b025 planner: add more test cases for Plan Clone (#55011)
ref pingcap/tidb#54057
2024-07-30 11:44:47 +00:00
f5ac1c4a45 *: support tidb_redact_log for explain (#54553)
close pingcap/tidb#54565
2024-07-23 08:45:04 +00:00
5909899601 expression,*: remove the session context inside ParamMarker (#53534)
close pingcap/tidb#53533
2024-07-03 07:44:58 +00:00
ebc9620fb5 expression: remove unused MarshalJSON function in Expression (#53922)
close pingcap/tidb#53840
2024-07-01 16:13:26 +00:00
5e6df4eeb1 expression, *: Eval param get type with context (#53656)
close pingcap/tidb#53653
2024-06-03 09:39:01 +00:00
68219b9317 *: fix some typos in code comments (#53371) 2024-05-20 08:01:16 +00:00
98db0f5124 expression: fix typo in column.go (#52740) 2024-04-22 06:34:39 +00:00
2ae1933f11 planner: fix hidden column may do not have a virtual expression (#52184)
close pingcap/tidb#52181
2024-03-28 09:02:26 +00:00
c47f4c9146 expression: wrap some read action in EvalContext to functions (#50530)
ref pingcap/tidb#49090
2024-01-22 06:52:49 +00:00
87f8355e45 expression: ConstItem => ConstLevel to provide more clear semantics (#49807)
close pingcap/tidb#49806
2023-12-28 04:10:59 +00:00
074af1082d expression: use a bool arg for Expression.ConstItem (#49495)
close pingcap/tidb#49492
2023-12-15 08:40:56 +00:00
eb69dacc6e expression: remove interface expression.ReverseExpr (#49468)
close pingcap/tidb#49467
2023-12-14 10:43:51 +00:00
e14f66f286 expression: introduce EvalContext to evaluate expression (#49416)
close pingcap/tidb#49415
2023-12-13 12:12:27 +00:00
fd92230588 expression: remove inner context cache in expression.ScalarFunction (#48940)
close pingcap/tidb#48916
2023-11-28 03:10:16 +00:00
7985dc4b46 expression: add method CanonicalHashCode to Expression to decouple it with stmtctx (#48666)
close pingcap/tidb#48665
2023-11-23 11:02:43 +00:00
9062834986 expression: add ctx to expression.Eval (#48609)
close pingcap/tidb#48608
2023-11-22 05:29:40 +00:00
2f2f916926 expression: always use the ctx in parameter for method Equal in all expressions (#48596)
close pingcap/tidb#48595
2023-11-17 05:09:47 +00:00
8301e4e991 types,*: remove the dependency stmtctx from types package. (#48108)
close pingcap/tidb#48080
2023-11-01 11:45:44 +00:00
90bd2dde4d stmtctx, *: change TypeCtx field to a private field (#47742)
close pingcap/tidb#47698, close pingcap/tidb#47752
2023-10-19 05:22:59 +00:00
3ef01b5882 types, *: move truncate flags to the types context (#47522)
close pingcap/tidb#47511
2023-10-18 05:15:29 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00