
Explanation:
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.
Ultimate access to all questions.
No comments yet.
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