Commit Graph

348 Commits

Author SHA1 Message Date
f9d7c6837c expression: add cast for eq expr when doing constant propagation (#63327)
close pingcap/tidb#57247
2025-09-04 06:38:00 +00:00
02d38ee4d0 planner: PropagateConstant can remove useless push down conditions (#63061)
close pingcap/tidb#62991
2025-08-28 04:32:46 +00:00
8c88b61875 tests: fix unit tests for next-gen (#62895)
ref pingcap/tidb#61702
2025-08-20 19:51:02 +00:00
73ee7e2d2b expression: fix unexpected modification of shared return type of cast expr (#63072)
close pingcap/tidb#60093
2025-08-20 08:06:05 +00:00
259852d340 *: add the new SEMv2 config and implement most of the functions (#61634)
close pingcap/tidb#61582, close pingcap/tidb#61583, close pingcap/tidb#61584, close pingcap/tidb#61585
2025-08-18 13:38:47 +00:00
xhe
bc0d97a44d variable: change tidb_redact_log to global variable (#62892)
close pingcap/tidb#62890
2025-08-16 04:03:47 +00:00
a6b139988d planner: fix PropagateConstant create useless expression (#62864)
close pingcap/tidb#45839
2025-08-14 12:40:12 +00:00
c8792889dc planner: push down not operator when to simplify predicate (#62943)
close pingcap/tidb#62923
2025-08-13 10:46:21 +00:00
3111820b2c refactor: use slices.Contains to simplify code (#62880) 2025-08-08 16:08:36 +00:00
8aa5f5f4c4 expression: simplify the code with the ExtractColumnsFromExpressions (#62825)
ref pingcap/tidb#45839
2025-08-06 06:47:30 +00:00
a634b983c5 fix: close issue #59428 to sec_to_time binary same as mysql (#62239)
close pingcap/tidb#59428
2025-08-06 01:00:48 +00:00
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