zhangyue19921010 opened a new pull request, #11368: URL: https://github.com/apache/paimon/pull/11368
### Purpose Fixes #11367. When a Paimon CDC source scans a database or warehouse with `table` unset, restoring after a source table is dropped fails if the checkpoint still contains pending or assigned splits. Skip coordinator splits for tables excluded during metadata restore, and finish unavailable reader splits before loading their schemas so remaining tables can continue. This change covers discovery across multiple tables. An explicitly selected missing table still follows the existing discovery behavior. Successful table lookups remain cached. Missing tables are not cached, and other catalog errors still propagate. ### Tests - Four real-source checkpoint regressions cover pending/assigned splits with one/all source tables removed. They fail on unchanged master and pass with the fix; the surviving table's rows are verified. - Table-manager controls cover rediscovery after an unavailable lookup and propagation of catalog errors. - Current final committed-head run: 44 tests passed, including the existing Flink savepoint/rescale integration case, with Checkstyle, Spotless and Enforcer enabled. RAT passed separately. Validated on JDK 11 with Java 8 source target. The new unfinished-split trigger is verified through source APIs and serialized state. The existing Flink integration control drops a table after consuming its rows, then restores and rescales. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
