yuqi1129 opened a new issue, #13823: URL: https://github.com/apache/gravitino/issues/13823
### Describe the subtask **Priority:** P1 **Dependencies:** API-DESIGN; coordinate with #13629 and #13820 for read/cache semantics. Implementation follows the agreed API migration as needed. **Scope:** Provide generic retrieval of complete entities by stable identity, separately from #13625 observed-identity write conditions. Define entity type and namespace/metalake scope, missing entities, soft deletion, rename behavior and identity non-reuse. Audit supported entity types rather than assuming every entity has the same identifier contract. Decide whether batch lookup is justified by actual callers. Use the same freshness and transaction rules as name-based reads, with consistent cache invalidation across identity and name keys. Migrate selected ID-to-entity/name consumers that currently reach into backend services. Do not introduce getEntityId(name) as a special-purpose convenience API. **Acceptance:** Backend lookup uses supported indexes; tests cover scope/type mismatch, rename, missing/deleted entities, name reuse and cache invalidation, including the relevant JDBC backends. Document unsupported entity types and ordering/missing behavior if batch lookup is added. ### Parent issue #13621 -- 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]
