Repository navigation
Commit 26eebd6
[test](paimon) Cover chain table payloads in the backend manifest cap
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: The backend scanner bounds Paimon's manifest
parallelism by rebuilding the transported table, and this PR made that
rebuild keep a chain table's ChainGroupReadTable. Only the plain-table
overload was covered. A system table over a chain table ($partitions,
$files, ...) is rebuilt from the transported source instead, and the
backend resolves $partitions itself, so losing the group there drops the
partitions only the delta branch holds. A backend upgraded before the FE
also still receives the payload of the previous FE, in which the chain
group has been replaced by a plain table at the snapshot branch, and
must keep reading it as before.
### Release note
None
### Check List (For Author)
- Test: Unit Test
- PaimonJniScannerTest
.testBackendCapKeepsTheChainGroupOfAChainTableSystemSource:
a $partitions wrapper rebuilt from a chain source keeps the group.
- PaimonJniScannerTest
.testBackendCapStillReadsTheChainTablePayloadOfAnOlderFrontend:
the previous FE's pair stays a plain fallback pair.
- Behavior changed: No
- Does this need documentation: No
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent f64111f commit 26eebd6
1 file changed
Lines changed: 36 additions & 0 deletions
File tree
- fe/be-java-extensions/paimon-scanner/src/test/java/org/apache/doris/paimon
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
337 | 373 | | |
338 | 374 | | |
339 | 375 | | |
| |||
0 commit comments