wangyum commented on a change in pull request #25279: [WIP][SPARK-28519][SQL]
Use StrictMath log, pow functions for platform independence
URL: https://github.com/apache/spark/pull/25279#discussion_r308090004
##########
File path: sql/core/src/test/resources/sql-tests/results/pgSQL/float8.sql.out
##########
@@ -528,7 +528,7 @@ SELECT atanh(double('0.5'))
-- !query 56 schema
struct<ATANH(CAST(0.5 AS DOUBLE)):double>
-- !query 56 output
-0.5493061443340549
+0.5493061443340548
Review comment:
Yes. PostgreSQL returns `0.549306144334055`:
https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/expected/float8.out#L490-L494
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]