Hive
  1. Hive
  2. HIVE-2315

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.7.1
    • Fix Version/s: 0.8.0
    • Component/s: JDBC
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Issue Links

          Activity

          Mythili Gopalakrishnan created issue -
          Patrick Hunt made changes -
          Field Original Value New Value
          Assignee Patrick Hunt [ phunt ]
          Patrick Hunt made changes -
          Attachment HIVE-2315.patch [ 12489509 ]
          Patrick Hunt made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Patrick Hunt made changes -
          Link This issue relates to HIVE-1573 [ HIVE-1573 ]
          Carl Steinbach made changes -
          Link This issue duplicates HIVE-1573 [ HIVE-1573 ]
          Patrick Hunt made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Patrick Hunt made changes -
          Attachment HIVE-2315_part2.patch [ 12489724 ]
          Patrick Hunt made changes -
          Attachment HIVE-2315_part2.patch [ 12489724 ]
          Patrick Hunt made changes -
          Attachment HIVE-2315.patch [ 12490134 ]
          Patrick Hunt made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Carl Steinbach made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Carl Steinbach made changes -
          Link This issue is duplicated by HIVE-1573 [ HIVE-1573 ]
          Carl Steinbach made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Patrick Hunt
              Reporter:
              Mythili Gopalakrishnan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development