Skip to content

Commit 20dc407

Browse files
authored
Update demos/dqx_streaming_demo_diy.py
1 parent 5289244 commit 20dc407

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

demos/dqx_streaming_demo_diy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def write_stream(df, checkpoint_location, target):
214214
.format("delta")
215215
.outputMode("append")
216216
.option("checkpointLocation", checkpoint_location)
217-
.trigger(availableNow=True)
217+
.trigger(availableNow=True) # stop the stream as soon as bronze data is processed
218218
)
219219
if target.startswith(PATH_PREFIXES):
220220
return writer.start(target)

0 commit comments

Comments
 (0)