Skip to content

Commit 197eee3

Browse files
committed
more space
1 parent 3337bcd commit 197eee3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/structured-streaming-programming-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,7 @@ Will print something like the following.
17901790
'''
17911791

17921792
print(query.status)
1793-
'''
1793+
'''
17941794
Will print something like the following.
17951795

17961796
{u'message': u'Waiting for data to arrive', u'isTriggerActive': False, u'isDataAvailable': False}
@@ -1917,7 +1917,7 @@ Not available in R.
19171917
</div>
19181918
</div>
19191919

1920-
## Recovering from Failures with Checkpointing
1920+
## Recovering from Failures with Checkpointing
19211921
In case of a failure or intentional shutdown, you can recover the previous progress and state of a previous query, and continue where it left off. This is done using checkpointing and write ahead logs. You can configure a query with a checkpoint location, and the query will save all the progress information (i.e. range of offsets processed in each trigger) and the running aggregates (e.g. word counts in the [quick example](#quick-example)) to the checkpoint location. This checkpoint location has to be a path in an HDFS compatible file system, and can be set as an option in the DataStreamWriter when [starting a query](#starting-streaming-queries).
19221922

19231923
<div class="codetabs">

0 commit comments

Comments
 (0)