AlejandroMorgante commented on PR #60215: URL: https://github.com/apache/spark/pull/60215#issuecomment-6728423697
Good catches, thanks -- verified both. Fixed: - Added a note in the description about the exception class change (ValueError -> TypeError for the wrongly-typed case). - Narrowed the two updated tests in test_streaming.py to `except TypeError:` only, so a future regression back to ValueError would actually fail them. On the nan/inf/rounding follow-up: confirmed those too (int(nan*1000) and int(inf*1000) raise raw unwrapped errors, and 0.0001 rounds down to 0ms). Agreed that's pre-existing and unrelated to this PR -- logging it as a separate follow-up candidate rather than scope-creeping this one. -- 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]
