openinx commented on a change in pull request #1586:
URL: https://github.com/apache/iceberg/pull/1586#discussion_r503965409
##########
File path: flink/src/main/java/org/apache/iceberg/flink/CatalogLoader.java
##########
@@ -38,8 +40,13 @@ static CatalogLoader hadoop(String name, Configuration
hadoopConf, String wareho
return new HadoopCatalogLoader(name, hadoopConf, warehouseLocation);
}
- static CatalogLoader hive(String name, Configuration hadoopConf, String uri,
int clientPoolSize) {
- return new HiveCatalogLoader(name, hadoopConf, uri, clientPoolSize);
+ static CatalogLoader hive(String name, Configuration hadoopConf, String uri,
String warehouse, int clientPoolSize) {
Review comment:
The user can choose to set `warehouse` property or load `hive-site.xml`
when creating the iceberg catalog. If use the former, the warehouse path may
be different with the hive metastore, that means it will create files under the
user specified directory.
If use the `hive-site.xml`, then it should be the same configuration as the
metastore.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]