Commit Graph

352 Commits

Author SHA1 Message Date
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
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
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
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
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
tpp
f2c278ddc6 Planner: Do not allow cardinality to go below 1 (#55242)
close pingcap/tidb#47400
2024-08-20 12:00:12 +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
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
e1f2b77b72 parser: support GLOBAL IndexOption (#55259)
ref pingcap/tidb#52994
2024-08-09 09:54:42 +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
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
1277c72836 *: fix query reports ScalarFunction is not supported in batch mode (#55074)
close pingcap/tidb#55012
2024-08-01 05:10:21 +00:00
a187e9d63e ddl, partition: report error when interval partition create partition numbers exceed limit number (#55097)
close pingcap/tidb#55093
2024-08-01 02:35:50 +00:00
05853ddd60 infoschema: adapt TableByName for query of memory table (#54918)
ref pingcap/tidb#50305
2024-07-31 11:07:20 +00:00
5d5de413ec planner: import more tests about rollup expand (#55024)
close pingcap/tidb#42631
2024-07-30 07:50:48 +00:00
c517ffb9b3 tests: let clustered_index.test use v2 stats and cost (#54885) 2024-07-29 15:08:49 +00:00
02cbd145b5 planner: fix extract correlated column for expand in building phase will panic. (#54988)
close pingcap/tidb#54983
2024-07-29 06:46:18 +00:00
56710aeaef planner: derive index filters for mv index paths (#54877)
close pingcap/tidb#54876
2024-07-26 17:26:44 +00:00
0abf3ae75a planner: import more expand test. (#54962)
close pingcap/tidb#42631
2024-07-26 11:29:52 +00:00
628b7ed673 planner: deprecate index lookup merge join. (#54681)
close pingcap/tidb#54064
2024-07-25 07:48:05 +00:00
cbe807fe76 planner, executor: allow build root task type of expand operator and implement expand executor (#54536)
close pingcap/tidb#42631
2024-07-24 11:13:48 +00:00
a251dad6ba ddl, partition: fix create strictly increasing range partition (#54839)
close pingcap/tidb#54829
2024-07-24 09:37:34 +00:00
47179ae14d table: introduce RowIDShardGenerator and ReservedRowIDAlloc to alloc auto row id (#54789)
ref pingcap/tidb#54397
2024-07-24 09:01:35 +00:00
cf2f7d6679 tests: update the stats and cost for tpch and imdb to ver2 (#54807) 2024-07-22 20:13:33 +00:00
669bf4d480 planner: Fix BatchPointGetPlan.HandleColOffset (#54686)
close pingcap/tidb#54667
2024-07-22 08:22:34 +00:00
f7fc12283a infoschema: speed up reader for some tables (#54333)
ref pingcap/tidb#50305
2024-07-22 04:30:03 +00:00
41ed0e508d planner: use ordered index with is null predicate (#54253)
close pingcap/tidb#54188
2024-07-19 18:42:01 +00:00
8471e8a785 planner: fix the case that projection prunes all columns (#54650)
close pingcap/tidb#54648
2024-07-19 08:27:02 +00:00
ddcaadbb85 planner: forbid generate PointGet plan with partition table + _tidb_rowid (#54592)
close pingcap/tidb#54583
2024-07-19 03:45:08 +00:00
a48a4a28a4 executor: populate correct user in set pwd for error msg (#54040)
close pingcap/tidb#54039
2024-07-17 18:25:31 +00:00