66 Commits

Author SHA1 Message Date
42b8bcc2ee range: reuse memory in the ExtractEqAndInCondition (#64036)
close pingcap/tidb#64035
2025-10-20 08:29:55 +00:00
xhe
12bbfbcc94 *: add SET INSTANCE syntax (#63484)
close pingcap/tidb#63483
2025-09-15 04:46:09 +00:00
8aa5f5f4c4 expression: simplify the code with the ExtractColumnsFromExpressions (#62825)
ref pingcap/tidb#45839
2025-08-06 06:47:30 +00:00
2a522358ce planner,expression: remove duplicates in the ExtractColumnsFromExpressions (#62791)
ref pingcap/tidb#45839
2025-08-04 13:00:27 +00:00
9f38fcae00 planner,executor: improve the convenience of functions (#61546)
ref pingcap/tidb#36764
2025-06-06 08:57:06 +00:00
4012a7439a expression: gopls modernize (#60791)
close pingcap/tidb#60790
2025-05-06 14:03:42 +00:00
beda9088bc planner: avoid skipping plan cache when extracting funcdep (#59485)
ref pingcap/tidb#38610
2025-02-13 06:13:58 +00:00
f7759f56c0 expression: avoid slicesgrow in the extractBinaryOpItems (#59320)
close pingcap/tidb#59319
2025-02-07 12:18:03 +00:00
b2f2faaa95 parser: move 'model' to 'ast' pkg (#58704)
ref pingcap/tidb#54436
2025-01-07 10:20:04 +00:00
cfa16a3fc3 planner: fix the wrong schema.Clone implementation (#57632)
close pingcap/tidb#57635
2024-11-26 02:51:03 +00:00
35d5739657 expression: Fix optimizer panic in evaluate expr with null (#57403)
close pingcap/tidb#55886
2024-11-19 11:03:39 +00:00
8832684721 executor: support left outer semi join for hash join v2 (#57053)
ref pingcap/tidb#53127
2024-11-13 06:46:32 +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
Bin
5faeca4d1b *: use golang built-in functions rather than mathutil (#56818)
close pingcap/tidb#56594
2024-10-25 05:18:17 +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
dd64d25266 lightining,expression: support user variable for BuildSimpleExpr and remove PlanContext dependency in lightning context (#55617)
ref pingcap/tidb#53388
2024-09-02 04:55:18 +00:00
48989e726f *: Vector Data types and Functions (#55550)
ref pingcap/tidb#54245
2024-08-22 07:01:51 +00:00
fa554f8775 planner: use code-gen to generate CloneForPlanCache method for Insert/Update/Delete (#55185)
ref pingcap/tidb#54057
2024-08-06 04:21:39 +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
c02a2b1fe6 ddl,expression: introduce CtxWithHandleTruncateErrLevel to wrap a expression context to handle truncate error (#53441)
ref pingcap/tidb#53388
2024-05-28 04:02:49 +00:00
68219b9317 *: fix some typos in code comments (#53371) 2024-05-20 08:01:16 +00:00
c33b6cdfe1 expression: PropagateType should never let orignal data overflow (#53045)
close pingcap/tidb#52672
2024-05-09 03:31:08 +00:00
a74d9a74c6 planner: small refactor for plan cache (#52837)
ref pingcap/tidb#50618
2024-04-23 10:25:40 +00:00
2debbed41d expression: create a new context in ColumnInfos2ColumnsAndNames to ignore truncate error (#52468)
close pingcap/tidb#52366
2024-04-11 08:09:29 +00:00
fab13afa2b expression: Move more methods from SessionVars to BuildContext (#52440)
ref pingcap/tidb#52366
2024-04-09 09:00:34 +00:00
1905e8973c expression: add some methods in BuildContext to read fields in SessionVars before (#52367)
close pingcap/tidb#52366
2024-04-09 02:39:20 +00:00
87bcf32d67 expression: remove providing EnableVectorizedExpression in EvalContext (#51567)
close pingcap/tidb#51563
2024-03-07 07:09:36 +00:00
c5eced17d0 expression: remove direct dependencies with sessionctx.Context for package expression (#51025)
close pingcap/tidb#51024
2024-02-08 02:10:15 +00:00
526d738207 expression: refactor functions to build expressions (#50997)
close pingcap/tidb#50996
2024-02-07 03:05:45 +00:00
ff050bb143 expression: add expression.BuildContext to build expressions (#50662)
close pingcap/tidb#50661
2024-01-29 11:27:22 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
de177d85b1 expression: use buildExprWithAst to implement evalAstExpr (#50660)
ref pingcap/tidb#50463
2024-01-26 04:16:50 +00:00
bc451d9f2e expression: provide BuildExprWithAst to build expression without planner context (#50464)
close pingcap/tidb#50463
2024-01-23 08:24:21 +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
bfa10bdc18 bindinfo: SetSkipPlanCache use nostack errors (#50585)
close pingcap/tidb#49291
2024-01-19 05:34:47 +00:00
22d2f6ddcf expression: remove useless HandleOverflowOnSelection (#50279)
close pingcap/tidb#50278
2024-01-11 10:15:25 +00:00
87f8355e45 expression: ConstItem => ConstLevel to provide more clear semantics (#49807)
close pingcap/tidb#49806
2023-12-28 04:10:59 +00:00
5c78c1f698 expression: move the logic of pushdown into a new file (#49672)
ref pingcap/tidb#49668
2023-12-25 06:21:32 +00:00
82a011fdd8 expression: refactor expression pkg's warning and note generation logic (#49686)
close pingcap/tidb#49291
2023-12-22 07:05:09 +00:00
e418f2d9e5 expression: Add json_contains_path push down support for tiflash (#49393)
close pingcap/tidb#49392
2023-12-22 03:40:57 +00:00
abc54d0339 expression: Add json_valid and json_keys push down support for tiflash (#49347)
close pingcap/tidb#49345
2023-12-19 09:19:52 +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
b983fe088f expression: pushdown lower/upper to tikv (#49045)
close pingcap/tidb#48170
2023-12-13 11:40:49 +00:00