Commit Graph

116 Commits

Author SHA1 Message Date
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
7b8fd3729f expression: set a collation according to the arguments for ifnull in constant folding (#52119)
close pingcap/tidb#51765
2024-03-27 02:24:47 +00:00
bd17acde8c infoschema: introduce MetaOnlyInfoSchema to provide meta only information schema (#52070)
close pingcap/tidb#52072
2024-03-26 10:20:17 +00:00
311eef9d03 expression: introduce SessionEvalContext to implement EvalContext (#52091)
close pingcap/tidb#52089
2024-03-26 09:42:54 +00:00
99ba63abf1 infoschema: fix drop schema for infoschema v2 (#52024)
ref pingcap/tidb#50959
2024-03-25 14:27:46 +00:00
639fa0073f expression: finish to remove SessionVars and other complex objects from EvalContext (#52015)
close pingcap/tidb#51477
2024-03-25 10:24:47 +00:00
21e7939d94 expression: add more optional properties for EvalContext (#51725)
ref pingcap/tidb#51477
2024-03-21 07:12:43 +00:00
1469e3dbf4 extension: disable some optimizations for extension function (#51926)
close pingcap/tidb#51925
2024-03-20 08:32:20 +00:00
469cf047fa expression: add PushDownContext for push down operations (#51891)
close pingcap/tidb#51890
2024-03-20 08:32:13 +00:00
ef30a6930f sessionctx,executor: support div_precision_increment sysvar (#51538)
close pingcap/tidb#51501
2024-03-14 08:14:10 +00:00
661f6d61ae json: don't resize slice to get extra zero when the length is unspecified (#51586)
close pingcap/tidb#51547
2024-03-12 10:48:39 +00:00
5f3fc33bf8 expression: introduce optional properties for EvalContext (#51487)
close pingcap/tidb#51477
2024-03-11 02:50:08 +00:00
54cca35e62 planner: choose to generate optimal plans without plan cache rather than generating suboptimal plans and caching it when generating MVIndex plans (#51546)
ref pingcap/tidb#45798
2024-03-07 11:51:35 +00:00
87bcf32d67 expression: remove providing EnableVectorizedExpression in EvalContext (#51567)
close pingcap/tidb#51563
2024-03-07 07:09:36 +00:00
13bff87d08 variable: unifiy MaxExecuteTime usage and fix some problem (#50915)
close pingcap/tidb#50872, close pingcap/tidb#50914
2024-03-04 10:24:34 +00:00
cc0387b1a3 expression: expose some basic fields to expression.EvalContext (#51420)
close pingcap/tidb#51419
2024-03-04 03:39:33 +00:00
38ab23ba51 expression: use the correct type when eval decimal and float session var (#51395)
close pingcap/tidb#43527
2024-02-29 12:08:02 +00:00
6f02e99396 experssion: table: standalone implement for EvalContext and BuildContext (#51299)
close pingcap/tidb#51298
2024-02-27 07:26:21 +00:00
3d1708f80c telemetry: remove the codes of Telemetry (#51202)
close pingcap/tidb#49939
2024-02-22 11:48:26 +00:00
4e202a4ff0 *: make sessionctx.Context depend on contexts in planner and expression (#51150)
close pingcap/tidb#51149
2024-02-19 11:04:56 +00:00
464a12651b build(deps): bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.1 (#51089) 2024-02-18 06:57:01 +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
c53275227a expression: Support cast decimal as real push down to tiflash (#50977)
close pingcap/tidb#50975
2024-02-07 08:07:16 +00:00
526d738207 expression: refactor functions to build expressions (#50997)
close pingcap/tidb#50996
2024-02-07 03:05:45 +00:00
aa00ae2217 expression: fix reverse function on bit type column (#50146)
close pingcap/tidb#49566, close pingcap/tidb#50850, close pingcap/tidb#50855
2024-02-05 04:44:43 +00:00
cea36059cb expression: fix some failed tests in local env (#50954)
close pingcap/tidb#50953
2024-02-05 02:58:13 +00:00
38a87d0d64 planner: refactor NewDistAggFunc for mpp agg aware of tipb's aggDesc execution mode (#50961)
close pingcap/tidb#50893
2024-02-04 10:56:42 +00:00
a0296bebe3 planner: stop pushing Agg down through Projection if substitution fail (#50932)
close pingcap/tidb#50926
2024-02-04 06:56:49 +00:00
a9e964249d expression: fix the incorrect result of json_length(cast(1 as json), null) (#50933)
close pingcap/tidb#50931
2024-02-04 02:51:55 +00:00
6e022a5c31 table: introduce MutateContext and AllocatorContext for table.Table (#50862)
close pingcap/tidb#50861
2024-02-01 09:01:54 +00:00
333fc9adf6 ci: add fmt lint setting for interface{} (#50825)
ref pingcap/tidb#50765
2024-01-31 11:46:54 +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
f72e1d966c planner: add Sysdate into deferredFunctions when enable SysdateIsNow (#49949)
close pingcap/tidb#49299
2024-01-26 10:24:20 +00:00
9416934ea3 *: split planner errors and remove duplicate definitions (#50695)
ref pingcap/tidb#48875
2024-01-26 09:42:21 +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
dd85ed718a variable: remove StrictSQLMode in variable.SessionVars (#50624)
close pingcap/tidb#50589
2024-01-23 07:42:26 +00:00
524163f6b5 expression: expression always read location from types.Context (#50636)
close pingcap/tidb#50635
2024-01-22 12:55:50 +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
1db15879c1 importinto: add more test (#50558)
ref pingcap/tidb#49883
2024-01-22 05:00:19 +00:00
bfa10bdc18 bindinfo: SetSkipPlanCache use nostack errors (#50585)
close pingcap/tidb#49291
2024-01-19 05:34:47 +00:00
0c584297fe expression: allow pushdown power to TiFlash/TiKV (#50486)
close pingcap/tidb#50485
2024-01-17 03:31:45 +00:00
22d2f6ddcf expression: remove useless HandleOverflowOnSelection (#50279)
close pingcap/tidb#50278
2024-01-11 10:15:25 +00:00
01e2ee63e6 expression: fix the const prop over ENUM type (#50208)
close pingcap/tidb#49440
2024-01-10 08:32:01 +00:00
136ae4649e expression: refine code in handleInvalidTimeError and handleAllowedPacketOverflowed (#50180)
close pingcap/tidb#50178
2024-01-09 09:57:23 +00:00
7893f1637e planner: fix range partition prune with an unsigned column (#50113)
close pingcap/tidb#50082
2024-01-08 11:42:36 +00:00
64741e9710 *: remove stmtctx.BadNullAsWarning and use errctx to handle bad null error (#50120)
close pingcap/tidb#50119
2024-01-05 11:28:51 +00:00
6eea739d4c testkit,store/mockstore: make store image to accelerate unit test (#42521)
close pingcap/tidb#42434
2024-01-05 09:05:41 +00:00
98f4e879e5 *: use errctx to handle divide zero error (#50042)
close pingcap/tidb#50041
2024-01-05 05:47:10 +00:00