You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:35:37 UTC

[jira] [Resolved] (SPARK-13145) checkAnswer in SQL query suites should tolerate small float number error

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

Hyukjin Kwon resolved SPARK-13145.
----------------------------------
    Resolution: Incomplete

> checkAnswer in SQL query suites should tolerate small float number error
> ------------------------------------------------------------------------
>
>                 Key: SPARK-13145
>                 URL: https://issues.apache.org/jira/browse/SPARK-13145
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Davies Liu
>            Priority: Major
>              Labels: bulk-closed
>
> For example, we should the Float/Double as this:
> {code}
>  abs(actual -  expected) < expected * 1e-12
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org