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

    https://github.com/apache/spark/pull/19056#discussion_r137142093
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/socket.scala 
---
    @@ -128,8 +128,9 @@ class TextSocketSource(host: String, port: Int, 
includeTimestamp: Boolean, sqlCo
           batches.slice(sliceStart, sliceEnd)
         }
     
    -    val rdd = sqlContext.sparkContext.parallelize(rawList).map(
    -        v => InternalRow(UTF8String.fromString(v._1), v._2.getTime()))
    +    val rdd = sqlContext.sparkContext.
    --- End diff --
    
    we generally put the '.' in the next line. So
    ```
    val rdd = sqlContext.sparkContext
       .parall ...
       .map ....
    ```


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to