dylanwong250 commented on code in PR #51817:
URL: https://github.com/apache/spark/pull/51817#discussion_r2288961593


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/runtime/MicroBatchExecution.scala:
##########
@@ -562,12 +565,36 @@ class MicroBatchExecution(
           log"offsets ${MDC(LogKeys.STREAMING_OFFSETS_START, 
execCtx.startOffsets)} and " +
           log"available offsets ${MDC(LogKeys.STREAMING_OFFSETS_END, 
execCtx.endOffsets)}")
       case None => // We are starting this stream for the first time.
+        verifyStartCheckpointDirectory()

Review Comment:
   I think this is a good idea. I added 
STREAMING_VERIFY_CHECKPOINT_DIRECTORY_EMPTY_ON_START.



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to