zhengruifeng commented on code in PR #56309:
URL: https://github.com/apache/spark/pull/56309#discussion_r3355660865
##########
python/pyspark/sql/tests/connect/streaming/test_parity_listener.py:
##########
@@ -257,7 +258,13 @@ def test_listener_events_spark_command(self):
@eventually(timeout=60, catch_assertions=True)
def load_event(event_name, table_name):
- table = self.spark.read.table(table_name).collect()
+ try:
+ table = self.spark.read.table(table_name).collect()
+ except AnalysisException as e:
+ # It's possible that the table has not been created yet
Review Comment:
I am not sure whether this against the test purpose.
I checked the history of `test_listener_events_spark_command` and wondering
whether
https://github.com/apache/spark/commit/99114890ec53c14e9ec48ff0d88c0c10d8a7642d
caused the flakiness
--
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]