Ngone51 commented on code in PR #52213:
URL: https://github.com/apache/spark/pull/52213#discussion_r2425185575
##########
sql/core/src/test/scala/org/apache/spark/sql/InjectRuntimeFilterSuite.scala:
##########
@@ -205,6 +206,9 @@ class InjectRuntimeFilterSuite extends QueryTest with
SQLTestUtils with SharedSp
sql("analyze table bf5part compute statistics for columns a5, b5, c5, d5,
e5, f5")
sql("analyze table bf5filtered compute statistics for columns a5, b5, c5,
d5, e5, f5")
+ // Tests depend on intermediate results that would otherwise be cleaned up
when
Review Comment:
> The running subquery tries to fetch shuffle(that's already cleaned up
after main query's execution completed), causing a Fetch failure and stopping
the SparkContext.
When the main query completes, we actually only clean up the shuffle files
on the executor but we don't clean up `shuffleStatuses` on the driver
(`shuffleStatuses` is only cleaned up by `ContextCleaner` when the shuffle can
not be referenced in terms of GC). So, theoretically, the subquery shouldn't
hit this exception as the shuffle is still referenced by itself. cc @karuppayya
@cloud-fan
--
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]