zhoulii commented on code in PR #11136:
URL: https://github.com/apache/paimon/pull/11136#discussion_r4561187577
##########
paimon-python/pypaimon/catalog/rest/rest_catalog.py:
##########
@@ -875,9 +875,10 @@ def load_table(self,
catalog_env = CatalogEnvironment(
identifier=identifier,
uuid=metadata.uuid,
- catalog_loader=self.catalog_loader(),
+ catalog_loader=None if metadata.is_external else
self.catalog_loader(),
Review Comment:
Fixed. `Table.from_resolved_schema()` in Rust constructs the table with
`rest_env: None`, so a loaderless external REST table cannot resolve BlobView
dependencies natively. I changed the native gate to fall back only when a
catalog context is retained without a loader; loaderless tables without context
still stay on the native path. Added tests for both cases:
`test_native_read_blob_view_falls_back_without_rest_loader` and
`test_native_blob_view_support_keeps_catalogless_tables_native`.
--
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]