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

DatabaseMetadata.getColumns() does not return partition column names for a table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.7.1
    • 0.8.0
    • JDBC
    • None
    • Reviewed

    Description

      getColumns() method of DatabaseMetadata for HIVE JDBC Driver does not return the partition column names. Where as from HIVE CLI, if you do a 'describe tablename' you get all columns including the partition columns. It would be nice if getColumns() method returns all columns.

      Attachments

        1. HIVE-2315.patch
          3 kB
          Patrick D. Hunt
        2. HIVE-2315.patch
          4 kB
          Patrick D. Hunt

        Issue Links

          Activity

            People

              phunt Patrick D. Hunt
              mgk.424@gmail.com Mythili Gopalakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: