Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17844

Hive JDBC driver converts floats to doubles, changing values slightly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • JDBC
    • None

    Description

      When querying data through Hive's JDBC driver, float values are automatically converted to doubles and will slightly differ from values seen when directly querying the data using a textual SQL interface.

      Please note that by slight difference I don't only mean additional zeroes at the end, but an actual numeric difference in the displayed value. This is the result of the different precision used when displaying double values, as discussed here, for example.

      Attachments

        Activity

          People

            Unassigned Unassigned
            zi Zoltan Ivanfi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: