spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HyukjinKwon <>
Subject [GitHub] spark pull request: [SPARK-15245][SQL] Stream API throws an except...
Date Tue, 10 May 2016 05:34:09 GMT
GitHub user HyukjinKwon opened a pull request:

    [SPARK-15245][SQL] Stream API throws an exception for non-directory path with incorrect

    ## What changes were proposed in this pull request?
    When `stream()` takes a non-direcotry path, this throws an exception during execution
with a message `Option 'basePath' must be a directory`.
    In `DataSource`, this can be checked before. This PR prevents to give a non-directory
path for `stream()`. 
    ## How was this patch tested?
    Unittest in `FileStreamSourceSuite` and `./build/sbt scalastyle`

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

    $ git pull SPARK-15245

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

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

    This closes #13021
commit bd8ff3ec6e28bb743732193103657c08a229c935
Author: hyukjinkwon <>
Date:   2016-05-10T05:15:39Z

    stream API throws an exception with an incorrect message when the path is not a direcotry


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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message