roryqi opened a new pull request, #15087: URL: https://github.com/apache/gravitino/pull/15087
### What changes were proposed in this pull request? Cherry-pick #15004 (`3d0b193fd26008a71ee07c96b6d3b8ad231520a5`) to `branch-1.3`. Resolve conflicts against the 1.3 capability and REST APIs, and include the minimal metadata snapshot commit and staged-create authorization support required by the fix. Preserve the 1.3 JDBC backend's rejection of register-overwrite requests. ### Why are the changes needed? Bring the table-location authorization, registration lookup performance, storage-location validation, and existing namespace-name fixes to 1.3. Refs #14995 ### Does this PR introduce _any_ user-facing change? Backports the fixes in #15004: overlapping table locations require source load access, remote warehouses reject local storage paths, and existing long Iceberg namespace names can be dropped. No configuration or database schema changes. The JDBC lookup uses current metadata pointers without opening unrelated tables' metadata files or introducing a cross-request cache. Exact current-pointer matching is retained for custom metadata layouts; complete overlap detection for those layouts remains outside scope. ### How was this patch tested? - Iceberg common: 194 tests passed; Iceberg REST: 612 tests passed. - Core schema normalization: 11 tests passed; Iceberg catalog regressions: 26 tests passed. - PostgreSQL 12–16: all 10 focused schema-name integration tests passed. - Trino integration test sources compiled successfully; the full Trino integration suite was not run. - Changed-module Spotless, common/REST Javadoc generation, and `git diff --check` passed. -- 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]
