GitHub user gatorsmile opened a pull request:

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

    [SPARK-16236] [SQL] [FOLLOWUP] Add Path Option back to Load API in 
DataFrameReader

    #### What changes were proposed in this pull request?
    When users only specify one and only one path, we use `options` to record 
the path value in `DataFrameReader`. For example, users can see the `path` 
option after the following API call,
    ```SQL
    spark.read.parquet("/test")
    ```
    
    In Python API, we have the same issue. Thanks for identifying this issue, 
@zsxwing ! Below is an example:
    ```Python
    spark.read.format('json').load('python/test_support/sql/people.json')
    ```
    #### How was this patch tested?
    Existing test cases cover the changes by this PR

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

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

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

    https://github.com/apache/spark/pull/13965.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 #13965
    
----
commit 9cfd67350670ef668781cf498597612713cba628
Author: gatorsmile <gatorsm...@gmail.com>
Date:   2016-06-29T04:38:57Z

    fix

----


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