Commit Graph

239 Commits

Author SHA1 Message Date
f2385404df expression: introduce SafeToShareAcrossSession to Expression for Instance Plan Cache (#57110)
ref pingcap/tidb#54057
2024-11-05 09:37:46 +00:00
Bin
5faeca4d1b *: use golang built-in functions rather than mathutil (#56818)
close pingcap/tidb#56594
2024-10-25 05:18:17 +00:00
ed9a909395 planner: add hash64 and equals for logical aggregation (#56750)
ref pingcap/tidb#51664
2024-10-23 12:12:57 +00:00
bff2203f34 expression: fix expression that duration type null equal with const null (#56768)
close pingcap/tidb#56744
2024-10-22 10:33:21 +00:00
d011ecd7e5 expression: fix errors set utc_timestamp precision (#56453)
close pingcap/tidb#56451
2024-10-22 04:26:00 +00:00
55b3e37c7c Makefile: add gotag for make server_check (#51057) 2024-10-18 13:42:57 +00:00
e017e1bc4c expression: use maximum length for integer display (#56463)
close pingcap/tidb#45338, close pingcap/tidb#56462
2024-10-14 12:54:49 +00:00
a56674c41b expression: provide OptPropPrivilegeChecker for EvalContext (#56302)
close pingcap/tidb#56301
2024-10-11 09:47:41 +00:00
7aefb084f3 planner: support vector index in planner (#56204)
ref pingcap/tidb#54245, close pingcap/tidb#56510
2024-10-10 14:30:15 +00:00
698f54f45a expression: remove unnecessary warnings for AND/OR expressions (#56482)
close pingcap/tidb#56481
2024-10-09 06:12:28 +00:00
8c4bab1963 *: upgrade go1.23.2 (#51126)
close pingcap/tidb#50765
2024-10-09 05:15:46 +00:00
dcfec4b1de expression: implement vectorized evaluation for builtinVectorFloat32 (#55254)
ref pingcap/tidb#54245
2024-10-08 08:58:13 +00:00
fbcb35cd3d expression: handle invalid date time properly (#56461)
close pingcap/tidb#56460
2024-10-08 02:08:07 +00:00
65d740f5f8 planner: Display truncate vector in EXPLAIN (#55934)
ref pingcap/tidb#54245
2024-09-29 11:51:19 +00:00
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