mchades commented on code in PR #11242:
URL: https://github.com/apache/gravitino/pull/11242#discussion_r3309015550
##########
iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/listener/api/event/IcebergReplaceViewEvent.java:
##########
@@ -54,6 +54,6 @@ public LoadViewResponse loadViewResponse() {
@Override
public OperationType operationType() {
- return OperationType.ALTER_VIEW;
+ return OperationType.REPLACE_VIEW;
}
Review Comment:
Fixed in 0c97f661d.
Renamed the success-event accessor in IcebergReplaceViewEvent from
renameViewRequest() to replaceViewRequest(), and added an assertion in
TestIcebergViewOperations.testReplaceView to validate replaceViewRequest() on
the post event.
--
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]