[ https://issues.apache.org/jira/browse/SPARK-13145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15129913#comment-15129913 ]
Xiangrui Meng commented on SPARK-13145: --------------------------------------- This is for Spark SQL, which uses string match to check result. > checkAnswer 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org