Skip to content
Snippets Groups Projects
  • Tathagata Das's avatar
    d20e0d6b
    [SPARK-18671][SS][TEST] Added tests to ensure stability of that all Structured... · d20e0d6b
    Tathagata Das authored
    [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.
    
    (cherry picked from commit 1ef6b296)
    Signed-off-by: default avatarShixiong Zhu <shixiong@databricks.com>
    d20e0d6b
    History
    [SPARK-18671][SS][TEST] Added tests to ensure stability of that all Structured...
    Tathagata Das authored
    [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.
    
    (cherry picked from commit 1ef6b296)
    Signed-off-by: default avatarShixiong Zhu <shixiong@databricks.com>