brkyvz commented on code in PR #49278: URL: https://github.com/apache/spark/pull/49278#discussion_r1906544921
########## sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/MicroBatchExecution.scala: ########## @@ -133,7 +133,7 @@ class MicroBatchExecution( // Store checkpointIDs for state store checkpoints to be committed or have been committed to // the commit log. // operatorID -> (partitionID -> array of uniqueID) - private val currentStateStoreCkptId = MutableMap[Long, Array[Array[String]]]() + private var currentStateStoreCkptId: Option[MutableMap[Long, Array[Array[String]]]] = None Review Comment: I don't think the option changes here are necessary - it's only important for the serialization case class, not the rest imho. @siying please let me know if you disagree -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
