leaves12138 opened a new pull request, #7985: URL: https://github.com/apache/paimon/pull/7985
### Purpose Blob view resolution may need to access an upstream blob table while users are querying a downstream blob-view table. Permission systems need to distinguish this fallback access from a direct upstream table query. ### Changes - Add `TableAccessContext` to describe table access origins. - Add context-aware `Catalog#getTable` and `Catalog#authTableQuery` default overloads. - Carry table access context through `CatalogEnvironment` so scans can pass the same context to query auth. - Pass `BLOB_VIEW_FALLBACK` context from `DataEvolutionTableRead` / `BlobViewLookup` when resolving upstream blob descriptors and URI readers. - Add a focused test to verify access context reaches query auth. ### Tests - `mvn -pl paimon-core -DskipITs -Dspotless.check.skip=true -Dcheckstyle.skip=true -Dtest=CatalogAccessContextTest test` - `mvn -pl paimon-core -DskipITs -DskipTests -Dspotless.check.skip=true -Dcheckstyle.skip=true test-compile` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
