Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12009#discussion_r57629952
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala
 ---
    @@ -104,6 +104,13 @@ class SessionCatalog(externalCatalog: ExternalCatalog, 
conf: CatalystConf) {
         currentDb = db
       }
     
    +  // todo: what is the default path in SessionCatalog?
    +  def getDefaultPath: String = ""
    +
    +  def getDefaultDBExtension: String = ".db"
    --- End diff --
    
    That is from Hive. http://www.reedbushey.com/99Programming%20Hive.pdf
    
    > The database directory is created under a top-level directory specified 
by the property hive.metastore.warehouse.dir, which we discussed in “Local 
Mode Configuration” on page 24 and “Distributed and Pseudodistributed Mode 
Configura- tion” on page 26. Assuming you are using the default value for 
this property, /user/hive/ warehouse, when the financials database is created, 
Hive will create the directory /user/ hive/warehouse/financials.db. Note the 
.db extension.



---
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