AlejandroMorgante commented on code in PR #60228: URL: https://github.com/apache/spark/pull/60228#discussion_r4509072015
########## python/pyspark/sql/tests/streaming/test_streaming_query_validation.py: ########## @@ -0,0 +1,153 @@ +# Review Comment: On reflection, you're right for this one specifically -- these nan/inf checks don't need millisecond precision, so there's no real reason not to use the mixin. Will move them there. The rounding PR (#60230) is the one where we actually need to capture the exact ms value, so that one will likely stay separate. ########## python/pyspark/sql/tests/streaming/test_streaming_query_validation.py: ########## @@ -0,0 +1,153 @@ +# Review Comment: Fair point, and you're right that Connect inherits `StreamingTestsMixin`'s tests automatically (confirmed -- `test_stream_await_termination`/`test_query_manager_await_termination` there run under `test_parity_streaming.StreamingParityTests` too). **You're right for this one specifically**: these `nan`/`inf` checks don't need millisecond precision, so there's no real reason not to use the mixin -- moved them there. The rounding PR (#60230) is the one where we actually need to capture the exact ms value a real end-to-end query can't easily assert, so that one will likely stay separate. -- 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]
