leaves12138 opened a new pull request, #8908: URL: https://github.com/apache/paimon/pull/8908
## Purpose Port the dependency read context propagation introduced by #8823 to PyPaimon. ## Changes - Add the optional `X-Paimon-Read-Via` REST header constant. - Derive a dependency-scoped REST catalog context from the outermost table. - Preserve the original source table across nested Blob View dependency reads. - Reuse existing `header.*` propagation so dependency table and data-token requests carry the context. - Add focused tests for REST loader detection, external REST contexts, nested dependencies, non-REST catalogs, and Blob View loading. The header is request context only and must not be treated as authorization proof. ## Validation - `PYTHONPATH=. python3 -m unittest pypaimon.tests.catalog_environment_test pypaimon.tests.rest.api_test pypaimon.tests.rest.rest_token_file_io_test -v` - `python3 -m compileall -q pypaimon/api/rest_api.py pypaimon/catalog/catalog_environment.py pypaimon/utils/blob_view_lookup.py pypaimon/tests/catalog_environment_test.py` - `git diff --check` -- 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]
