nastra commented on code in PR #9487:
URL: https://github.com/apache/iceberg/pull/9487#discussion_r1458848983


##########
core/src/main/java/org/apache/iceberg/jdbc/JdbcUtil.java:
##########
@@ -376,6 +680,15 @@ static boolean namespaceExists(
       return true;
     }
 
+    if (exists(

Review Comment:
   since it's the last statement, this can be simplified to 
   ```
   return exists(
               connections,
               JdbcUtil.getViewNamespaceSql(),
               catalogName,
               namespaceEquals,
               namespaceStartsWith);
   ```



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to