Github user yhuai commented on the pull request:

    https://github.com/apache/spark/pull/12081#issuecomment-208475481
  
    ```
    This PR is to correct the generated database path when users issue the 
command Create Database. For example, when users specify the Location in the 
command, the generated path should be path/databaseName.db instead of path.
    ```
    
    I took at the description again and I am not sure the above statement is 
correct.
    
    I tried Hive 1.2.1, here is what I did
    ```
    hive> create database db3 location '/tmp/test_db';
    OK
    Time taken: 0.028 seconds
    hive> use db3;
    OK
    Time taken: 0.012 seconds
    hive> create table table3 as select 1 as a;
    ```
    When I look at the dir structure, I see `/tmp/test_db/table3`.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to