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

    https://github.com/apache/spark/pull/20097#discussion_r159958467
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/MicroBatchExecution.scala
 ---
    @@ -33,15 +40,21 @@ class MicroBatchExecution(
         name: String,
         checkpointRoot: String,
         analyzedPlan: LogicalPlan,
    -    sink: Sink,
    +    sink: BaseStreamingSink,
         trigger: Trigger,
         triggerClock: Clock,
         outputMode: OutputMode,
    +    extraOptions: Map[String, String],
         deleteCheckpointOnStop: Boolean)
       extends StreamExecution(
         sparkSession, name, checkpointRoot, analyzedPlan, sink,
         trigger, triggerClock, outputMode, deleteCheckpointOnStop) {
     
    +  private def toJava(
    --- End diff --
    
    super nit: I usually prefer moving such small less-important methods at the 
end of the class 


---

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

Reply via email to