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

JDBC driver returns wrong precision, scale, or column size for some data types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • JDBC
    • None
    • Reviewed

    Description

      For some data types, these methods return values that do not conform to the JDBC spec:

      org.apache.hadoop.hive.jdbc.HiveResultSetMetaData.getPrecision(int)
      org.apache.hadoop.hive.jdbc.HiveResultSetMetaData.getScale(int)
      org.apache.hadoop.hive.jdbc.HiveResultSetMetaData.getColumnDisplaySize(int)
      org.apache.hadoop.hive.jdbc.JdbcColumn.getColumnSize()

      Attachments

        1. HIVE-1631.patch
          15 kB
          Patrick D. Hunt

        Issue Links

          Activity

            People

              phunt Patrick D. Hunt
              slider Steven K. Wong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: