nevzheng opened a new pull request, #12222: URL: https://github.com/apache/gravitino/pull/12222
### What changes were proposed in this pull request? This is PR 1 of 3 in the deletion-generation storage stack. - Add `entity_deletion` and `entity_deletion_audit`. - Add nullable deletion-generation identifiers to table metadata and related rows. - Add persistent deletion and audit models. - Add fresh-install and upgrade SQL for H2, MySQL, and PostgreSQL. - Add SQL-script and persistent-object conversion tests. Stack: - Parent epic: #12220 - Depends on: none - Next: PR 2 of 3 — link added after creation ### Why are the changes needed? Soft deletion requires a durable identity for each deletion generation. The schema must retain the original entity identity, lifecycle state, retention information, active-name reservation, audit correlation, and future cleanup association. Part of #12220 ### Does this PR introduce _any_ user-facing change? No. This PR adds relational storage structures only. It does not change public APIs or runtime deletion behavior. ### How was this patch tested? `./gradlew :core:test --tests org.apache.gravitino.storage.TestSQLScripts --tests org.apache.gravitino.storage.relational.utils.TestPOConverters -PskipITs -PskipDockerTests=true` -- 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]
