You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "leaves12138 (via GitHub)" <gi...@apache.org> on 2026/07/29 08:57:43 UTC
[PR] [python] Propagate dependency read context in REST headers [paimon]
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [python] Propagate dependency read context in REST headers [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on PR #8908:
URL: https://github.com/apache/paimon/pull/8908#issuecomment-5126253417
+1
--
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@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [python] Propagate dependency read context in REST headers [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #8908:
URL: https://github.com/apache/paimon/pull/8908
--
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@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org