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

ResultSetMetaData.getColumnType() always returns VARCHAR(string) for partition columns irrespective of partition column type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 0.8.0
    • None
    • JDBC
    • None

    Description

      ResultSetMetaData.getColumnType() always returns VARCHAR(string) as column type, no matter what the column type is for the partition column.

      However DatabaseMetadata.getColumnType() returns correct type.

      Create a table with a partition column having a type other than string, you will see that ResultSet.getColumnType() always returns string as the type for int or boolean or float columns...

      Attachments

        Activity

          People

            tamtam180 tamtam180
            mgk.424@gmail.com Mythili Gopalakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: