roryqi commented on code in PR #11729:
URL: https://github.com/apache/gravitino/pull/11729#discussion_r3491181493
##########
iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergNamespaceOperations.java:
##########
@@ -83,13 +86,16 @@ public class IcebergNamespaceOperations {
private ObjectMapper icebergObjectMapper;
private IcebergNamespaceOperationDispatcher namespaceOperationDispatcher;
+ private IcebergViewOperationDispatcher viewOperationDispatcher;
@Context private HttpServletRequest httpRequest;
@Inject
public IcebergNamespaceOperations(
- IcebergNamespaceOperationDispatcher namespaceOperationDispatcher) {
+ IcebergNamespaceOperationDispatcher namespaceOperationDispatcher,
+ IcebergViewOperationDispatcher viewOperationDispatcher) {
this.namespaceOperationDispatcher = namespaceOperationDispatcher;
+ this.viewOperationDispatcher = viewOperationDispatcher;
Review Comment:
`register view` shouldn't the method of IcebergViewOperationDispatcher. You
can refer to the `register table`
--
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]