dongjoon-hyun commented on a change in pull request #25331: [SPARK-27768][SQL]
Infinity, -Infinity, NaN should be recognized in a case insensitive manner.
URL: https://github.com/apache/spark/pull/25331#discussion_r309912010
##########
File path:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CastSuite.scala
##########
@@ -1023,4 +1023,26 @@ class CastSuite extends SparkFunSuite with
ExpressionEvalHelper {
checkEvaluation(ret, InternalRow(null))
}
}
+
+ test("SPARK-27768 process infinity, -infinity , nan in case insensitive
manner") {
Review comment:
Actually, this is not a bug. Instead, this is a behavior change for
PostgreSQL compatibility.
Previously, Spark works like Java/Scala/Hive.
----------------------------------------------------------------
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]