You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dylan Guedes (Jira)" <ji...@apache.org> on 2019/10/29 10:33:00 UTC

[jira] [Created] (SPARK-29638) Spark handles 'NaN' as 0 in sums

Dylan Guedes created SPARK-29638:
------------------------------------

             Summary: Spark handles 'NaN' as 0 in sums
                 Key: SPARK-29638
                 URL: https://issues.apache.org/jira/browse/SPARK-29638
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Dylan Guedes


Currently, Spark handles 'NaN' as 0 in window functions, such that 3+'NaN'=3. PgSQL, on the other hand, handles the entire result as 'NaN', as in 3+'NaN' = 'NaN'



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