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

MetaStoreUtils get_fields() does not return partition column

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • None
    • None
    • Reviewed
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: