-
- Downloads
[SPARK-18337] Complete mode memory sinks should be able to recover from checkpoints
## What changes were proposed in this pull request? It would be nice if memory sinks can also recover from checkpoints. For correctness reasons, the only time we should support it is in `Complete` OutputMode. We can support this in CompleteMode, because the output of the StateStore is already persisted in the checkpoint directory. ## How was this patch tested? Unit test Author: Burak Yavuz <brkyvz@gmail.com> Closes #15801 from brkyvz/mem-stream. (cherry picked from commit 2afdaa98) Signed-off-by:Tathagata Das <tathagata.das1565@gmail.com>
Showing
- sql/core/src/main/scala/org/apache/spark/sql/streaming/DataStreamWriter.scala 4 additions, 2 deletions...ala/org/apache/spark/sql/streaming/DataStreamWriter.scala
- sql/core/src/test/scala/org/apache/spark/sql/streaming/test/DataStreamReaderWriterSuite.scala 65 additions, 0 deletions...park/sql/streaming/test/DataStreamReaderWriterSuite.scala
Please register or sign in to comment