This is an automated email from the ASF dual-hosted git repository.
blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new c47b59e Allow Tables implementations to override table paths. (#1)
c47b59e is described below
commit c47b59e8898b0d615c2dd6fda6b0985861556f95
Author: Ryan Blue <[email protected]>
AuthorDate: Mon Nov 26 09:37:44 2018 -0800
Allow Tables implementations to override table paths. (#1)
---
core/src/main/java/com/netflix/iceberg/BaseMetastoreTables.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/src/main/java/com/netflix/iceberg/BaseMetastoreTables.java
b/core/src/main/java/com/netflix/iceberg/BaseMetastoreTables.java
index 84496a5..6c125fe 100644
--- a/core/src/main/java/com/netflix/iceberg/BaseMetastoreTables.java
+++ b/core/src/main/java/com/netflix/iceberg/BaseMetastoreTables.java
@@ -107,8 +107,8 @@ public abstract class BaseMetastoreTables implements Tables
{
}
}
- private static String defaultWarehouseLocation(Configuration conf,
- String database, String
table) {
+ protected String defaultWarehouseLocation(Configuration conf,
+ String database, String table) {
String warehouseLocation = conf.get("hive.metastore.warehouse.dir");
Preconditions.checkNotNull(warehouseLocation,
"Warehouse location is not set: hive.metastore.warehouse.dir=null");