brijrajk commented on code in PR #56675:
URL: https://github.com/apache/spark/pull/56675#discussion_r3464082941


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -3138,8 +3138,9 @@ object SQLConf {
       .createWithDefault(false)
 
   val MIN_BATCHES_TO_RETAIN = 
buildConf("spark.sql.streaming.minBatchesToRetain")
-    .internal()

Review Comment:
   Good point. Added `.checkValue(_ > 0, "minBatchesToRetain must be 
positive")` and appended "Must be positive." to the doc. Thanks!



-- 
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]

Reply via email to