anishshri-db commented on code in PR #53844:
URL: https://github.com/apache/spark/pull/53844#discussion_r2722748790
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -2945,6 +2945,17 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val STREAMING_CHECKPOINT_VERIFY_METADATA_EXISTS =
+ buildConf("spark.sql.streaming.checkpoint.verifyMetadataExists.enabled")
+ .internal()
+ .doc("When true, validates that the checkpoint metadata file exists when
offset " +
+ "or commit logs contain data. This prevents generating a new query ID
when " +
+ "checkpoint data already exists, which would cause data duplication in
" +
+ "exactly-once sinks like DeltaSink.")
Review Comment:
nit: just say `in exactly-once sinks`
--
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]