FANNG1 commented on code in PR #6621: URL: https://github.com/apache/gravitino/pull/6621#discussion_r1986075407
########## spark-connector/spark-common/src/main/java/org/apache/gravitino/spark/connector/iceberg/GravitinoIcebergCatalog.java: ########## @@ -58,6 +60,16 @@ public class GravitinoIcebergCatalog extends BaseCatalog @Override protected TableCatalog createAndInitSparkCatalog( String name, CaseInsensitiveStringMap options, Map<String, String> properties) { + String jdbcDriver = properties.get(IcebergConstants.GRAVITINO_JDBC_DRIVER); + if (StringUtils.isNotBlank(jdbcDriver)) { + // If `spark.sql.hive.metastore.jars` is set to path, Spark will use IsolatedClientLoader to Review Comment: updated -- 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: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org