jackye1995 opened a new pull request, #10359: URL: https://github.com/apache/iceberg/pull/10359
This PR proposes adding a `context` query parameter for all requests. This was briefly described as something desirable in https://docs.google.com/document/d/14nmuxxfzQsYo59o0Fbpb-pxOlzS6bVtduL8P8pwKZ6U. I later realized that the feature has other important use cases: 1. **view execution role switch**: a view might be accessed through a different role from the original user, and engine needs to get this information through LoadView, and then pass in this role-related context to access LoadTable. 2. **pass in access intentions**: we want our engine to pass in some flags to change API response. For example, if engine pass in a flag READ_ONLY, the vended credentials will only has read access even if the user has full access. This avoids users to unintentionally distribute full access credentials. We want to add contexts for the related catalog level APIs like LoadTable, LoadView, etc. to pass in this information Curious if this is something others also see beneficial to add. @rdblue @danielcweeks @jbonofre @RussellSpitzer -- 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...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org