GitHub user gatorsmile opened a pull request:

    https://github.com/apache/spark/pull/13348

    [SPARK-15565] [SQL] Add the File Scheme to the Default Value of 
WAREHOUSE_PATH

    #### What changes were proposed in this pull request?
    The default value of `spark.sql.warehouse.dir` is 
`System.getProperty("user.dir")/spark-warehouse`. Since 
`System.getProperty("user.dir")` is a local dir, we should explicitly set the 
scheme to local filesystem.
    
    cc @yhuai 
    
    #### How was this patch tested?
    Added two test cases


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gatorsmile/spark 
addSchemeToDefaultWarehousePath

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/13348.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #13348
    
----
commit 1c6b6ff7db713b5b02579d0fbdcfc3651e64b950
Author: gatorsmile <gatorsm...@gmail.com>
Date:   2016-05-27T03:01:38Z

    add the file scheme to the default path of DB

----


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