spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tdas <...@git.apache.org>
Subject [GitHub] spark pull request #16128: [SPARK-18671][SS] Added tests to ensure stability...
Date Sat, 03 Dec 2016 06:50:00 GMT
Github user tdas commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16128#discussion_r90752217
  
    --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/OffsetSeqLogSuite.scala
---
    @@ -60,4 +60,39 @@ class OffsetSeqLogSuite extends SparkFunSuite with SharedSQLContext
{
             Array(0 -> batch0Serialized, 1 -> batch1Serialized))
         }
       }
    +
    +  test("read Spark 2.1.0 log format") {
    +    val (batchId, offsetSeq) = readFromResource("offset-log-version-2.1.0")
    +    assert(batchId === 16)
    +    assert(offsetSeq ===
    +      OffsetSeq(
    +        offsets = Seq(Some(SerializedOffset(
    +          """
    +            |{"kafka-topic":{"23":0,"8":1,"17":1,"11":1,"20":0,"2":6,"5":2,"14":0,"4":4,"13":1,
    --- End diff --
    
    This needs to be revised. 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message