
Answer-first summary for fast verification
Answer: Every half second
By default, if no trigger interval is specified, the data will be processed every half second. This is equivalent to setting `trigger(processingTime='500ms')`. For more details, refer to the [Databricks documentation on triggers](https://docs.databricks.com/structured-streaming/triggers.html#what-is-the-default-trigger-interval).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Consider the following Structured Streaming query in Databricks:
spark.readStream
.table("orders")
.writeStream
.option("checkpointLocation", checkpointPath)
.table("Output_Table")
spark.readStream
.table("orders")
.writeStream
.option("checkpointLocation", checkpointPath)
.table("Output_Table")
What is the trigger interval for this query?
A
Every half hour
B
The query will run in batch mode to process all available data at once, then the trigger stops.
C
Every half second
D
More information is needed to determine the correct response.
E
Every half min
No comments yet.