dongjoon-hyun commented on code in PR #60536:
URL: https://github.com/apache/spark/pull/60536#discussion_r4581383634
##########
sql/core/src/test/scala/org/apache/spark/sql/SortMergeAsOfJoinSuite.scala:
##########
@@ -2594,4 +2597,43 @@ class SortMergeAsOfJoinSuite extends QueryTest
condition = "INTERNAL_ERROR",
parameters = Map("message" -> "The Nearest AS-OF join has no ordered
scan"))
}
+
+ test("SPARK-61754: the interpreted join does not serialize plan nodes into
tasks") {
+ // The RDD that the join adds on top of its children's RDDs is serialized
into every task
+ // binary. A plan node written with it would drag its whole child subtree
along.
+ def serializedPlanNodes(rdd: RDD[_], inputs: Seq[RDD[_]]): Seq[String] = {
Review Comment:
Thank you, @viirya. I removed the new test and widened the as-of join block
of the SPARK-61666 test in `WholeStageCodegenSuite` as you suggested, over
`{default, WHOLESTAGE_CODEGEN_ENABLED=false} x {AQE off, on} x {"backward",
"nearest"}`, and updated the stale comment there. It also passes with this
change and fails without it on my side.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]