ajantha-bhat commented on code in PR #4507:
URL: https://github.com/apache/polaris/pull/4507#discussion_r3273927838


##########
runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalogAdapter.java:
##########
@@ -519,6 +520,22 @@ public Response createView(
         catalog -> Response.ok(catalog.createView(ns, 
revisedRequest)).build());
   }
 
+  @Override
+  public Response registerView(
+      String prefix,
+      String namespace,
+      RegisterViewRequest registerViewRequest,
+      UUID idempotencyKey,
+      RealmContext realmContext,
+      SecurityContext securityContext) {
+    Namespace ns =
+        NamespaceUtils.splitNamespace(namespace, 
NamespaceUtils.DEFAULT_NAMESPACE_SEPARATOR);
+    return withCatalog(
+        securityContext,
+        prefix,
+        catalog -> Response.ok(catalog.registerView(ns, 
registerViewRequest)).build());
+  }

Review Comment:
   yes. we should follow pattern from 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]

Reply via email to