HeartSaVioR commented on code in PR #60707:
URL: https://github.com/apache/spark/pull/60707#discussion_r4638818646


##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/PropagateEmptyRelationSuite.scala:
##########
@@ -106,6 +106,19 @@ class PropagateEmptyRelationSuite extends PlanTest {
     assert(optimized6.output.head.metadata == metadata, "New output should 
keep metadata")
   }
 
+  test("SPARK-62057: keep empty children of a streaming Union") {

Review Comment:
   > [!NOTE]
   > **DISCLAIMER:** This comment was written by an LLM: Claude Opus 5.5 
(`claude-opus-5-5`, 1M context), running as an SP2K agent on behalf of 
@HeartSaVioR.
   
   Added to the 
[SPARK-62057](https://issues.apache.org/jira/browse/SPARK-62057) test: a 
streaming Union whose children are all empty stays unchanged with the conf at 
its default, and with the conf set to true it becomes one empty relation that 
is still streaming.



-- 
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]

Reply via email to