Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21765 Support partitions on temporary tables
  3. HIVE-21814

Implement list partitions related methods on temporary tables

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • None
    • None

    Description

      IMetaStoreClient exposes the following methods related to listing partitions:

      List<String> listPartitionNames(String db_name, String tbl_name, List<String> part_vals, short max_parts);
      List<String> listPartitionNames(String catName, String db_name, String tbl_name, List<String> part_vals, int max_parts);
      List<Partition> listPartitions(String db_name, String tbl_name, List<String> part_vals, short max_parts);
      List<Partition> listPartitions(String catName, String db_name, String tbl_name, List<String> part_vals, int max_parts);
      List<String> listPartitionNames(String db_name, String tbl_name, short max_parts);
      List<String> listPartitionNames(String catName, String db_name, String tbl_name, int max_parts);
      List<String> listPartitionNames(String db_name, String tbl_name, List<String> part_vals, short max_parts);
      List<String> listPartitionNames(String catName, String db_name, String tbl_name, List<String> part_vals, int max_parts);
      PartitionSpecProxy listPartitionSpecs(String dbName, String tableName, int maxParts);
      PartitionSpecProxy listPartitionSpecs(String catName, String dbName, String tableName,int maxParts);
      List<Partition> listPartitionsWithAuthInfo(String dbName, String tableName, List<String> partialPvals, short maxParts, String userName, List<String> groupNames);
      List<Partition> listPartitionsWithAuthInfo(String catName, String dbName, String tableName, List<String> partialPvals, int maxParts, String userName, List<String> groupNames);
      

      In order to support partitions on temporary tables, the majority of these methods must be implemented in SessionHiveMetastoreClient.

      Attachments

        1. HIVE-21814.01.patch
          50 kB
          László Pintér
        2. HIVE-21814.02.patch
          51 kB
          László Pintér
        3. HIVE-21814.03.patch
          51 kB
          László Pintér
        4. HIVE-21814.04.patch
          57 kB
          László Pintér
        5. HIVE-21814.05.patch
          57 kB
          László Pintér

        Activity

          People

            lpinter László Pintér
            lpinter László Pintér
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: