Github user zsxwing commented on the pull request:

    https://github.com/apache/spark/pull/11804#issuecomment-199631156
  
    > Test build #53724 has finished for PR 11804 at commit 636e75c.
    > 
    > This patch fails from timeout after a configured wait of `250m`.
    > This patch merges cleanly.
    > This patch adds the following public classes (experimental):
    > class StreamProgress(
    
    I think the following test was hung forever:
    ```
      test("options") {
        val map = new java.util.HashMap[String, String]
        map.put("opt3", "3")
    
        val df = sqlContext.read
            .format("org.apache.spark.sql.streaming.test")
            .option("opt1", "1")
            .options(Map("opt2" -> "2"))
            .options(map)
            .stream()
    
        assert(LastOptions.parameters("opt1") == "1")
        assert(LastOptions.parameters("opt2") == "2")
        assert(LastOptions.parameters("opt3") == "3")
    
        LastOptions.parameters = null
    
        df.write
          .format("org.apache.spark.sql.streaming.test")
          .option("opt1", "1")
          .options(Map("opt2" -> "2"))
          .options(map)
          .startStream()
          .stop()
    
        assert(LastOptions.parameters("opt1") == "1")
        assert(LastOptions.parameters("opt2") == "2")
        assert(LastOptions.parameters("opt3") == "3")
      }
    ```
    Looks like there is a bug in this PR.


---
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]

Reply via email to