Skip to content

Commit 184a6d1

Browse files
committed
update config option too
1 parent efececf commit 184a6d1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

python/pyspark/sql/streaming.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def status(self):
117117
def recentProgress(self):
118118
"""Returns an array of the most recent [[StreamingQueryProgress]] updates for this query.
119119
The number of progress updates retained for each stream is configured by Spark session
120-
configuration `spark.sql.streaming.numrecentProgress`.
120+
configuration `spark.sql.streaming.numRecentProgressUpdates`.
121121
"""
122122
return [json.loads(p.json()) for p in self._jsq.recentProgress()]
123123

sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ object SQLConf {
617617
.createWithDefault(false)
618618

619619
val STREAMING_PROGRESS_RETENTION =
620-
SQLConfigBuilder("spark.sql.streaming.numrecentProgress")
620+
SQLConfigBuilder("spark.sql.streaming.numRecentProgressUpdates")
621621
.doc("The number of progress updates to retain for a streaming query")
622622
.intConf
623623
.createWithDefault(100)

sql/core/src/main/scala/org/apache/spark/sql/streaming/StreamingQuery.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ trait StreamingQuery {
8787
/**
8888
* Returns an array of the most recent [[StreamingQueryProgress]] updates for this query.
8989
* The number of progress updates retained for each stream is configured by Spark session
90-
* configuration `spark.sql.streaming.numrecentProgress`.
90+
* configuration `spark.sql.streaming.numRecentProgressUpdates`.
9191
*
9292
* @since 2.1.0
9393
*/

0 commit comments

Comments
 (0)