diff options
author | Reynold Xin <rxin@databricks.com> | 2016-07-01 15:16:04 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-07-01 15:16:04 -0700 |
commit | d601894c0494d415e7f330e02168c43a2dacfb02 (patch) | |
tree | 8c365e808a5f4c6836a20a5c510332e380a1ee2f /R/pkg/inst/tests | |
parent | e4fa58c43ce2bf8d76bffb0d9dc1132f8d0eae6a (diff) | |
download | spark-d601894c0494d415e7f330e02168c43a2dacfb02.tar.gz spark-d601894c0494d415e7f330e02168c43a2dacfb02.tar.bz2 spark-d601894c0494d415e7f330e02168c43a2dacfb02.zip |
[SPARK-16335][SQL] Structured streaming should fail if source directory does not exist
## What changes were proposed in this pull request?
In structured streaming, Spark does not report errors when the specified directory does not exist. This is a behavior different from the batch mode. This patch changes the behavior to fail if the directory does not exist (when the path is not a glob pattern).
## How was this patch tested?
Updated unit tests to reflect the new behavior.
Author: Reynold Xin <rxin@databricks.com>
Closes #14002 from rxin/SPARK-16335.
Diffstat (limited to 'R/pkg/inst/tests')
0 files changed, 0 insertions, 0 deletions