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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 0.8.0
    • Fix Version/s: None
    • Component/s: JDBC
    • Labels:
      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

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

              Dates

              • Created:
                Updated: