Commit Graph

49 Commits

Author SHA1 Message Date
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
fb9d2203b9 expression: enum/set could be invalid during evaluation (#49543)
close pingcap/tidb#49487
2023-12-18 08:40:53 +00:00
3a7bd532a2 expression: ignore TypeNULL in HandleBinaryLiteral (#49527)
close pingcap/tidb#49526
2023-12-17 14:22:51 +00:00
074af1082d expression: use a bool arg for Expression.ConstItem (#49495)
close pingcap/tidb#49492
2023-12-15 08:40:56 +00:00
531a1ce920 stmtctx: remove OverflowAsWarning flag (#49122)
close pingcap/tidb#49137, close pingcap/tidb#49143
2023-12-14 16:51:19 +00:00
eb69dacc6e expression: remove interface expression.ReverseExpr (#49468)
close pingcap/tidb#49467
2023-12-14 10:43:51 +00:00
09091124dd expression: remove useless ctx input in newBaseBuiltinFuncWithFieldType (#49428)
ref pingcap/tidb#47958
2023-12-13 12:12:34 +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
724b88b7b6 expression: fix the behavior when adding date with big interval (#49228)
close pingcap/tidb#49227
2023-12-12 11:06:19 +00:00
4b1cccb385 expression: Granular Control in mysql.expr_pushdown_blacklist Configuration (#49324)
close pingcap/tidb#49126
2023-12-12 10:27:19 +00:00
8d181ede01 executor, codec: hash join build wrong hash key for ENUM/SET value (#49031)
close pingcap/tidb#48991
2023-11-30 09:33:05 +00:00
27fc7eaafc expression: Add json_depth push down support for tiflash (#48996)
close pingcap/tidb#48994
2023-11-30 07:05:49 +00:00
fab4b3f0cf expression: Add json_unquote push down for tiflash (#48987)
close pingcap/tidb#48986
2023-11-29 04:32:49 +00:00
fd92230588 expression: remove inner context cache in expression.ScalarFunction (#48940)
close pingcap/tidb#48916
2023-11-28 03:10:16 +00:00
d0feede759 expression: Add cast as json push down support for tiflash (#48550)
close pingcap/tidb#48551
2023-11-28 01:08:46 +00:00
ccbd1b5749 expression: replace EvalWithInnerCtx with Eval for PbConverter and ExplainInfo (#48917)
close pingcap/tidb#48914
2023-11-27 10:36:00 +00:00
d38039e62b planner: don't change the multi stage count's final return type (#48675)
close pingcap/tidb#48643
2023-11-27 09:44:44 +00:00
29e36ea7e3 store/mockstore: Use Expression.Eval to replace EvalWithInnerCtx for mockstore (#48771)
close pingcap/tidb#48770
2023-11-24 15:46:13 +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
f8fae6ecdc expression: remove call of EvalWithInnerCtx in method Constant.HashCode (#48791)
close pingcap/tidb#48790
2023-11-23 03:40:18 +00:00
9062834986 expression: add ctx to expression.Eval (#48609)
close pingcap/tidb#48608
2023-11-22 05:29:40 +00:00
3d176fcc2c util/codec,util/errctx,*: add error context, and use it to refactor util/codec (#48613)
close pingcap/tidb#48611
2023-11-20 13:53: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
ab354f3e5c tests: move more tests to integration test (#48647)
ref pingcap/tidb#45961
2023-11-17 03:42:47 +00:00
446232fed0 expression, types: fix the logic of converting duration to year (#48565)
close pingcap/tidb#48557
2023-11-15 12:30:46 +00:00
db2e239496 types: remove param explicitTz from types.ParseTime (#48574)
close pingcap/tidb#48573
2023-11-15 08:08:17 +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
5b05c0dba8 tests: update mysql-tester commit (#48462) 2023-11-10 03:26:13 +00:00
184aa7e3c3 planner: fix the issue that plan cache may return wrong result when comparing datetime column with unix_timestamp (#48413)
close pingcap/tidb#48165
2023-11-08 16:41:12 +00:00
7cb7af7179 expression: fix the return type of coalesce when arg type is DATE (#48032)
close pingcap/tidb#46475
2023-11-08 09:44:13 +00:00
2285057c95 expression: Add json_array push down support for tiflash (#48349)
close pingcap/tidb#48350
2023-11-08 08:50:28 +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
0d9a4ce8b8 *: update linter (#48252)
ref pingcap/tidb#40786
2023-11-06 07:18:41 +00:00
8301e4e991 types,*: remove the dependency stmtctx from types package. (#48108)
close pingcap/tidb#48080
2023-11-01 11:45:44 +00:00
89945f56bd planner: fix the issue where TiDB generates multiple plandigests for 'IN (...)'. (#47216)
close pingcap/tidb#33559
2023-11-01 07:47:09 +00:00
fab7825845 *: remove pkg/errors (#48081) 2023-10-31 03:15:37 +00:00
5503eb517f types: always handle overflow error outside the types package (#47997)
close pingcap/tidb#47517
2023-10-30 07:05:06 +00:00
6d64b7e89a types, stmtctx, *: use ZeroDate, ZeroInDate and InvalidDate related flags to replace variable in statement context (#47794)
close pingcap/tidb#47507, close pingcap/tidb#47508
2023-10-27 10:44:05 +00:00
3a3a7d1c3c enhancement: Modify the BuildLogicalPlanForTest function (#47988)
close pingcap/tidb#47974
2023-10-26 00:57:34 +00:00
97310ad5db types: fix issue that we can insert negative value to unsinged float column sometimes (#47946)
close pingcap/tidb#47945
2023-10-25 10:15:33 +00:00
2a628c4801 *: unified the cancel/kill logic in tidb (#47063)
close pingcap/tidb#47075
2023-10-23 09:48:38 +00:00
92749f73c8 types: more strict for types.StrictFlags (#47842)
close pingcap/tidb#47829
2023-10-20 09:39:40 +00:00
987663fff7 types: use flags in types package to handle clip zero case (#47543)
close pingcap/tidb#47518
2023-10-19 08:15:30 +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
204d780068 planner, util: move FastIntSet to util (#47723) 2023-10-17 18:12:29 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00