Commit Graph

299 Commits

Author SHA1 Message Date
f689bd6465 expression: Add failpoint to force pushdown expression to tikv for debug usage (#59765)
ref pingcap/tidb#51876
2025-02-26 10:31:58 +00:00
8b30027ba7 json, expr: json_search should return NULL when the search path is NULL (#59714)
close pingcap/tidb#59463
2025-02-26 07:00:02 +00:00
fed02515f8 json: fix the issue that two arrays are merged but not append in JSON_ARRAY_APPEND. (#59688)
close pingcap/tidb#59465
2025-02-25 11:37:21 +00:00
4cf94a7446 expression: refine invalid char error msg for string conversion (#59711)
close pingcap/tidb#56706
2025-02-25 09:48:21 +00:00
4db34bc3e2 workload-based learning: save the metrics and create new workload_values table (#59126)
ref pingcap/tidb#58131
2025-02-20 03:58:34 +00:00
c226d8be71 expression: avoid slicesgrow in the PushDownExprsWithExtraInfo (#59556)
ref pingcap/tidb#59307
2025-02-18 08:08:03 +00:00
1596775be1 expression: Support aggregation in window function pushdown to TiFlash (#59510)
close pingcap/tidb#59509
2025-02-17 10:31:11 +00:00
8059751eaf Revert "expr: support str_to_date pushdown to tikv #59362" (#59580)
ref pingcap/tidb#59566
2025-02-17 08:09:46 +00:00
e13fa57faa expr: Support unix_timestamp pushdown to TiKV (#59498)
close pingcap/tidb#59497
2025-02-13 11:22:15 +00:00
bec3f6a805 expression: fix incorrect results of json_keys(json, path) with JSONTypeCodeArray as the first argument (#59486)
close pingcap/tidb#56788
2025-02-13 10:31:11 +00:00
beda9088bc planner: avoid skipping plan cache when extracting funcdep (#59485)
ref pingcap/tidb#38610
2025-02-13 06:13:58 +00:00
453ccd738d expression: push down truncate to tiflash (#59318)
close pingcap/tidb#59317
2025-02-12 10:20:37 +00:00
b3249598db expression: support timestampdiff pushdown to tikv (#59366)
close pingcap/tidb#59365
2025-02-10 12:37:38 +00:00
1df0f7e51b expr: support str_to_date pushdown to tikv (#59362)
close pingcap/tidb#59057
2025-02-10 11:21:01 +00:00
dd9c4b1d92 *: remove the variable txn_scope (#58839)
ref pingcap/tidb#58838
2025-02-10 11:20:46 +00:00
f7759f56c0 expression: avoid slicesgrow in the extractBinaryOpItems (#59320)
close pingcap/tidb#59319
2025-02-07 12:18:03 +00:00
fa0bc8e5bc planner: change more conditions that are always false to dual (#59199)
close pingcap/tidb#51446
2025-02-07 11:21:34 +00:00
4636702cd5 expr: support from_unixtime pushdown to tikv (#58941)
close pingcap/tidb#58940
2025-01-24 03:06:38 +00:00
cf4d252af8 *: split definition out of variable pkg and refactor some reorg methods (#59146)
ref pingcap/tidb#57229, ref pingcap/tidb#57497
2025-01-23 09:24:44 +00:00
c05646e352 test: fix error checking (#59092)
ref pingcap/tidb#57275
2025-01-21 10:05:38 +00:00
a6ab1033ec expression: fix wrong size in the baseBuiltinFunc.cloneFrom (#59085)
close pingcap/tidb#59084
2025-01-21 09:06:23 +00:00
c1bb4f7adb expression: Fixing Expression Rewrite Bug in Predicate Push Down for NULLIF with Type Mismatch (#58588)
close pingcap/tidb#57647
2025-01-21 05:14:17 +00:00
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