You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xinrong Meng (Jira)" <ji...@apache.org> on 2021/05/07 17:26:00 UTC

[jira] [Updated] (SPARK-35340) Standardize TypeError messages for unsupported arithmetic operations

     [ 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.

 

  was:
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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org