diff options
author | Tathagata Das <tathagata.das1565@gmail.com> | 2016-12-06 13:05:22 -0800 |
---|---|---|
committer | Shixiong Zhu <shixiong@databricks.com> | 2016-12-06 13:05:22 -0800 |
commit | 1ef6b296d7cd2d93cdfd5f54940842d6bb915ce0 (patch) | |
tree | 136f26601c832c9f40ee61e2f42bd20671e04e59 /sql/core/src/test/resources/structured-streaming/file-source-offset-version-2.1.0.txt | |
parent | cb1f10b468e7771af75cb2288d375a87ab66d316 (diff) | |
download | spark-1ef6b296d7cd2d93cdfd5f54940842d6bb915ce0.tar.gz spark-1ef6b296d7cd2d93cdfd5f54940842d6bb915ce0.tar.bz2 spark-1ef6b296d7cd2d93cdfd5f54940842d6bb915ce0.zip |
[SPARK-18671][SS][TEST] Added tests to ensure stability of that all Structured Streaming log formats
## What changes were proposed in this pull request?
To be able to restart StreamingQueries across Spark version, we have already made the logs (offset log, file source log, file sink log) use json. We should added tests with actual json files in the Spark such that any incompatible changes in reading the logs is immediately caught. This PR add tests for FileStreamSourceLog, FileStreamSinkLog, and OffsetSeqLog.
## How was this patch tested?
new unit tests
Author: Tathagata Das <tathagata.das1565@gmail.com>
Closes #16128 from tdas/SPARK-18671.
Diffstat (limited to 'sql/core/src/test/resources/structured-streaming/file-source-offset-version-2.1.0.txt')
-rw-r--r-- | sql/core/src/test/resources/structured-streaming/file-source-offset-version-2.1.0.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/core/src/test/resources/structured-streaming/file-source-offset-version-2.1.0.txt b/sql/core/src/test/resources/structured-streaming/file-source-offset-version-2.1.0.txt new file mode 100644 index 0000000000..51b4008129 --- /dev/null +++ b/sql/core/src/test/resources/structured-streaming/file-source-offset-version-2.1.0.txt @@ -0,0 +1 @@ +345 |