You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "adutra (via GitHub)" <gi...@apache.org> on 2026/10/30 11:14:23 UTC

Re: [PR] Docs: Document the Storage Layout [polaris]

adutra commented on PR #5879:
URL: https://github.com/apache/polaris/pull/5879#issuecomment-6521305763

   Thanks @ArnabKarmakar1108 this is shaping up very nicely!
   
   I have one request though. #5910 is about to be merged, and it will change storage layout rules. I would kindly ask you to reflect those changes ahead of phase, if that's not too much to ask. 
   
   Here is what should be udpate:
   
   1. Default rules (storage-layout.md, "Default layout" rules list).
      - The page says client-supplied write.data.path and write.metadata.path must be "inside the namespace's location".
      - After 5910, without ALLOW_UNSTRUCTURED_TABLE_LOCATION, write paths must be inside the table's own location. Anything else gets a 403, except in EXTERNAL catalogs.
   2. Sibling overlap rule (same list). It should say sibling tables' write.data.path and write.metadata.path are included in the overlap check.
   3. "Overlap checks" section.
      - It says OPTIMIZED_SIBLING_CHECK "replaces the listing" with an index query. That is no longer true.
      - With unstructured locations allowed, or in an external catalog, siblings are still listed after the index finds no conflict, to check write paths. Checks against other tables' write paths stay limited to siblings under the same parent.
   4. Unstructured-locations warning. The claim that OPTIMIZED_SIBLING_CHECK "checks overlaps across the whole catalog" needs the same caveat about write paths.
   5. "Sharing a data location between tables".
      - The conclusion (you need ALLOW_TABLE_LOCATION_OVERLAP) still holds.
      - It could say why: sibling tables can no longer share a write path otherwise. It could also mention the new credential-vending check, which returns 403 when a write path overlaps other entities. That check is skipped when overlap is allowed, and it only applies to LocalIcebergCatalog.
   6. Generated flags reference. 5910 updates the OPTIMIZED_SIBLING_CHECK text in flags-polaris_features.md. The storage-layout page should match that wording.
   
   Also, the stance about external catalogs is only partially true. I would suggest including a clarification, e.g.
   
   > This page covers internal catalogs. Federated catalogs are served by a remote catalog, which owns the table locations, so none of the rules on this page apply to them. External catalogs without a federation connection store their tables in Polaris, but the locations are set by the system that updates them rather than generated by Polaris. Only some of the rules below apply to them, and the sections below note where they differ.


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

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