plusplusjiajia opened a new pull request, #9468:
URL: https://github.com/apache/paimon/pull/9468
### Purpose
`FileIndexProcessor` looks up the schema of every file it rewrites through
a `SchemaManager` pinned to the main branch, while the manifest entries it
processes come from the table it was given. Running `rewrite_file_index` on a
branch therefore resolves the branch's schema ids under main: it reads a
different schema when both branches happen to have that id, and fails with
`FileNotFoundException: .../schema/schema-N` when main never had it.
### Tests
`FileIndexProcessorTest`: a branch whose schema id exists only on the
branch is processed successfully; without the change the lookup throws.
--
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]