Uploaded image for project: 'HCatalog'
  1. HCatalog
  2. HCATALOG-567

HCatClient must allow retrieval of multiple partitions using a partial partition spec.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5, 0.4.1
    • 0.5, 0.4.1
    • client
    • None

    Description

      HCatClient has only one partition-getter function that accepts a partition-spec (Map<String, String> ), and that method assumes that at most one partition matches the specification. (i.e. It assumes that the partition-spec is complete.)

      HCatClient must provide a way to retrieve all partitions that match a partial partition spec.

      public List<HCatPartition> getPartitions(String dbName, String tableName, Map<String, String> partitionSpec);

      Attachments

        1. HCATALOG-567.branch4.reviewed.patch
          14 kB
          Mithun Radhakrishnan
        2. HCATALOG-567.trunk.reviewed.patch
          15 kB
          Mithun Radhakrishnan

        Activity

          People

            mithun Mithun Radhakrishnan
            mithun Mithun Radhakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: