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

[PR] [core] Only require the .db warehouse layout for catalog-storage Iceberg metadata [paimon]

tejanshrana opened a new pull request, #8911:
URL: https://github.com/apache/paimon/pull/8911

   ### Problem
   catalogDatabasePath() rejected any database whose location does not end in '.db' before checking the storage location, so metadata.iceberg.storage-location =table-location which writes Iceberg metadata beside the table and does not need the warehouse layout, was also rejected for databases with a non-warehouse location (e.g. an externally-provisioned or cross-account catalog database).
   
   ### Fix
   Move the '.db' guard into the catalog-storage branch, which is the only path that derives a warehouse-relative iceberg/<db>/ location by stripping the '.db' suffix. table-location now returns the database path as-is with no layout requirement; catalog-storage still requires '.db' and gives a clearer message.
   
   ### Tests
   Adds unit tests covering a non-warehouse database under both storage locations.
   


-- 
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] Only require the .db warehouse layout for catalog-storage Iceberg metadata [paimon]

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


-- 
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] Only require the .db warehouse layout for catalog-storage Iceberg metadata [paimon]

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

   +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