Commit Graph

26463 Commits

Author SHA1 Message Date
2f4f559b83 fix: close issue 59446 make oct("") same as mysql (#61767)
close pingcap/tidb#59446
2025-07-15 02:10:51 +00:00
adbdf3f0c7 *: Update README.md (#62404) 2025-07-14 13:47:27 +00:00
10c9872c78 planner: Allow prepared and non-prepared queries with set_var and resource_group hints to be cached. (#62367)
close pingcap/tidb#60920
2025-07-14 11:33:06 +00:00
cdef1a3f17 meta/ddl: refactor ddl related sys table creation (#62301)
ref pingcap/tidb#61702
2025-07-14 10:44:57 +00:00
95b5aa9940 tables: force to lock the touched index in DML when DDL merging temp index (#62387)
close pingcap/tidb#62337
2025-07-14 09:30:01 +00:00
ea2ff4d473 executor: log error in the Close of joinv1 instead of returning it (#62352)
close pingcap/tidb#62351
2025-07-14 09:29:54 +00:00
19e1efaa01 planner: refactor physical optimization to receive group as parameter and enumerate plans based on group (#61244)
ref pingcap/tidb#62328
2025-07-14 08:25:21 +00:00
3580f5196e crossks: fix 'GC life time is shorter than' error when accessing infoschema (#62378)
ref pingcap/tidb#61702
2025-07-14 06:55:00 +00:00
0c6cbc13c9 planner: fix the issue that the group by check not allow cast expr in both projection and group by (#62354)
close pingcap/tidb#62350
2025-07-14 05:54:42 +00:00
4759f4e815 *: upgrade go1.23.11 (#62382)
close pingcap/tidb#62383
2025-07-14 04:12:36 +00:00
3e2def6179 planner: fix sql with static partition pruning mode got nil pointer error (#62381)
close pingcap/tidb#62331
2025-07-14 03:02:06 +00:00
c765578a11 planner: remove empty selection (#62332)
close pingcap/tidb#62240
2025-07-13 19:49:27 +00:00
db81dee5ed crossks: forbid cross ks session to access user tables and run DDL (#62270)
ref pingcap/tidb#61702
2025-07-11 06:39:39 +00:00
a7c824dfe0 executor: update stats table row cache in batch (#62042)
close pingcap/tidb#62020
2025-07-11 02:32:21 +00:00
833b1bedc7 ddl: handle PD error from getting timestamp (#62271)
close pingcap/tidb#58871
2025-07-10 15:11:30 +00:00
4440d9c3e9 infoschema: use the cloned structure instead of the original structure when applying diff (#62284)
close pingcap/tidb#62253
2025-07-10 12:40:33 +00:00
5f72bfffac br: always set ForcePathStyle=false for s3 compatible Tencent Cloud provider (#62227)
close pingcap/tidb#55568
2025-07-10 10:53:51 +00:00
a712249d45 planner: move physical selection related logic into physical op (#62339)
ref pingcap/tidb#52714
2025-07-10 09:55:21 +00:00
01c2af36e9 executor: fix the issue during analyze when first col is virtual col (#62333)
close pingcap/tidb#61606
2025-07-10 07:53:48 +00:00
af367b8a5a executor: replace Call with CallWithRecover in the close of hash join v1 (#61868)
close pingcap/tidb#60926
2025-07-10 06:31:54 +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
fe8d82fedd planner: move all physical topN related logic into physical op. (#62250)
ref pingcap/tidb#52714
2025-07-09 10:52:03 +00:00
c7cc618245 store/copr: refresh region cache and retry when no alive tiflash (#62085)
close pingcap/tidb#61826
2025-07-09 09:25:42 +00:00
5ec4f36c85 dxf: use correct store in add-index, checksum by copr in import-into, and enable DXF service (#62224)
ref pingcap/tidb#61702
2025-07-09 08:07:27 +00:00
93fac8bbfb infoschema: Add new fields in tiflash system table (#62296)
close pingcap/tidb#62295
2025-07-09 05:10:12 +00:00
7b104b729a lightning: fix panic on checksum manager close when checksum is off (#62300)
close pingcap/tidb#62142
2025-07-08 11:53:24 +00:00
5c4977b214 *: Add owners cfg file for pkg/metrics module (#62292)
ref pingcap/tidb#62286
2025-07-08 08:53:03 +00:00
4a380258a5 autoid: reserve a table ID range for downstream fork (#62157)
close pingcap/tidb#62144
2025-07-08 08:04:48 +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
6b7a0ed5b6 planner: use prop based noCopPushDown mechanism to replace aggregation field. (#62249)
ref pingcap/tidb#62006
2025-07-08 03:18:48 +00:00
1cbda9879e fix: close issue 59457 by trim compare first (#61915)
close pingcap/tidb#59457
2025-07-08 02:19:54 +00:00
81370d4c72 planner: add skew risk ratio for range pred (#62035)
close pingcap/tidb#62093
2025-07-07 20:32:30 +00:00
0cd280bbd2 meta: unify definition of system or memory DB name (#62247)
ref pingcap/tidb#61702
2025-07-07 19:17:48 +00:00
c65420d934 ddl: add retry for updateSelfVersion (#62190)
close pingcap/tidb#61210
2025-07-07 17:41:12 +00:00
c2941fc90d *: upgrade client go to add config valid function (#62246)
close pingcap/tidb#62245
2025-07-07 15:52:51 +00:00
f06e10c3ac executor: fix the inappropriate RequiredRows set by TopNExec (#62154)
close pingcap/tidb#62135
2025-07-07 12:59:24 +00:00
d87ec2b188 planner: RegardNULLAsPoint should be true as default (#62194)
close pingcap/tidb#62196
2025-07-07 11:09:00 +00:00
b475e1213b planner: apply predicate simplification before extract condition (#62211)
close pingcap/tidb#62212
2025-07-07 10:20:33 +00:00
2c714c30f1 test: fix failed test caused by new version of mc (#61356)
close pingcap/tidb#61671
2025-07-07 08:13:00 +00:00
ee9f2305ba planner: deprecate the logical interface CanPushToCop and its implementation canPushToCopImpl. (#62235)
ref pingcap/tidb#62006
2025-07-07 07:15:27 +00:00
0fd4b17d54 fix: shut down test without error (#61921)
close pingcap/tidb#62230
2025-07-07 04:00:27 +00:00
5968f818bf planner: lift the canPushToCop check of logical join/window/selection (#62206)
ref pingcap/tidb#62006
2025-07-07 02:39:57 +00:00
86ed1cab62 backend/local: add rate limiter for split region and ingest data (#61555)
close pingcap/tidb#61553
2025-07-05 09:30:09 +00:00
2d0da8ee78 fix(runaway): resolve the dead channel in UpdateNewAndDoneWatch (#61795)
close pingcap/tidb#61782
2025-07-05 06:00:54 +00:00
0a704a4bb7 *: collect subtask summary for IMPORT INTO tasks (#61600)
ref pingcap/tidb#61088
2025-07-04 15:12:30 +00:00
969fea4627 tests: update vector cluster test result (#62174)
ref pingcap/tidb#54245
2025-07-04 13:47:12 +00:00
a5b09b54ad planner: change casetest instance-plan-cache test timeout. (#62195) 2025-07-04 13:08:06 +00:00
b7694f40e5 planner: remove data race for instance plan cache (#62217)
ref pingcap/tidb#62153
2025-07-04 11:23:21 +00:00
698239604e *: upgrade pd client to fix keyspace issue (#62189)
close pingcap/tidb#62188
2025-07-04 10:27:07 +00:00