Why does streaming Dataset fail with “Complete output mode not supported when there are streaming aggregations on streaming DataFrames/DataSets… ”?
问题 I use Spark 2.2.0 and have the following error with Spark Structured Streaming on windows: Complete output mode not supported when there are streaming aggregations on streaming DataFrames/DataSets without watermark . 回答1: Complete output mode not supported when there are streaming aggregations on streaming DataFrames/DataSets without watermark Streaming aggregations require that you tell the Spark Structured Streaming engine when to output the aggregation (per so-called output mode ) since