haoyangeng-db commented on code in PR #51101:
URL: https://github.com/apache/spark/pull/51101#discussion_r2221277155
##########
python/pyspark/sql/tests/streaming/test_streaming_foreach_batch.py:
##########
@@ -204,6 +204,27 @@ def func(df: DataFrame, batch_id: int):
df =
self.spark.read.format("text").load("python/test_support/sql/streaming")
self.assertEqual(sorted(df.collect()), sorted(actual.collect()))
+ def test_streaming_foreach_batch_external_column(self):
+ from pyspark.sql import functions as sf
+
+ table_name = "testTable_foreach_batch_external_column"
Review Comment:
Sent out https://github.com/apache/spark/pull/51611.
Just curious -- why wasn't this noticed early on, is it because of the other
tests only fail non-deterministically?
--
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]