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

Implement alter/rename partition related methods on temporary tables

    XMLWordPrintableJSON

Details

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

    Description

      IMetaStoreClient exposes the following methods related to altering of partitions:

      void alter_partition(String dbName, String tblName, Partition newPart);
      void alter_partition(String catName, String dbName, String tblName, Partition newPart);
      void alter_partition(String dbName, String tblName, Partition newPart, EnvironmentContext environmentContext);
      void alter_partition(String catName, String dbName, String tblName, Partition newPart, EnvironmentContext environmentContext, String writeIdList);
      void alter_partition(String catName, String dbName, String tblName, Partition newPart, EnvironmentContext environmentContext);
      void alter_partitions(String dbName, String tblName, List<Partition> newParts);
      void alter_partitions(String dbName, String tblName, List<Partition> newParts, EnvironmentContext environmentContext);
      void alter_partitions(String dbName, String tblName, List<Partition> newParts, EnvironmentContext environmentContext,String writeIdList, long writeId);
      void alter_partitions(String catName, String dbName, String tblName, List<Partition> newParts);
      void alter_partitions(String catName, String dbName, String tblName, 
      List<Partition> newParts, EnvironmentContext environmentContext, String writeIdList, long writeId);
      void renamePartition(final String dbname, final String tableName, final List<String> part_vals, final Partition newPart);
      void renamePartition(String catName, String dbname, String tableName, List<String> part_vals, Partition newPart, String validWriteIds)

      These should be implemented, in order to completely support partition on temporary tables.

      Attachments

        1. HIVE-22137.08.patch
          33 kB
          László Pintér
        2. HIVE-22137.07.patch
          33 kB
          László Pintér
        3. HIVE-22137.06.patch
          33 kB
          László Pintér
        4. HIVE-22137.05.patch
          33 kB
          László Pintér
        5. HIVE-22137.04.patch
          33 kB
          László Pintér
        6. HIVE-22137.03.patch
          32 kB
          László Pintér
        7. HIVE-22137.02.patch
          24 kB
          László Pintér
        8. HIVE-22137.01.patch
          23 kB
          László Pintér

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: