AlejandroMorgante commented on code in PR #60193:
URL: https://github.com/apache/spark/pull/60193#discussion_r4504579682
##########
python/pyspark/sql/streaming/query.py:
##########
@@ -220,7 +220,7 @@ def awaitTermination(self, timeout: Optional[int] = None)
-> Optional[bool]:
if not isinstance(timeout, (int, float)) or timeout <= 0:
raise PySparkValueError(
errorClass="VALUE_NOT_POSITIVE",
- messageParameters={"arg_name": "timeout", "arg_value":
type(timeout).__name__},
+ messageParameters={"arg_name": "timeout", "arg_value":
str(timeout)},
Review Comment:
Good catch, thanks. Opened a separate PR for this: #60215 -- kept it
independent since it's a pre-existing issue (the type/value conflation was
already there, we just made it more visible by reporting the real value), not
something introduced by this PR.
--
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]