roryqi opened a new pull request, #15004:
URL: https://github.com/apache/gravitino/pull/15004

   ### What changes were proposed in this pull request?
   
   - Authorize overlapping locations on create, staged create, register, and 
`set-location` after destination authorization.
   - Use one JDBC pointer query for standard metadata layouts and reuse the 
requested metadata snapshot without a cross-request cache.
   - Reject local paths for remote warehouses and allow dropping existing long 
Iceberg namespace names.
   
   ### Why are the changes needed?
   
   Fix location authorization gaps, expensive registration source scans, and 
long-name drop failures.
   
   Refs #14995
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes: overlapping locations require source load access, remote warehouses 
reject local paths, and existing long namespaces can be dropped.
   
   Source discovery matches locations instead of UUIDs. Custom 
`write.metadata.path` layouts are outside scope. Non-JDBC fallback logs and 
skips unreadable metadata; database failures propagate. Destination 
authorization and overwrite UUID checks remain required. No configuration or 
database schema changes.
   
   ### How was this patch tested?
   
   560 unit/regression cases validated across suite runs and focused reruns: 
common 246, core 21, catalog 33, REST 260. Coverage includes SQLite V0/V1 with 
2,000 nonexistent pointers, path boundaries and escaping, one requested-file 
read, overwrite UUID checks, and custom registration hooks. Spotless 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]

Reply via email to