QuestionQ177

VerifiedStructured Streaming

In the following code block, aggDf holds aggregations on a streaming DataFrame.

Question Image

Which output mode on line 3 ensures the complete result table is written to the console during every trigger execution?

Explanation

Spark Structured Streaming complete output mode writes every row in the current result table to the sink whenever the query processes updates. It is supported for aggregation queries, so it prints the full set of aggregated results to the console on each trigger.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!