Commit Graph

258 Commits

Author SHA1 Message Date
cfa16a3fc3 planner: fix the wrong schema.Clone implementation (#57632)
close pingcap/tidb#57635
2024-11-26 02:51:03 +00:00
06c6e400bd expression: fix wrong calculation order of radians (#57672)
close pingcap/tidb#57661, close pingcap/tidb#57671
2024-11-25 11:22:47 +00:00
eda6cc31e9 expression: remove redundant warnings when executing SUBTIME (#57508) 2024-11-25 03:11:44 +00:00
2ff351db25 executor: fix incorrect result produced by addtime() or subtime() function when using the date type (#57337)
close pingcap/tidb#56861
2024-11-20 16:53:32 +00:00
db4d19bb84 expression: fix the arg verification for json functions. (#54145)
close pingcap/tidb#54029, close pingcap/tidb#54044
2024-11-20 16:00:41 +00:00
38104f4f32 expression: fix tikv crash when bool like cast(bit as char) (#57484)
close pingcap/tidb#56494
2024-11-20 08:43:53 +00:00
c5e9cc77e6 planner: Fix the issue where any(nil) is not considered equal to nil (#57428)
close pingcap/tidb#57326
2024-11-20 06:17:38 +00:00
91beef4bb1 *: disable insert null to not-null column for single-row insertion in non-strict mode (#55477)
close pingcap/tidb#55457, close pingcap/tidb#56381
2024-11-19 12:46:11 +00:00
60bbccb415 expression: fix wrong flen from baseFunctionClass (#56607)
close pingcap/tidb#56587
2024-11-19 11:55:56 +00:00
35d5739657 expression: Fix optimizer panic in evaluate expr with null (#57403)
close pingcap/tidb#55886
2024-11-19 11:03:39 +00:00
1b6d01b60a expression,json: make the behavior of JSON_VALID consistent (#57496)
close pingcap/tidb#56293
2024-11-19 09:28:36 +00:00
e731f1bc5f distsql,util: Add executor open close time into its total consume time (#56236)
ref pingcap/tidb#56232, close pingcap/tidb#56233
2024-11-18 14:20:26 +00:00
4272a56eeb expression: fix incorrect copy of flag in truncate function (#55284)
close pingcap/tidb#53546
2024-11-15 14:30:44 +00:00
97e7b5c268 planner: reserve the OFFSET when outer join's inner side is unique (#56483)
close pingcap/tidb#56321
2024-11-13 16:07:56 +00:00
2d9f82975b planner: let exists subquery return signed int type (#57277)
close pingcap/tidb#56641
2024-11-13 09:18:38 +00:00
8832684721 executor: support left outer semi join for hash join v2 (#57053)
ref pingcap/tidb#53127
2024-11-13 06:46:32 +00:00
65281ad307 *: make chunk.SwapColumn private (#57274)
close pingcap/tidb#55885
2024-11-13 06:11:23 +00:00
b5cf2c3980 planner: add hash64 and equal for maxOneRow and fix some bugs. (#57259)
ref pingcap/tidb#51664
2024-11-11 08:03:57 +00:00
7ef4f0292c expression: label more expressions as thread-safe and add more test cases (#57171)
ref pingcap/tidb#54057
2024-11-06 11:29:22 +00:00
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