Repository navigation
Commit 7a4db35
committed
[P4-T07/T08/T09] remove legacy MaxCompute subsystem from fe-core
After the catalog-SPI cutover (apache#64253) a max_compute catalog deserializes to
PluginDrivenExternalCatalog and no legacy MaxComputeExternal* object is ever
instantiated. Remove the now-dead legacy subsystem as one compiling unit.
- Delete 20 fe-core files: datasource/maxcompute/* (incl. MCTransaction and
source/MaxComputeScanNode|Split), the MaxCompute sink/insert/txn plumbing
(Logical/Physical/Unbound sinks, MCInsertExecutor/Context, MaxComputeTableSink,
MCTransactionManager, the impl rule), and 2 legacy-only tests.
- Clean ~21 reverse-reference sites: drop imports + now-dead instanceof/visitor/
rule branches, keeping every PluginDriven/connector sibling branch and the
image/replay keep-set (GsonUtils compat strings, TableType/TransactionType/
TableFormatType/InitCatalogLog.Type MAX_COMPUTE enums, block-id thrift).
- Trim/rewire 3 tests: drop legacy MCTransaction/MaxComputeExternalMetaCache
cases; rewire FrontendServiceImplTest's block-id RPC test onto the generic
Transaction SPI (mock), since getMaxComputeBlockIdRange now reads the
PluginDriven connector transaction.
fe-core has zero com.aliyun.odps source refs after this (pom deps dropped in a
follow-up). test-compile + checkstyle + connector import-gate all green.1 parent 9ed4957 commit 7a4db35
44 files changed
Lines changed: 8 additions & 4705 deletions
File tree
- fe/fe-core/src
- main/java/org/apache/doris
- datasource
- maxcompute
- source
- metacache
- nereids
- analyzer
- glue/translator
- processor
- post
- pre
- properties
- rules
- analysis
- expression
- implementation
- trees/plans
- commands
- info
- insert
- logical
- physical
- visitor
- planner
- tablefunction
- transaction
- test/java/org/apache/doris
- datasource
- maxcompute
- source
- service
- transaction
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 | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
950 | 949 | | |
951 | 950 | | |
952 | 951 | | |
953 | | - | |
954 | | - | |
955 | 952 | | |
956 | 953 | | |
957 | 954 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
68 | | - | |
69 | 67 | | |
70 | 68 | | |
71 | 69 | | |
| |||
180 | 178 | | |
181 | 179 | | |
182 | 180 | | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | 181 | | |
189 | 182 | | |
190 | 183 | | |
| |||
307 | 300 | | |
308 | 301 | | |
309 | 302 | | |
310 | | - | |
311 | 303 | | |
312 | 304 | | |
313 | 305 | | |
| |||
This file was deleted.
0 commit comments