[
https://issues.apache.org/jira/browse/SPARK-61271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alejandro Morgante updated SPARK-61271:
---------------------------------------
Description:
VALUE_NOT_POSITIVE errors reported type(value).__name__ instead of the actual
value.
Before:
{code}
Value for `durationMs` must be positive, got 'int'.
{code}
After:
{code}
Value for `durationMs` must be positive, got '-5'.
{code}
PR: https://github.com/apache/spark/pull/60193
> Report the actual value in VALUE_NOT_POSITIVE errors
> ----------------------------------------------------
>
> Key: SPARK-61271
> URL: https://issues.apache.org/jira/browse/SPARK-61271
> Project: Spark
> Issue Type: Bug
> Components: PySpark
> Affects Versions: 5.0.0
> Reporter: Alejandro Morgante
> Priority: Major
>
> VALUE_NOT_POSITIVE errors reported type(value).__name__ instead of the actual
> value.
> Before:
> {code}
> Value for `durationMs` must be positive, got 'int'.
> {code}
> After:
> {code}
> Value for `durationMs` must be positive, got '-5'.
> {code}
> PR: https://github.com/apache/spark/pull/60193
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]