You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2020/07/23 13:36:08 UTC

[GitHub] [iceberg] pvary commented on issue #954: Default warehouse location of a table should be a subdirectory in database location

pvary commented on issue #954:
URL: https://github.com/apache/iceberg/issues/954#issuecomment-663010868


   @lcaaaat: How did you created the table, and how did you check the location of the DB?
   With the current version I see a test which checks the location of the db is in the default warehouse dir:
   ```
     private String defaultUri(Namespace namespace) throws TException {
       return metastoreClient.getConfigValue(
           "hive.metastore.warehouse.dir", "") +  "/" + namespace.level(0) + ".db";
     }
   ```
   And also see checks for the default table location which seems inline how Hive uses them.
   
   Thanks,
   Peter


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org