You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/02/05 03:30:40 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15133531#comment-15133531 ] 

Apache Spark commented on SPARK-13145:
--------------------------------------

User 'bomeng' has created a pull request for this issue:
https://github.com/apache/spark/pull/11086

> 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
>
> For example, we should the Float/Double as this:
> {code}
>  abs(actual -  expected) < expected * 1e-12
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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