Commit Graph

20 Commits

Author SHA1 Message Date
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
9416934ea3 *: split planner errors and remove duplicate definitions (#50695)
ref pingcap/tidb#48875
2024-01-26 09:42: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
87f8355e45 expression: ConstItem => ConstLevel to provide more clear semantics (#49807)
close pingcap/tidb#49806
2023-12-28 04:10:59 +00:00
20d394d714 expression: fix null type infer for function ROW (#49525)
close pingcap/tidb#49015
2023-12-26 08:30:28 +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
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
8243680d8a planner: avoid to use ScalarFunction.GetCtx in some planner codes (#48794)
close pingcap/tidb#48793
2023-11-24 05:47:44 +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
625dc4e3cd expression: use parameter ctx to do evaluate instead of the inner one for all builtinFuncs (#48409)
close pingcap/tidb#48408
2023-11-14 12:38:16 +00:00
9d07f83132 expression: add ctx to all eval methods of builtinFunc (#48331)
close pingcap/tidb#48338
2023-11-07 10:29:18 +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