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

MetaStoreUtils get_fields() does not return partition column

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      Provide a function in Metastore to return the schema of a table.
      (Eric Hwang via rmurthy)
      Show
      Provide a function in Metastore to return the schema of a table. (Eric Hwang via rmurthy)

      Description

      MetaStoreUtil's get_fields(), which is offered through the Hive Server interface, does not include the partition field in its returned list of fields. This may be related to JIRA-671. At the moment, there is no way for a Hive client to discover a partition column in a table, creating a big issue for anyone who wishes to query a partitioned table.

        Attachments

        1. HIVE-736.1.patch
          82 kB
          Eric Hwang

          Issue Links

            Activity

              People

              • Assignee:
                ehwang Eric Hwang
                Reporter:
                ehwang Eric Hwang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: