mchades commented on code in PR #12770:
URL: https://github.com/apache/gravitino/pull/12770#discussion_r3902259533


##########
server/src/main/java/org/apache/gravitino/server/web/rest/ViewOperations.java:
##########
@@ -99,15 +99,23 @@ public Response createView(
       @PathParam("catalog") String catalog,
       @PathParam("schema") String schema,
       ViewCreateRequest request) {
-    LOG.info(
-        "Received create view request: {}.{}.{}.{}", metalake, catalog, 
schema, request.getName());
+    if (request == null) {

Review Comment:
   The original change only covered the reported `createView` path. `alterView` 
and the equivalent alter operations now reject null request bodies before 
`validate()`, with regression tests.



-- 
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