Commit Graph

184 Commits

Author SHA1 Message Date
a453b81458 planner: use code-gen to generate CloneForPlanCache method for some operators (#54601)
ref pingcap/tidb#54057
2024-07-15 07:50:58 +00:00
2934442a76 *: optimize the speed of full load (#54185)
ref pingcap/tidb#50959
2024-07-15 04:20:58 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
e209c7dafb expression: fix the type of casting YEAR as json (#54146)
ref pingcap/tidb#54027, close pingcap/tidb#54494
2024-07-09 09:40:33 +00:00
5909899601 expression,*: remove the session context inside ParamMarker (#53534)
close pingcap/tidb#53533
2024-07-03 07:44:58 +00:00
ebc9620fb5 expression: remove unused MarshalJSON function in Expression (#53922)
close pingcap/tidb#53840
2024-07-01 16:13:26 +00:00
5b1a3d1e9e expression: Return non-retryable error for schema errors (#54278)
close pingcap/tidb#54273
2024-06-28 03:34:23 +00:00
14ed0c0123 parser: Support VECTOR type (#54246)
ref pingcap/tidb#54245
2024-06-27 08:31:30 +00:00
521c99967d planner: The length function could not be substitute when collation of mapped column is utfxxx_bin (#54179)
close pingcap/tidb#53730
2024-06-27 03:19:23 +00:00
c91bc2014a planner: classsify logical aggregation logic into a seperate file for later pkg move (#54187)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-06-25 10:32:51 +00:00
4d8e1d5e48 expression: truncate time part for current_date columns (#54045)
close pingcap/tidb#53746
2024-06-21 08:49:19 +00:00
1a24c03212 expression: correct the erroneous scalar function equivalence check (#54067)
close pingcap/tidb#53726
2024-06-19 12:10:17 +00:00
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