-
Notifications
You must be signed in to change notification settings - Fork 28.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-26389][SS] Add force delete temp checkpoint configuration #23732
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -907,6 +907,12 @@ object SQLConf { | |
.stringConf | ||
.createOptional | ||
|
||
val FORCE_DELETE_TEMP_CHECKPOINT_LOCATION = | ||
buildConf("spark.sql.streaming.forceDeleteTempCheckpointLocation") | ||
.doc("When true, enable temporary checkpoint locations force delete.") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: I'd like to have this to be a valid and more described sentence like other configurations, especially this feature is only documented here. One example for me, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ur, @HeartSaVioR . That is the behavior before this PR. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah yes my bad I meant |
||
.booleanConf | ||
.createWithDefault(false) | ||
|
||
val MIN_BATCHES_TO_RETAIN = buildConf("spark.sql.streaming.minBatchesToRetain") | ||
.internal() | ||
.doc("The minimum number of batches that must be retained and made recoverable.") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let us follow the other boolean conf naming convention?
spark.sql.streaming.forceDeleteTempCheckpointLocation.enabled
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @Ngone51 could you submit a PR to make a change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Submitted #26981