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:30:00 UTC

[jira] [Updated] (SPARK-35342) Introduce DecimalOps

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

Xinrong Meng updated SPARK-35342:
---------------------------------
    Description: 
In PySpark, {{DoubleType}} and {{FloatType}} could have NaN, whereas {{DecimalType}} not.

Now, {{DecimalType,}} {{DoubleType,}} and {{FloatType}} data share the {{FractionalOps}} class.

We would like to introduce the {{DecimalOps}} for NaN check.

> Introduce DecimalOps
> --------------------
>
>                 Key: SPARK-35342
>                 URL: https://issues.apache.org/jira/browse/SPARK-35342
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 3.2.0
>            Reporter: Xinrong Meng
>            Priority: Major
>
> In PySpark, {{DoubleType}} and {{FloatType}} could have NaN, whereas {{DecimalType}} not.
> Now, {{DecimalType,}} {{DoubleType,}} and {{FloatType}} data share the {{FractionalOps}} class.
> We would like to introduce the {{DecimalOps}} for NaN check.



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