You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2016/02/03 07:51:39 UTC
[jira] [Comment Edited] (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=15129913#comment-15129913 ]
Xiangrui Meng edited comment on SPARK-13145 at 2/3/16 6:51 AM:
---------------------------------------------------------------
This is for Spark SQL, which uses string match to check result. I updated JIRA title and component to make this clear.
was (Author: mengxr):
This is for Spark SQL, which uses string match to check result.
> 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