mchades opened a new issue, #11241: URL: https://github.com/apache/gravitino/issues/11241
### What would you like to be improved? Currently, Iceberg replace-view events (`IcebergReplaceViewPreEvent`, `IcebergReplaceViewEvent`, `IcebergReplaceViewFailureEvent`) report `ALTER_VIEW` as `operationType`. This makes audit records unable to distinguish metadata-only alter operations from replace-view definition updates. ### How should we improve? Introduce a dedicated `REPLACE_VIEW` operation type and use it for Iceberg replace-view pre/success/failure events. Specifically: - Add `REPLACE_VIEW` to listener `OperationType`. - Add `REPLACE_VIEW` to `AuditLog.Operation` and compatibility mapping. - Update replace-view Iceberg events to return `REPLACE_VIEW`. - Add/adjust related unit tests for audit mapping and event assertions. -- 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]
