You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by HyukjinKwon <gi...@git.apache.org> on 2018/06/07 01:24:13 UTC

[GitHub] spark pull request #21504: SPARK-24479: Added config for registering streami...

Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21504#discussion_r193603810
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/streaming/StreamingQueryManager.scala ---
    @@ -55,6 +56,12 @@ class StreamingQueryManager private[sql] (sparkSession: SparkSession) extends Lo
       @GuardedBy("awaitTerminationLock")
       private var lastTerminatedQuery: StreamingQuery = null
     
    +  sparkSession.sparkContext.conf.get(STREAMING_QUERY_LISTENERS)
    +  .foreach { classNames =>
    --- End diff --
    
    nit:
    
    ```scala
    sparkSession.sparkContext.conf.get(STREAMING_QUERY_LISTENERS).foreach { classNames =>
      ...
    }
    ```



---

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