Commit Graph

99 Commits

Author SHA1 Message Date
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
6f3266498d ddl: fix reorg cannot handle divide 0 error (#50057)
close pingcap/tidb#50053
2024-01-04 06:21:32 +00:00
87f8355e45 expression: ConstItem => ConstLevel to provide more clear semantics (#49807)
close pingcap/tidb#49806
2023-12-28 04:10:59 +00:00
75b451c454 expression: support push-down INTDIV to TiKV (#49051)
close pingcap/tidb#49050
2023-12-27 07:39:27 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
20d394d714 expression: fix null type infer for function ROW (#49525)
close pingcap/tidb#49015
2023-12-26 08:30:28 +00:00
07e9ece910 expression: pass const bool to all calls for expression.ConstItem (#49756)
close pingcap/tidb#49755
2023-12-25 11:03:26 +00:00
4e9f0060da expression: refactor like and ilike cache logic (#49676)
close pingcap/tidb#49674
2023-12-25 07:33:33 +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
6c4eba04cd expression: remove old regexpBaseFuncSig and rename regexpNewBaseFuncSig to regexpBaseFuncSig (#49685)
close pingcap/tidb#49684
2023-12-22 06:18:38 +00:00
7ef4b4bb69 expression: fix datarace for builtinIlikeSig (#49678)
close pingcap/tidb#49677
2023-12-22 04:07:53 +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
4cee5c1dcb expression: refactor cache implement for regexp_like/regexp_instr/regexp_replace (#49642)
close pingcap/tidb#49641
2023-12-21 10:42:37 +00:00
7f9559c10c executor: refactor executor pkg's warning and note generation (#49600)
close pingcap/tidb#49291
2023-12-21 10:42:23 +00:00
b27587e9b6 session: add resource group name in stmt context (#49422)
close pingcap/tidb#49318
2023-12-21 02:58:54 +00:00
a09faccd9a tests, executor, br: fix time_zone related bugs in UT (#49588)
close pingcap/tidb#49493
2023-12-20 10:53:00 +00:00
97acf71044 expression: refactor cache logic for builtinRegexpSubstrFuncSig (#49584)
close pingcap/tidb#49583
2023-12-20 10:52:53 +00:00