You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/01/21 05:43:03 UTC
[GitHub] [spark] cloud-fan commented on a change in pull request #31269: [SPARK-33933][SQL] Materialize BroadcastQueryStage first to try to avoid broadcast timeout in AQE
cloud-fan commented on a change in pull request #31269:
URL: https://github.com/apache/spark/pull/31269#discussion_r561615950
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/execution/adaptive/AdaptiveQueryExecSuite.scala
##########
@@ -1460,4 +1460,29 @@ class AdaptiveQueryExecSuite
}
}
}
+
+ test("SPARK-33933: Materialize BroadcastQueryStage first in AQE") {
+ val testAppender = new LogAppender("aqe query stage materialization order test")
+ val df = spark.sparkContext.parallelize(Range(0, 10))
Review comment:
seems we can simplify it: `val df = spark.range(1000).select($"id" % 26, $"id" % 10).toDF("index", "pv")`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org