You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2018/12/27 04:49:11 UTC
[GitHub] dongjoon-hyun commented on a change in pull request #23388:
[SPARK-26448][SQL] retain the difference between 0.0 and -0.0
dongjoon-hyun commented on a change in pull request #23388: [SPARK-26448][SQL] retain the difference between 0.0 and -0.0
URL: https://github.com/apache/spark/pull/23388#discussion_r244082280
##########
File path: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala
##########
@@ -1757,7 +1757,7 @@ class SQLQuerySuite extends QueryTest with SQLTestUtils with TestHiveSingleton {
sql("insert into tbl values ('3', '2.3')")
checkAnswer(
sql("select (cast (99 as decimal(19,6)) + cast('3' as decimal)) * cast('2.3' as decimal)"),
- Row(204.0)
+ Row(BigDecimal(204.0))
Review comment:
It's good to fix this.
Do you think this PR also affects the Spark's behavior on the existing apps?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org