[ 
https://issues.apache.org/jira/browse/SPARK-61272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun resolved SPARK-61272.
-----------------------------------
    Fix Version/s: 5.0.0
       Resolution: Fixed

Issue resolved by pull request 60215
[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
>            Assignee: Alejandro Morgante
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 5.0.0
>
>
> 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]

Reply via email to