Commit Graph

791 Commits

Author SHA1 Message Date
76098f5e16 importinto: check column assignment expressions in import into ... (#55968)
close pingcap/tidb#55497
2024-09-10 17:40:45 +00:00
tpp
d2656d2e9d planner: preference range scan for pseudo (#55633)
close pingcap/tidb#55632
2024-09-10 16:56:26 +00:00
e0864c6cf1 expression: let cast function supports explicit set charset (#55724)
close pingcap/tidb#55677
2024-09-10 10:25:23 +00:00
dd1808364a planner: fix incorrect estRows with global index and json column (#55842)
close pingcap/tidb#55818
2024-09-06 12:08:39 +00:00
5dae1a3135 expression: support tidb encode key function (#51678)
close pingcap/tidb#51683
2024-09-06 07:03:37 +00:00
c011164834 planner: fix incorrect maintenance of handleColHelper for recursive CTE (#55732)
close pingcap/tidb#55666
2024-09-06 04:31:49 +00:00
c403cd555d ddl/ingest: set minCommitTS when detect remote duplicate keys (#55588)
close pingcap/tidb#55587
2024-09-05 15:28:18 +00:00
fef43c5639 *: Add tidbCPU/tikvCPU into system tables (#55455)
close pingcap/tidb#55542
2024-09-05 07:42:28 +00:00
91aabeae7e integration_test: update mysql-tester (#55860) 2024-09-05 02:36:01 +00:00
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
ris
649dce7c2d br: fix duplicated table check would block incremental restore (#55688)
close pingcap/tidb#55562
2024-09-03 12:28:27 +00:00
081616689d infoschema: fix sub_part in information_schema.statistics table (#55814)
close pingcap/tidb#55812
2024-09-03 09:08:11 +00:00
dd180de7ae infoschema: optimize 'select count(*) from information_schema.tables' for v2 (#55574)
close pingcap/tidb#55515
2024-09-03 08:25:00 +00:00
81cc3455c7 importinto: return error for reading user variables and using some functions (#55744)
ref pingcap/tidb#55497
2024-08-30 04:12:01 +00:00
fa533f8251 importinto: explicitly return error for SET subquery (#55495)
ref pingcap/tidb#55497
2024-08-29 10:10:45 +00:00
87244edabf statistics: fix sync load fails after disabling lite init stats (#54531)
close pingcap/tidb#54532
2024-08-27 13:21:16 +00:00
94666a27ce infoschema_v2: remove schemaTableInfos for foreign key (#55624)
close pingcap/tidb#55623
2024-08-27 10:12:17 +00:00
861607f62f test: turn on -with-real-tikv inside realtikvtest.RunTestMain (#55690)
ref pingcap/tidb#55529
2024-08-27 09:13:47 +00:00
48989e726f *: Vector Data types and Functions (#55550)
ref pingcap/tidb#54245
2024-08-22 07:01:51 +00:00
d04ec9d914 planner: fix CTE hang or wrong result when multiple Apply is used (#55553)
close pingcap/tidb#55551
2024-08-22 05:15:19 +00:00
9690dab339 expression: Support 2 argument version of MID() (#55541)
close pingcap/tidb#52420
2024-08-22 02:54:13 +00:00
ae9e196dae workerpool: add TaskMayPanic interface to remind caller handles panic (#55537)
ref pingcap/tidb#55497
2024-08-21 07:27:12 +00:00
tpp
f2c278ddc6 Planner: Do not allow cardinality to go below 1 (#55242)
close pingcap/tidb#47400
2024-08-20 12:00:12 +00:00
6d95459631 ddl: fix resuming to wrong checkpoint when failed during adding index (#55506)
close pingcap/tidb#55488
2024-08-20 09:13:42 +00:00
ris
f47130249b br: Add pre-check of duplicate table in the downstream (#55044)
close pingcap/tidb#55087
2024-08-20 05:37:42 +00:00
f751f73077 *: use model.CIStr in infoschema v2 to handle case insensitive (#55450)
close pingcap/tidb#55421
2024-08-19 08:09:11 +00:00
20454187d2 ddl: Global index more restrictions (#55440)
close pingcap/tidb#55424
2024-08-15 13:14:41 +00:00
aa4e2b323b planner/core: define extractors for sequences and constraints memtables (#55257)
ref pingcap/tidb#50305
2024-08-14 09:00:08 +00:00
cfcd1641fd *: update extractor for tidb_index_usage and columns table (#55263)
ref pingcap/tidb#50305
2024-08-14 07:51:08 +00:00
bbe52667b0 planner/core: infoschema tables should show global temp tables (#55379)
close pingcap/tidb#55375
2024-08-13 08:10:32 +00:00
bc6a18df27 *: update v2 infoschema reader support for tables Indexes, Views, KeyColumnUsage, TableConstraints (#55241)
ref pingcap/tidb#50959
2024-08-13 05:06:03 +00:00
3db0322bed ddl: support session level tidb_ddl_reorg_worker_cnt and batch_size (#55334)
close pingcap/tidb#55335
2024-08-13 04:34:32 +00:00
2fb61a5eb2 *: Require GLOBAL IndexOption for creating Global Index (#55264)
close pingcap/tidb#52994
2024-08-12 12:52:31 +00:00
6df7aba3b8 planner: support generating leading and hash_join_build hint from physical plan (#55195)
close pingcap/tidb#55280
2024-08-09 16:20:11 +00:00
876268f619 *: add ctx parameter to infoschema TableByID (#55329)
ref pingcap/tidb#50959
2024-08-09 10:42:47 +00:00
e1f2b77b72 parser: support GLOBAL IndexOption (#55259)
ref pingcap/tidb#52994
2024-08-09 09:54:42 +00:00
cf2c703b39 ddl: remove unused copReqSenderPool and related structures (#55302)
ref pingcap/tidb#54436
2024-08-08 17:00:41 +00:00
99857e33e8 server: add tidb_enable_shared_lock_promotion to support for share lock upgrade (#55023)
close pingcap/tidb#55022
2024-08-08 12:26:10 +00:00
a541a4f6af pkg/executor,tests: reset params in the PipelineWindow.Open (#54709)
close pingcap/tidb#53600
2024-08-08 10:48:42 +00:00
724b7eda3a pkg/planner, tests: set the AvoidColumnEvaluator correctly in ProjectionElimination (#55219)
close pingcap/tidb#52985
2024-08-07 09:30:47 +00:00
7746eacccc *: upgrade go1.21.13 (#55244)
close pingcap/tidb#55249
2024-08-07 08:44:24 +00:00
dfa7ea6de0 *: replace ddl callback injection with failpoint (#55215)
ref pingcap/tidb#54436
2024-08-07 08:44:17 +00:00
7d0abb96ea planner/core: filter temp tables for information_schema (#55209)
close pingcap/tidb#55166
2024-08-06 15:51:40 +00:00
5458324fe6 tests: update mysql-tester (#55216) 2024-08-06 09:42:40 +00:00
9fee330077 store/copr: partly revert pr/35975, do it correctly this time (#55196)
close pingcap/tidb#54969
2024-08-06 05:39:38 +00:00
07c35e8157 planner/core: define extractor for each schema related memtables (#55144)
ref pingcap/tidb#50305
2024-08-06 03:27:38 +00:00
f3e153a81b executor: filter on table_schema for INFORMATION_SCHEMA.KEY_COLUMN_USAGE table (#55162)
close pingcap/tidb#55156
2024-08-05 06:26:11 +00:00
52303d45cc ddl: replace OnJobRunAfter callback with failpoint (#55120)
ref pingcap/tidb#54436
2024-08-02 11:47:12 +00:00
1277c72836 *: fix query reports ScalarFunction is not supported in batch mode (#55074)
close pingcap/tidb#55012
2024-08-01 05:10:21 +00:00
68b529ebf5 ddl: replace OnJobUpdated callback with failpoint (#55091)
ref pingcap/tidb#54436
2024-08-01 04:34:26 +00:00