Github user xuanyuanking commented on a diff in the pull request: https://github.com/apache/spark/pull/22402#discussion_r217440426 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/streaming/StreamingQuerySuite.scala --- @@ -460,9 +460,9 @@ class StreamingQuerySuite extends StreamTest with BeforeAndAfter with Logging wi val streamingInputDF = createSingleTriggerStreamingDF(streamingTriggerDF).toDF("value") val progress = getFirstProgress(streamingInputDF.join(streamingInputDF, "value")) - assert(progress.numInputRows === 20) // data is read multiple times in self-joins --- End diff -- So IIUC in this line, the EXCHANGE_REUSE_ENABLED == true, and its not read twice actually?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org