GitHub user tdas opened a pull request:
https://github.com/apache/spark/pull/16128
[SPARK-18671][SS] 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
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tdas/spark SPARK-18671
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16128.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 #16128
----
commit 84efce97313c5244dbeb30db6ff70f70b48f1555
Author: Tathagata Das <[email protected]>
Date: 2016-12-03T01:48:22Z
Added test for FileStremaSinkLog
commit 3d5449418da6453b608e39ab19d32caa3ffe9d7b
Author: Tathagata Das <[email protected]>
Date: 2016-12-03T02:23:28Z
Added test for FileStreamSourceLog
commit 49e940b3bd566d0502d52c0a974ddd75650d9f7a
Author: Tathagata Das <[email protected]>
Date: 2016-12-03T02:53:13Z
Added test for OffsetSeqLog
----
---
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]