[ 
https://issues.apache.org/jira/browse/SPARK-35340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17376116#comment-17376116
 ] 

Apache Spark commented on SPARK-35340:
--------------------------------------

User 'xinrong-databricks' has created a pull request for this issue:
https://github.com/apache/spark/pull/33237

> Standardize TypeError messages for unsupported basic 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 data-type-based 
> basic 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]

Reply via email to