Commit Graph

225 Commits

Author SHA1 Message Date
dffc0c9429 expression: avoid refinement of arguments on nullable value (#55805)
close pingcap/tidb#44706
2024-09-29 02:21:06 +00:00
569767527d *: Fix possibly invalid vector default values (#56286)
ref pingcap/tidb#54245
2024-09-26 12:12:53 +00:00
f399e91cf8 expression: Fix warnings for FORMAT() in CTE (#56198)
close pingcap/tidb#56193
2024-09-26 10:57:15 +00:00
01797cb3ae expression: pushdown add_date/sub_date expressions to tikv (#56298)
close pingcap/tidb#56297
2024-09-26 07:40:27 +00:00
7b6209df99 meta: introduce metabuild.Context to build meta (#56176)
close pingcap/tidb#56175
2024-09-26 00:21:37 +00:00
8106d9304a planner: add a new sys table to store index advisor results and a new table to store kernel options (#56188)
ref pingcap/tidb#12303
2024-09-23 17:29:17 +00:00
801e55528f expresssion: fix div result type infer bug if a integer type has minimum display length (#56158)
close pingcap/tidb#55837
2024-09-20 06:37:54 +00:00
ff1f862117 expression: disable some json function from pushdown to TiFlash (#56177)
close pingcap/tidb#56173
2024-09-20 05:51:42 +00:00
68fdf55d94 *: rename some packages of context (#56108)
close pingcap/tidb#56107
2024-09-19 07:11:03 +00:00
b3914c5d86 expression: fix expression return wrong current time when using StaticEvalContext (#56059)
close pingcap/tidb#56051, close pingcap/tidb#56054
2024-09-14 03:26:57 +00:00
e471433601 *: Refactor param.ExecArgs from pkg param to pkg expression. (#55784) 2024-09-13 09:21:19 +00:00
027f01b7ef br: migrate pitr id map to the system table mysql.tidb_pitr_id_map (#55871)
ref pingcap/tidb#55870
2024-09-13 07:28:59 +00:00
e0864c6cf1 expression: let cast function supports explicit set charset (#55724)
close pingcap/tidb#55677
2024-09-10 10:25:23 +00:00
4ab1765ac9 planner: introduce hashEquals interface for expression.Expression (#55793)
ref pingcap/tidb#51664
2024-09-09 10:40:45 +00:00
7d75f23fed expression: Add GetUserVarsReader to EvalContext (#55866)
close pingcap/tidb#55865
2024-09-09 09:48:24 +00:00
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