Stephen0421 opened a new pull request, #9044: URL: https://github.com/apache/paimon/pull/9044
### Purpose Fix batch read from tag on branch tables. `StaticFromTagStartingScanner` creates `TagManager` without branch name, so tags that exist only on a branch cannot be resolved and reads with `scan.tag-name` fail with `Tag doesn't exist`. Pass `snapshotManager.branch()` when creating `TagManager`, consistent with `AbstractBatchTableScan`, `AbstractDataTableScan`, and `IncrementalDiffStartingScanner`. ### Test - Add `testGetSnapshotFromBranchTag` and `testScanFromBranchTag` in `StaticFromTagStartingScannerTest` -- 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]
