Github user zuotingbing commented on a diff in the pull request:
https://github.com/apache/spark/pull/21789#discussion_r203239370
--- Diff:
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala
---
@@ -766,6 +774,14 @@ class
Github user xuanyuanking commented on a diff in the pull request:
https://github.com/apache/spark/pull/21789#discussion_r203037295
--- Diff:
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala
---
@@ -766,6 +774,14 @@ class
GitHub user zuotingbing opened a pull request:
https://github.com/apache/spark/pull/21789
[SPARK-24829][SQL]CAST AS FLOAT inconsistent with Hive
## What changes were proposed in this pull request?
SELECT CAST('4.56' AS FLOAT)
the result is 4.55942779541 , it