WweiL commented on code in PR #40691: URL: https://github.com/apache/spark/pull/40691#discussion_r1162017055
########## python/pyspark/sql/tests/streaming/test_streaming.py: ########## @@ -77,8 +109,14 @@ def test_stream_read_options_overwrite(self): .schema(bad_schema) .load(path="python/test_support/sql/streaming", schema=schema, format="text") ) - self.assertTrue(df.isStreaming) - self.assertEqual(df.schema.simpleString(), "struct<data:string>") + # TODO: Moving this outside of with block will trigger the following error, Review Comment: I see. So this is a behavior change for migrating to connect? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org