You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "plusplusjiajia (via GitHub)" <gi...@apache.org> on 2026/08/29 16:38:10 UTC

[PR] [core] Read the table branch schemas when rewriting file indexes [paimon]

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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [core] Read the table branch schemas when rewriting file indexes [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on PR #9468:
URL: https://github.com/apache/paimon/pull/9468#issuecomment-5467345590

   +1


-- 
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-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [core] Read the table branch schemas when rewriting file indexes [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #9468:
URL: https://github.com/apache/paimon/pull/9468


-- 
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-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [core] Read the table branch schemas when rewriting file indexes [paimon]

Posted by "plusplusjiajia (via GitHub)" <gi...@apache.org>.
plusplusjiajia closed pull request #9468: [core] Read the table branch schemas when rewriting file indexes
URL: https://github.com/apache/paimon/pull/9468


-- 
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-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org