Commit Graph

172 Commits

Author SHA1 Message Date
9008d23c83 *: remove ExtraPidCol and replace it with ExtraPhysTblIDCol (#53974)
close pingcap/tidb#53929
2024-06-18 09:58:24 +00:00
7b259929a9 expression: Fix errors for JSON functions (#53800)
close pingcap/tidb#53799
2024-06-18 03:22:16 +00:00
b96a775753 Optimizer: Fix range extraction for CNF(conjunctive normal form) (#53908)
ref pingcap/tidb#41598
2024-06-14 05:13:13 +00:00
25d1c83769 expression: Fix JSON quote (#53961)
close pingcap/tidb#37294
2024-06-13 01:04:30 +00:00
d5e9c6e949 planner,expression: Limit projection pushed down scope to avoid potential performance degression (#53650)
close pingcap/tidb#53613
2024-06-04 09:52:26 +00:00
5e6df4eeb1 expression, *: Eval param get type with context (#53656)
close pingcap/tidb#53653
2024-06-03 09:39:01 +00:00
3d68bd2124 expression: fail ColumnSubstituteImpl if creating function returns error (#53716)
close pingcap/tidb#53580, close pingcap/tidb#53582, close pingcap/tidb#53594, close pingcap/tidb#53603
2024-06-03 08:55:24 +00:00
fc3132ce9b expression: JSON_SCHEMA_VALID() (#52780)
close pingcap/tidb#52779
2024-06-03 06:17:54 +00:00
d860287a2b expression: fix the wrong behavior of conv function (#53681)
close pingcap/tidb#53505
2024-05-30 09:58:21 +00:00
68d12954fe expression: fix wrong result when convert float to unsigned (#53590)
close pingcap/tidb#41736
2024-05-28 05:43:20 +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
45318da24d expression: fix the fsp of casting json as datetime/duration (#53535)
close pingcap/tidb#53352
2024-05-25 05:05:48 +00:00
c9731573ef expression: Disallow conv fuction with hybrid type argement to be pushed down to TiKV (#53502)
close pingcap/tidb#51877
2024-05-23 10:43:21 +00:00
69285197c6 planner: fix mpp final agg couldn't co-exist with other non-final mode (#53455)
close pingcap/tidb#51362
2024-05-22 06:46:17 +00:00
0afe54d756 *: fix unstable assert for location (#53376)
close pingcap/tidb#53375
2024-05-22 04:58:17 +00:00
044f113b45 expression: fix default value of GetDefaultCollationForUTF8MB4 of StaticExprContext (#53391)
close pingcap/tidb#53390
2024-05-20 11:05:45 +00:00
68219b9317 *: fix some typos in code comments (#53371) 2024-05-20 08:01:16 +00:00
9581442747 tests: move TestNoopFunctions to tests/integrationtest (#53343)
ref pingcap/tidb#45961
2024-05-17 08:17:44 +00:00
9da001d777 Optimizer: Refactor and simplify outer to inner join conversion rule #52941 (#52941)
ref pingcap/tidb#53278
2024-05-16 03:43:13 +00:00
f0af7766a2 stmtctx, context: remove the redundant implementation of warnings/extraWarnings in statement context (#52862)
close pingcap/tidb#52848
2024-05-15 07:13:12 +00:00
acdb6f58e3 planner: UPDATE's select plan's output col IDs should be stable (#53268)
close pingcap/tidb#53236
2024-05-14 14:17:42 +00:00
045a5b59fd expression: reverts #53129 (#53259)
close pingcap/tidb#53248
2024-05-14 11:32:42 +00:00
4b91fee6af expression: Report error when empty pattern in regexp related function (#53230)
close pingcap/tidb#53221
2024-05-14 02:55:11 +00:00
37b29bd6b1 expression: clarify the cast(... as char array) error message (#53220)
close pingcap/tidb#53219
2024-05-13 13:14:41 +00:00
4674b125fc expression: fix charset conversion warning and error behavior (#51191)
close pingcap/tidb#50295
2024-05-13 07:23:41 +00:00
dcd1fa9d96 expression: fix the collation of functions with json arguments (#53126)
close pingcap/tidb#52833
2024-05-11 11:38:39 +00:00
f311d7751a expression: unify casting real to string in tidb (tikv#16975) (#53129)
close pingcap/tidb#51109
2024-05-11 10:28:09 +00:00
536cf0068b expression: wrong result of timestampadd(month,1,date '2024-01-31') (#53101)
close pingcap/tidb#41052
2024-05-11 05:11:40 +00:00
6d92e7af94 point-get: calculate the row level checksum on the real time to avoid incorrect checksum caused by schema change (#52511)
close pingcap/tidb#52590
2024-05-11 03:20:39 +00:00
c33b6cdfe1 expression: PropagateType should never let orignal data overflow (#53045)
close pingcap/tidb#52672
2024-05-09 03:31:08 +00:00
013a4e6a3f expression: update md5 hash to use hex (#53003)
close pingcap/tidb#53018
2024-05-07 16:04:08 +00:00
17d3f7fd45 planner: small refactor for plan cache (#53028)
ref pingcap/tidb#50618
2024-05-06 09:04:07 +00:00
73131c0190 expression: Fix formatting of deprecation warnings (#52516)
close pingcap/tidb#52515
2024-04-30 08:11:35 +00:00
0f0418fb4a expression: change ExprCtxExtendedImpl to SessionExprContext (#52839)
close pingcap/tidb#52838
2024-04-29 12:43:28 +00:00
f7de725ef1 expression: introduce StaticExprContext to build expressions (#52853)
close pingcap/tidb#52852
2024-04-29 10:05:58 +00:00
40c81c0fd5 *: fix global index work with memIndexReader executor (#52660)
close pingcap/tidb#52493
2024-04-28 11:23:57 +00:00
6eac86171c expression: remove InUnion/SetInUnion in BuildContext (#52706)
close pingcap/tidb#52707
2024-04-24 04:21:10 +00:00
96f107887f expression: remove SetInNullRejectCheck in BuildContext (#52721)
close pingcap/tidb#52719
2024-04-24 03:03:11 +00:00
8f062f2698 expression: remove InInsertOrUpdate in BuildExpression (#52716)
close pingcap/tidb#52509, close pingcap/tidb#52715, close pingcap/tidb#52748
2024-04-23 16:07:41 +00:00
0931309022 expression: fix the issue of incorrect result when handling unary minus for time (#52811)
close pingcap/tidb#52262
2024-04-23 12:28:41 +00:00
a74d9a74c6 planner: small refactor for plan cache (#52837)
ref pingcap/tidb#50618
2024-04-23 10:25:40 +00:00
b1baf4d642 planner: move logical interface definition to base pkg (#52732)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-04-23 07:36:10 +00:00
3368ccdef1 expression: introduce StaticEvalContext to provide context when evaluating expressions (#52631)
close pingcap/tidb#52630
2024-04-23 06:52:40 +00:00
cfbabfa705 stmtctx: use a standalone RangeFallbackHandler (#52738)
close pingcap/tidb#52737
2024-04-22 13:04:39 +00:00
98db0f5124 expression: fix typo in column.go (#52740) 2024-04-22 06:34:39 +00:00
5b9385e931 expression/infer_pushdown: enable json_replace/json_array_append/json_merge_patch pushdown (#50602)
close pingcap/tidb#50601
2024-04-19 02:37:36 +00:00
4ab889cd6a expression: Add InInsertOrUpdate in BuildContext and remove GetSessionVars (#52528)
close pingcap/tidb#52366
2024-04-17 10:52:37 +00:00
3d82fc5be3 executor,planner: Relax projection column expression push down check conditions (#52502)
close pingcap/tidb#52501
2024-04-15 14:12:06 +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
da0de56204 expression: BuildContext read location from EvalContext instead of SessionVars (#52451)
ref pingcap/tidb#52366
2024-04-11 08:09:22 +00:00