[
https://issues.apache.org/jira/browse/SPARK-61272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alejandro Morgante updated SPARK-61272:
---------------------------------------
Description:
awaitTermination/awaitAnyTermination folded a wrongly-typed timeout into the
positivity check, reporting the wrong error class.
Before:
{code}
[VALUE_NOT_POSITIVE] Value for `timeout` must be positive, got 'str'.
{code}
After:
{code}
[NOT_EXPECTED_TYPE] Argument `timeout` should be int or float, got str.
{code}
PR: https://github.com/apache/spark/pull/60215
> Stop reporting a wrong-type timeout as not positive
> ---------------------------------------------------
>
> Key: SPARK-61272
> URL: https://issues.apache.org/jira/browse/SPARK-61272
> Project: Spark
> Issue Type: Bug
> Components: PySpark
> Affects Versions: 5.0.0
> Reporter: Alejandro Morgante
> Priority: Major
> Labels: pull-request-available
>
> awaitTermination/awaitAnyTermination folded a wrongly-typed timeout into the
> positivity check, reporting the wrong error class.
> Before:
> {code}
> [VALUE_NOT_POSITIVE] Value for `timeout` must be positive, got 'str'.
> {code}
> After:
> {code}
> [NOT_EXPECTED_TYPE] Argument `timeout` should be int or float, got str.
> {code}
> PR: https://github.com/apache/spark/pull/60215
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]