Commit Graph

210 Commits

Author SHA1 Message Date
5dae1a3135 expression: support tidb encode key function (#51678)
close pingcap/tidb#51683
2024-09-06 07:03:37 +00:00
e77d4a1cb8 expression: StaticExprContext/EvalContext support to load state from system variables (#55800)
close pingcap/tidb#55799
2024-09-04 15:20:48 +00:00
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
a5698cc4cf *: fix typo interger -> integer (#55782) 2024-09-02 11:14:07 +00:00
df02db014a context: add tests to avoid making mistakes by adding new fields but not modifying IntoStatic. (#55311)
close pingcap/tidb#55130
2024-09-02 09:20:48 +00:00
dd114f107b planner: introduce hashEquals for expression.Column/collationInfo/fieldType (#55691)
ref pingcap/tidb#51664
2024-09-02 07:13:40 +00:00
dd64d25266 lightining,expression: support user variable for BuildSimpleExpr and remove PlanContext dependency in lightning context (#55617)
ref pingcap/tidb#53388
2024-09-02 04:55:18 +00:00
eaa75a81d5 expression: fix incorrect result when the result of casting const value to duration type is null (#55454)
close pingcap/tidb#51842
2024-08-29 14:43:27 +00:00
4c23efb10b *: move annotated attributes of AST node to resolve.Context (#55634)
ref pingcap/tidb#54436
2024-08-29 13:39:01 +00:00
48989e726f *: Vector Data types and Functions (#55550)
ref pingcap/tidb#54245
2024-08-22 07:01:51 +00:00
9690dab339 expression: Support 2 argument version of MID() (#55541)
close pingcap/tidb#52420
2024-08-22 02:54:13 +00:00
a0670b5447 planner: improve the performance of FindFieldName (#55528)
close pingcap/tidb#52112
2024-08-21 09:42:12 +00:00
509d1bd93b expression: expression.BuildSimpleExpr supports to build ParamMarker (#55493)
close pingcap/tidb#55492
2024-08-19 11:09:11 +00:00
a8ddba1c1d expression: remove SessionVarsPropReader in builtinGetParamStringSig (#55472)
close pingcap/tidb#55471
2024-08-16 11:38:41 +00:00
02526988cb *: upgrade linter revive (#55346) 2024-08-16 07:58:11 +00:00
2abd334934 planner: move logical join and logical selection to logicalop (#55272)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-12 05:42:01 +00:00
fa554f8775 planner: use code-gen to generate CloneForPlanCache method for Insert/Update/Delete (#55185)
ref pingcap/tidb#54057
2024-08-06 04:21:39 +00:00
801d5d6829 planner: fix column evaluator can not detect input's column-ref and thus swapping and destroying later column ref projection logic (#53794)
close pingcap/tidb#53713
2024-08-02 06:04:20 +00:00
5c2dde89a3 executor, expression: detach projection and selection operator (#54864)
close pingcap/tidb#54863
2024-08-01 07:04:21 +00:00
3fd284b025 planner: add more test cases for Plan Clone (#55011)
ref pingcap/tidb#54057
2024-07-30 11:44:47 +00:00
108e98ae8f ddl: init global vars from system tables before start domain (#54913)
close pingcap/tidb#54860, close pingcap/tidb#54868
2024-07-29 07:37:17 +00:00
7cdf918275 disjoinset: add generic impl (#54917) 2024-07-27 19:25:15 +00:00
a8d29c27d5 expression: fix infinity loop in timestampadd (#54916)
close pingcap/tidb#54908
2024-07-26 12:01:16 +00:00
04e5ff999a expression: expose the optional property on EvaluatorSuit (#54798)
close pingcap/tidb#54797
2024-07-24 05:24:04 +00:00
f5ac1c4a45 *: support tidb_redact_log for explain (#54553)
close pingcap/tidb#54565
2024-07-23 08:45:04 +00:00
13e428061a context, executor: add a function to detach the TableReaderExecutor (#54456)
close pingcap/tidb#53336
2024-07-19 09:43:31 +00:00
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