Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/21054#discussion_r185401222
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/DataFrameAggregateSuite.scala ---
@@ -36,6 +36,8 @@ case class Fact(date: Int, hour: Int, minute: Int,
room_name: String, temp: Doub
class DataFrameAggregateSuite extends QueryTest with SharedSQLContext {
import testImplicits._
+ val absTol = 1e-8
--- End diff --
Since we always use `1e-8` for `checkAggregatesWithTol` in this test suite,
how about setting this value as default in the function argument?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]