Github user gatorsmile commented on the pull request:

    https://github.com/apache/spark/pull/12081#issuecomment-208480532
  
    If users did not specify the location, it will have such a directory 
`databaseName.db`. For example, 
    
    ```
    hive> show conf "hive.metastore.warehouse.dir";
    OK
    /user/hive/warehouse        STRING  location of default database for the 
warehouse
    
    hive> create database db2;
    OK
    Time taken: 0.191 seconds
    
    hive> describe database extended db2;
    OK
    db2         hdfs://e391721442fb:9000/user/hive/warehouse/db2.db     root    
USER
    
    hive> describe database extended default;
    OK
    default     Default Hive database   
hdfs://e391721442fb:9000/user/hive/warehouse    public  ROLE    
    Time taken: 0.013 seconds, Fetched: 1 row(s)
    ```
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to