Commit Graph

2068 Commits

Author SHA1 Message Date
bbe52667b0 planner/core: infoschema tables should show global temp tables (#55379)
close pingcap/tidb#55375
2024-08-13 08:10:32 +00:00
7e9f85320d planner: move rule_constant_propagation to rule pkg. (#55231) (#55345)
ref pingcap/tidb#55231
2024-08-13 05:06:10 +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
fcc2f72945 planner: move logical aggregation to logicalop pkg (#55371)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-13 04:34:39 +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
9a7e5cc2f7 planner: incorrect query result using ISNULL in the nested expressions (#55306)
close pingcap/tidb#55299
2024-08-13 03:36:09 +00:00
29d52a7bff meta, util: skip unmarshal unneeded JSON fields (#55304)
ref pingcap/tidb#55324
2024-08-13 03:36:02 +00:00
1f40cb0bc2 *: support batch create/drop bindings from plan/sql digest (#55315)
close pingcap/tidb#55343
2024-08-12 19:52:31 +00:00
6a340883bf server: support global scope for tidb_low_resolution_tso sys var (#55000)
close pingcap/tidb#54999
2024-08-12 14:00:02 +00:00
cde560352a *: fix flaky test TestRecordHistoryStatsAfterAnalyze (#55365)
close pingcap/tidb#55364
2024-08-12 12:52:38 +00:00
2fb61a5eb2 *: Require GLOBAL IndexOption for creating Global Index (#55264)
close pingcap/tidb#52994
2024-08-12 12:52:31 +00:00
4764397725 ddl: restructure schema version and server state syncer (#55368)
ref pingcap/tidb#54436
2024-08-12 11:43:39 +00:00
4baaa182ed infoschema: update two tests to make them robust and a tiny fix (#55362)
ref pingcap/tidb#50959, close pingcap/tidb#55132
2024-08-12 11:43:31 +00:00
bc0af68244 planner: add more test cases for instance plan cache (#55363)
ref pingcap/tidb#54057
2024-08-12 10:09:02 +00:00
66e192d842 tables: remove unnecessary function (#55361) 2024-08-12 08:40:32 +00:00
e767f86c53 executor: try to optimize index join query by reduce cop task count (#55359)
close pingcap/tidb#55357
2024-08-12 07:52:31 +00:00
51d57aaa36 *: rename current_affected_rows to rows_affected (#54921)
ref pingcap/tidb#54486
2024-08-12 07:19:31 +00:00
67d6e70f94 executor: fix incorrect result when hash agg spill is triggered (#55322)
close pingcap/tidb#55290
2024-08-12 06:46:38 +00:00
813fe19df9 executor, infoschema: filter out the PRIMARY index and foreign keys in table_constraints (#55255)
close pingcap/tidb#55253
2024-08-12 06:46:31 +00:00
2abd334934 planner: move logical join and logical selection to logicalop (#55272)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-12 05:42:01 +00:00
004b442fb9 pkg/planner: set proj.AvoidColumnEvaluator in postOptimize (#55333)
close pingcap/tidb#52985
2024-08-12 04:49:38 +00:00
d78bb91e32 gc_worker: make deleteRanges concurrent (#54571)
close pingcap/tidb#54570
2024-08-12 04:49:31 +00:00
37087225f5 ddl/domain: disallow set schema lease to 0 (#55312)
ref pingcap/tidb#54436
2024-08-12 04:03:08 +00:00
Hu#
d6dda3d3b7 runaway: add runaway tidb-side time checker (#54987)
close pingcap/tidb#51325
2024-08-12 04:03:01 +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
2675c66452 variable: fix data race in GetTemporaryTable (#55338)
close pingcap/tidb#55337
2024-08-09 15:06:41 +00:00
240702efb4 planner: move base physical plan into physicalop pkg. (#55131)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-09 12:47:12 +00:00
876268f619 *: add ctx parameter to infoschema TableByID (#55329)
ref pingcap/tidb#50959
2024-08-09 10:42:47 +00:00
4d384d3135 planner: add protection to avoid setting tot_col_size to negative numbers (#55327)
close pingcap/tidb#55126
2024-08-09 10:42:40 +00:00
2c9a45c7ba test: fix data conflict in TestCursorWillBlockMinStartTS (#55326)
close pingcap/tidb#55227
2024-08-09 09:54:56 +00:00
bf7c8b1265 table: make AddRecordOpt/UpdateRecordOpt/CreateIdxOpt immutable (#55325)
ref pingcap/tidb#54397
2024-08-09 09:54:49 +00:00
e1f2b77b72 parser: support GLOBAL IndexOption (#55259)
ref pingcap/tidb#52994
2024-08-09 09:54:42 +00:00
fd3ad810ae *: support to query init stats percentage from http api (#55323)
close pingcap/tidb#53564
2024-08-09 08:36:49 +00:00
5d867dd45c ddl: improve priority of suppressErrorTooLongKeyKey for DM (#55164)
close pingcap/tidb#55138
2024-08-09 08:36:42 +00:00
29122dea44 ddl: clone table for show columns (#55309)
close pingcap/tidb#55301
2024-08-09 06:59:12 +00:00
b066365ef3 *: kill auto analyze out of the auto analyze time windows (#55062)
close pingcap/tidb#55283
2024-08-09 05:35:12 +00:00
2a731e66cf planner: support using "KiB/MiB/GiB" to set isntance_plan_cache_target/max_mem_size (#55316)
ref pingcap/tidb#54057
2024-08-09 04:09:41 +00:00
829bd5b6e7 table: fix some txn assertion error when executing DDL and DML (#55314)
close pingcap/tidb#55313
2024-08-09 03:32:10 +00:00
cf2c703b39 ddl: remove unused copReqSenderPool and related structures (#55302)
ref pingcap/tidb#54436
2024-08-08 17:00:41 +00:00
0cfa66fcf0 *: add tiflash_hashagg_preaggregation_mode sys var (#54186)
close pingcap/tidb#54867
2024-08-08 13:03:40 +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
81048985a3 planner: use code-gen to generate CloneForPlanCache method for SelectLock (#55303)
ref pingcap/tidb#54057
2024-08-08 11:23: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
d4c26cae55 table: Add option DupKeyCheckLazy to check duplicated key lazily (#55246)
ref pingcap/tidb#54397
2024-08-08 10:09:40 +00:00
3357f265c3 test: port unit test from #55286 to master (#55293)
close pingcap/tidb#55250
2024-08-08 08:59:18 +00:00
a9a5b97e35 lightning: optimize checkpoint size (#55230)
close pingcap/tidb#55054
2024-08-08 08:59:10 +00:00
Hu#
ed1ebbbcde metric/resource_control: append write dimension of the RU max metric (#55010)
ref pingcap/tidb#54434
2024-08-08 08:06:41 +00:00
d0c1ca18c1 planner: remove useless pointer receiver implementation. (#55292)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-08 06:29:11 +00:00
f6fe03d2d1 parser: change keyword TiDB_CURRENT_TSO to TIDB_CURRENT_TSO (#55258)
close pingcap/tidb#55208
2024-08-08 03:00:40 +00:00
1ee9efa51b planner: add PhysicalJoin interface and move and split methods in hint_utils.go (#55279)
ref pingcap/tidb#55280
2024-08-07 13:05:11 +00:00