LsomeYeah opened a new pull request, #5952: URL: https://github.com/apache/paimon/pull/5952
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> Linked issue: close #xxx <!-- What is the purpose of the change --> ``` Caused by: java.lang.ClassCastException: org.apache.paimon.table.source.DataSplit cannot be cast to org.apache.paimon.table.FallbackReadFileStoreTable$FallbackDataSplit ``` An exception would be thrown when attempting to read a branch configured with the `scan.fallback-branch` property. This occurs because the `FallbackReadFileStoreTable` class does not implement the `newStreamScan()` method. As a result, the data splits generated in streaming mode are instances of `DataSplit` rather than `FallbackDataSplit`, leading to a ClassCastException. ### Tests <!-- List UT and IT cases to verify this change --> ### API and Format <!-- Does this change affect API or storage format --> ### Documentation <!-- Does this change introduce a new feature --> -- 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: issues-unsubscr...@paimon.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org