[
https://issues.apache.org/jira/browse/SPARK-35340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xinrong Meng updated SPARK-35340:
---------------------------------
Description:
Inconsistent TypeError messages are shown for unsupported arithmetic operations.
Take addition's TypeError messages for example:
{code:java}
addition can not be applied to given types.
Object with dtype category cannot perform the numpy op add.
string addition can only be applied to string series or literals.
{code}
Standardizing TypeError messages would improve user experience and help debug.
> Standardize TypeError messages for unsupported arithmetic operations
> --------------------------------------------------------------------
>
> Key: SPARK-35340
> URL: https://issues.apache.org/jira/browse/SPARK-35340
> Project: Spark
> Issue Type: Sub-task
> Components: PySpark
> Affects Versions: 3.2.0
> Reporter: Xinrong Meng
> Priority: Major
>
> Inconsistent TypeError messages are shown for unsupported arithmetic
> operations.
> Take addition's TypeError messages for example:
>
> {code:java}
> addition can not be applied to given types.
> Object with dtype category cannot perform the numpy op add.
> string addition can only be applied to string series or literals.
> {code}
> Standardizing TypeError messages would improve user experience and help debug.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]