Commit Graph

337 Commits

Author SHA1 Message Date
2a522358ce planner,expression: remove duplicates in the ExtractColumnsFromExpressions (#62791)
ref pingcap/tidb#45839
2025-08-04 13:00:27 +00:00
def18e5ac9 expression: truncate decimal instead of return error for PrepStmt (#62792)
close pingcap/tidb#62602
2025-08-04 11:40:25 +00:00
f8def628ed expression: avoid copying the hashcode to prevent forgetting to update the hashcode when updating the expression later (#61933)
close pingcap/tidb#62121
2025-08-04 10:44:57 +00:00
a64de14f10 planner: constant propagation can deal with anti semi join (#62539)
close pingcap/tidb#62536
2025-08-01 10:52:15 +00:00
eb12403896 *: replace make then copy to slices.Clone (#62544)
close pingcap/tidb#62543
2025-07-31 12:27:55 +00:00
674fe1e00c expression: change log level for ColumnSubstitution's error message (#62605)
close pingcap/tidb#62608
2025-07-24 09:42:49 +00:00
a16aedeb9f planner: fix expand operator shouldn't keep child keys && fix grouping function forget to encode their func meta (#62558)
close pingcap/tidb#62551
2025-07-23 14:42:14 +00:00
2f4f559b83 fix: close issue 59446 make oct("") same as mysql (#61767)
close pingcap/tidb#59446
2025-07-15 02:10:51 +00:00
a957b33018 expr: Execute checkOrInit before constant folding (#62320)
ref pingcap/tidb#45756
2025-07-10 05:04:51 +00:00
3c2dc46853 expression: fix the length of casting from INT/REAL/DECIMAL/.... to string (#61476)
close pingcap/tidb#61350
2025-07-09 12:32:06 +00:00
9accc3cfa3 planner: Fix expression rewriting and method signature mismatch in plan cache (#58506)
close pingcap/tidb#56772
2025-07-08 05:01:27 +00:00
1cbda9879e fix: close issue 59457 by trim compare first (#61915)
close pingcap/tidb#59457
2025-07-08 02:19:54 +00:00
063fa72687 planner: lift the can-push-to-cop check of aggregation/proj (#62068)
ref pingcap/tidb#62006
2025-07-03 13:35:00 +00:00
cc37d0d3b0 expression: skip empty or one expression in the RemoveDupExprs (#62114)
ref pingcap/tidb#62121
2025-07-01 13:05:41 +00:00
cd0965a3a8 fix: close issue #59456 make it same as mysql (#62010)
close pingcap/tidb#59456
2025-06-30 05:34:45 +00:00
339f07ae8f expression, ddl: remove useless code (#62000) 2025-06-27 06:17:30 +00:00
642b2c8f02 expression,planner: reuse the propOuterJoinConstSolver to improve performance (#61913)
close pingcap/tidb#61837
2025-06-23 16:03:24 +00:00
1abbbf02de session: rename GetDomainInfoSchema to GetLatestInfoSchema (#61894)
ref pingcap/tidb#61702
2025-06-23 10:09:21 +00:00
c597cb5e0a expression,planner: reuse the PropConstSolver to improve performance (#61838)
close pingcap/tidb#61837
2025-06-20 07:35:06 +00:00
35c1e21115 planner,expression: fix wrong copy args to avoid breaking origin expression when to EvaluateExprWithNull (#61630)
close pingcap/tidb#60625
2025-06-13 10:59:49 +00:00
45de54a3b7 expression/parser: Cleanup MASTER_POS_WAIT (#60928)
close pingcap/tidb#60927
2025-06-12 19:16:43 +00:00
9f38fcae00 planner,executor: improve the convenience of functions (#61546)
ref pingcap/tidb#36764
2025-06-06 08:57:06 +00:00
92925e9689 planner: fix wrongly skip plan cache with predicate simplification (#61515)
close pingcap/tidb#61513
2025-06-06 05:40:38 +00:00
fa3c79b408 br: enable parallel restore (#58724)
close pingcap/tidb#58725
2025-06-03 02:36:14 +00:00
e7b038b991 expression: deduplicate the args of IN function (#61249)
close pingcap/tidb#61246
2025-05-31 02:22:14 +00:00
ff4e01dfae planner, executor: clone the field type for correlated column when setting the EnumSetAsIntFlag flag. (#61412)
close pingcap/tidb#61389
2025-05-30 06:55:52 +00:00
69ea78a085 expression: avoid calling strings.ToLower frequently (#61385)
close pingcap/tidb#61375
2025-05-29 10:09:07 +00:00
3cdf5954a7 expression: refine code in IsPushDownEnabled (#61392)
ref pingcap/tidb#61375
2025-05-29 08:36:19 +00:00
d278fffc9d expression: refactor expression.Contains to improve performance (#61374)
close pingcap/tidb#61373
2025-05-28 10:01:49 +00:00
73673086c0 expression: introduce new function for JSON array (#60728)
ref pingcap/tidb#60649
2025-05-27 09:58:49 +00:00
7702f73bee expression: Timestamp literal with time zone offset (#57845)
close pingcap/tidb#51742
2025-05-26 02:46:25 +00:00
4012a7439a expression: gopls modernize (#60791)
close pingcap/tidb#60790
2025-05-06 14:03:42 +00:00
351445e66b *: Support building FULLTEXT index (#60720)
ref pingcap/tidb#1793
2025-04-25 03:42:37 +00:00
a10565bb10 Planner: add a column to save distance results from vector index in TopN plan. (#60544)
ref pingcap/tidb#54245
2025-04-18 14:02:10 +00:00
7f6df324e0 *: generalize columnar for DDL (#60244)
ref pingcap/tidb#59880
2025-03-26 08:52:25 +00:00
9a0413b61a expression: make LPAD/RPAD return an empty string for an empty padstr (#59734)
close pingcap/tidb#59447
2025-03-20 04:12:55 +00:00
54b42a5756 charset,collation: implement GB18030 and 2 collations (#55792)
close pingcap/tidb#31692, close pingcap/tidb#31693, close pingcap/tidb#31694, ref pingcap/tidb#55791
2025-03-12 04:44:15 +00:00
d884a4deac planner: optimize return type of partial sum for tiflash (#59709)
close pingcap/tidb#59708
2025-03-11 03:07:00 +00:00
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