JingsongLi commented on code in PR #831: URL: https://github.com/apache/incubator-paimon/pull/831#discussion_r1159392255
########## paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/HiveCatalog.java: ########## @@ -567,12 +569,24 @@ public static HiveConf createHiveConf( if (!hiveSite.toUri().isAbsolute()) { hiveSite = new org.apache.hadoop.fs.Path(new File(hiveSite.toString()).toURI()); } + try (InputStream inputStream = hiveSite.getFileSystem(hadoopConf).open(hiveSite)) { Review Comment: Why add this? Remote file is not work in previous code? -- 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...@paimon.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org