yuqi1129 commented on code in PR #4600:
URL: https://github.com/apache/gravitino/pull/4600#discussion_r1726169239


##########
catalogs/catalog-jdbc-common/src/main/java/org/apache/gravitino/catalog/jdbc/config/JdbcConfig.java:
##########
@@ -33,7 +34,7 @@ public class JdbcConfig extends Config {
           .doc("The url of the Jdbc connection")
           .version(ConfigConstants.VERSION_0_3_0)
           .stringConf()
-          .checkValue(StringUtils::isNotBlank, 
ConfigConstants.NOT_BLANK_ERROR_MSG)
+          .checkValue(TypeValid::isJdbcURL, 
ConfigConstants.JDBC_URL_INVALID_ERROR_MSG)

Review Comment:
   Please review the changes carefully. The backend for Iceberg can be Hive or 
JDBC, so the proposed changes may not apply to the Hive backend. Kindly 
double-check this. If the valid changes cannot be applied to the Iceberg 
backend URI, please leave it as is.



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