eric-maynard opened a new pull request, #2149:
URL: https://github.com/apache/polaris/pull/2149

   Iceberg tables can technically store data across any number of paths, but 
Polaris currently uses 3 different locations for credential vending:
   1. The table's base location
   2. The table's `write.data.path`, if set
   3. The table's `write.metadata.path`, if set
   
   This was intended to capture scenarios where e.g. (2) is not a child path of 
(1), so that the vended credentials can still be valid for reading the entire 
table. However, there are systems that seem to always set (2) and (3), and in 
such cases the extra paths (e.g. extra resources in the AWS Policy) are 
redundant. In one such case, these redundant paths caused the policy to exceed 
the maximum allowable 2048 characters.
   
   This PR removed redundant paths -- those that are the child of another path 
-- from the list of accessible locations tracked for a given table and does 
some slight refactoring to consolidate the logic for extracting these paths 
from a TableMetadata.


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

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

Reply via email to