Gabriel39 opened a new pull request, #70812:
URL: https://github.com/apache/doris/pull/70812
### What problem does this PR solve?
Related PR: #69836, #69946
Adapt the external-view fixes to `branch-4.1`'s legacy Iceberg
implementation. Although snapshot loading already skips views, schema reads can
still fall back to table metadata and fail when a REST catalog rejects table
requests for view names.
Read view schemas through the authenticated View cache, keyed by view UUID,
schema ID, and mapping options. Skip table-only partition and row-lineage
metadata, and reject unsupported view scan parameters instead of silently
ignoring them. Preserve the branch's existing table-generation leases and
missing-object lookup repair.
### Release note
Fix Iceberg view schema reads on catalogs that reject table requests for
view names, and reject unsupported view scan parameters.
### Validation
- 229 focused FE unit tests passed across external table/view, schema
utility, metadata cache, schema display, write-schema context, metadata-column,
system-table, and statement-snapshot suites; no failures, errors, or skips.
- Before the fix, the selector-rejection test and view schema cases
reproduced the missing validation and table-endpoint error.
- FE Checkstyle: zero violations. `git diff --check` passed.
- No live external catalog integration test was run.
### Check List (For Author)
- Test
- [x] Unit Test
- Behavior changed:
- [x] Yes. View metadata reads avoid table endpoints, and unsupported
view scan parameters fail explicitly.
- Does this need documentation?
- [x] No.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]