Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-24317

Float-point numbers are displayed with different precision in ThriftServer2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.0.0, 2.1.0, 2.2.0, 2.3.0
    • None
    • SQL
    • 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:

      HIVE-11802
      HIVE-11832

      Make a slight modification to the spark hive thrift server.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dzcxzl dzcxzl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: