Commit Graph

277 Commits

Author SHA1 Message Date
f56a92bc71 copr: add MppVersionV3 (#58652)
ref pingcap/tidb#58654
2025-01-13 10:25:04 +00:00
1d0c33a167 types: throw error when input exceeds the range of float32 in vector (#58841)
ref pingcap/tidb#58379
2025-01-10 04:51:58 +00:00
d9dc3f4a3f planner: Fix vector not truncated after CBO (#58809)
close pingcap/tidb#58837
2025-01-09 19:01:43 +00:00
448e302b39 ddl: Fix vector index for high dimensional vectors (#58717)
ref pingcap/tidb#54245
2025-01-09 07:31:19 +00:00
b2f2faaa95 parser: move 'model' to 'ast' pkg (#58704)
ref pingcap/tidb#54436
2025-01-07 10:20:04 +00:00
1a455d0ff3 expression: fix incorrect short path in truncate function (#58656)
close pingcap/tidb#57608
2025-01-03 10:01:34 +00:00
9958228a65 planner, expr: eval readonly user var during plan phase (#54462)
close pingcap/tidb#52742
2024-12-25 16:35:33 +00:00
33f0727dd8 planner: don't calc the heavy expression used in ORDER BY stmt twice (#58208)
ref pingcap/tidb#54245, close pingcap/tidb#56318
2024-12-23 18:11:21 +00:00
8388f0fc58 expression: fix the truncate function when the first arg is 0 and second value is too large (#58191)
close pingcap/tidb#57651
2024-12-20 04:37:24 +00:00
85b46562ed parser: Fix undocumented password_func function (#58312)
close pingcap/tidb#58311
2024-12-20 03:44:09 +00:00
a3c9b7931c expression: cleanup old functions (#58327)
close pingcap/tidb#58326
2024-12-19 13:25:54 +00:00
85f3f9c0a6 expression: Fix arg validation for tidb_mvcc_info() (#58310)
close pingcap/tidb#58309
2024-12-19 03:57:49 +00:00
77866d1f46 expression: Update generated column function restrictions (#58308)
close pingcap/tidb#58299
2024-12-19 03:57:42 +00:00
80b34784bf planner: fix possible read-write DATA RACE on Instance Plan Cache (#58328)
close pingcap/tidb#58318
2024-12-18 12:43:15 +00:00
dcec06a74b *: tiny optimize by avoid sprintf (#58285)
ref pingcap/tidb#56649
2024-12-16 12:11:13 +00:00
6118096e7a expression: prevent building plan for execute statement with wrong type (#58069)
close pingcap/tidb#58053
2024-12-13 04:39:33 +00:00
1d53c858cb planner: add some e2e test cases for outer join elimination (#58070)
ref pingcap/tidb#54057
2024-12-12 08:17:15 +00:00
4e6468d26d expression: refactor names from VectorHelper to VSInfo (#58192)
ref pingcap/tidb#54245
2024-12-12 06:55:45 +00:00
05a2f4d373 build(deps): bump github.com/golangci/golangci-lint from 1.62.0 to 1.62.2 (#57824) 2024-11-29 11:17:23 +00:00
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