GitHub user tdas opened a pull request:
https://github.com/apache/spark/pull/12616
[SPARK-14837][SQL][STREAMING] Added support in file stream source for
reading new files added to subdirs
## What changes were proposed in this pull request?
Currently, file stream source can only find new files if they appear in the
directory given to the source, but not if they appear in subdirs. This PR adds
support for specifying the nesting depth that the system will scan for new
files.
## How was this patch tested?
Unit test that tests when new files are discovered
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tdas/spark SPARK-14837
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12616.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 #12616
----
commit a2cbc810bc80890c77fa416921858e3cee39271f
Author: Tathagata Das <[email protected]>
Date: 2016-04-22T18:30:48Z
Added support for file depth in file stream source
----
---
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]