Repository navigation
Commit 7632a07
[P5-T29] paimon B8 (C1): delete dead fe-core legacy subtree + sever reverse-refs
Batch 1 / commit 1 of removing the legacy paimon subsystem from fe-core after the
SPI cutover (apache#64446). Mirrors P4 apache#64300; per that precedent the reverse-ref removal
and dead-file deletion must land as one compiling unit (PaimonUtils:57 calls the
removed ExternalMetaCacheMgr.paimon()).
Delete 33 dead main files (datasource/paimon/* except the LIVE
PaimonVendedCredentialsProvider + datasource/metacache/paimon/* +
datasource/systable/PaimonSysTable) and 5 dead tests (SUT is a deleted class).
Sever live reverse-refs to the deleted classes:
- ExternalCatalog: drop the PAIMON db-creation switch arm (PluginDriven forces PLUGIN).
- ExternalMetaCacheMgr / ExternalMetaCacheRouteResolver: drop the paimon engine
routing/accessor/registration (PluginDriven catalogs route to the default cache).
- Env.getDdlStmt: drop the dead PAIMON_EXTERNAL_TABLE branch; KEEP the LIVE
PLUGIN_EXTERNAL_TABLE D-046 SHOW CREATE LOCATION/PROPERTIES rendering.
- UserAuthentication: drop the PaimonSysExternalTable branch (the live
PluginDrivenSysExternalTable branch already authorizes sys-tables).
- ShowPartitionsCommand: drop the legacy paimon clauses + handleShowPaimonTablePartitions();
KEEP hasPartitionStatsCapability() (drives the 5-column path post-cutover) and the
live TableType.PAIMON_EXTERNAL_TABLE enum.
- Scrub 3 dangling {@link}/@see PaimonSysTable/PaimonSysExternalTable javadocs.
Decouple the STILL-CONSUMED property/metastore/Paimon* classes from the deleted
PaimonExternalCatalog by inlining getPaimonCatalogType() string literals
("hms"/"filesystem"/"dlf"/"rest"/"jdbc"). These thin metastore-property classes stay
in fe-core; their paimon-SDK catalog-building methods are stripped in commit 2.
Tests: swap StatementContextTest preload mock PaimonExternalTable ->
PluginDrivenMvccExternalTable; trim ExternalMetaCacheRouteResolverTest's deleted
paimon route + fixture predicates; repoint Jdbc/Rest metastore-props constant
assertions to literals. fe-core test-compile + checkstyle clean; 49 affected tests pass.
KEEP for Batch 2 (docker-gated): PaimonVendedCredentialsProvider + the generic
VendedCredentialsFactory paimon seam; the 5 paimon maven deps remain until then.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_011mTrPcvMZtFjsxWJM5TRnG1 parent 38e7140 commit 7632a07
57 files changed
Lines changed: 202 additions & 6301 deletions
File tree
- fe/fe-core/src
- main/java/org/apache/doris
- catalog
- datasource
- metacache
- paimon
- paimon
- profile
- source
- property/metastore
- systable
- nereids
- rules/analysis
- trees/plans/commands
- test/java/org/apache/doris
- datasource
- paimon
- source
- property/metastore
- nereids
- planner
- plan-doc/tasks/designs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | 111 | | |
114 | 112 | | |
115 | 113 | | |
| |||
4914 | 4912 | | |
4915 | 4913 | | |
4916 | 4914 | | |
4917 | | - | |
4918 | | - | |
4919 | | - | |
4920 | | - | |
4921 | | - | |
4922 | | - | |
4923 | | - | |
4924 | | - | |
4925 | | - | |
4926 | | - | |
4927 | | - | |
4928 | | - | |
4929 | | - | |
4930 | | - | |
4931 | | - | |
4932 | | - | |
4933 | | - | |
4934 | | - | |
4935 | | - | |
4936 | | - | |
4937 | | - | |
4938 | | - | |
4939 | 4915 | | |
4940 | 4916 | | |
4941 | 4917 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
963 | 962 | | |
964 | 963 | | |
965 | 964 | | |
966 | | - | |
967 | | - | |
968 | 965 | | |
969 | 966 | | |
970 | 967 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
66 | | - | |
67 | 65 | | |
68 | 66 | | |
69 | 67 | | |
| |||
173 | 171 | | |
174 | 172 | | |
175 | 173 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | 174 | | |
182 | 175 | | |
183 | 176 | | |
| |||
299 | 292 | | |
300 | 293 | | |
301 | 294 | | |
302 | | - | |
303 | 295 | | |
304 | 296 | | |
305 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
| |||
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 67 | | |
74 | 68 | | |
75 | 69 | | |
| |||
0 commit comments