Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
2.0.0, 2.1.0, 2.2.0, 2.3.0
-
None
-
None
Description
When querying float-point numbers , the values displayed on beeline or jdbc are with different precision.
SELECT CAST(1.23 AS FLOAT) Result: 1.2300000190734863
According to these two jira:
Make a slight modification to the spark hive thrift server.
Attachments
Issue Links
- is duplicated by
-
SPARK-24829 In Spark Thrift Server, CAST AS FLOAT inconsistent with spark-shell or spark-sql
- Resolved
- links to