You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by am...@apache.org on 2015/12/21 09:50:41 UTC

[14/23] hive git commit: Revert "HIVE-11487 : Adds getNumPartitionsByFilter api in metastore api"

http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
index 809f68c..47b7afa 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
@@ -1,5 +1,5 @@
 /**
- * Autogenerated by Thrift Compiler (0.9.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
 public class ThriftHiveMetastore {
 
   /**
@@ -158,8 +158,6 @@ public class ThriftHiveMetastore {
 
     public PartitionsByExprResult get_partitions_by_expr(PartitionsByExprRequest req) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
 
-    public int get_num_partitions_by_filter(String db_name, String tbl_name, String filter) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
-
     public List<Partition> get_partitions_by_names(String db_name, String tbl_name, List<String> names) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
 
     public void alter_partition(String db_name, String tbl_name, Partition new_part) throws InvalidOperationException, MetaException, org.apache.thrift.TException;
@@ -428,8 +426,6 @@ public class ThriftHiveMetastore {
 
     public void get_partitions_by_expr(PartitionsByExprRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
-    public void get_num_partitions_by_filter(String db_name, String tbl_name, String filter, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
-
     public void get_partitions_by_names(String db_name, String tbl_name, List<String> names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
     public void alter_partition(String db_name, String tbl_name, Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
@@ -2398,37 +2394,6 @@ public class ThriftHiveMetastore {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_partitions_by_expr failed: unknown result");
     }
 
-    public int get_num_partitions_by_filter(String db_name, String tbl_name, String filter) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
-    {
-      send_get_num_partitions_by_filter(db_name, tbl_name, filter);
-      return recv_get_num_partitions_by_filter();
-    }
-
-    public void send_get_num_partitions_by_filter(String db_name, String tbl_name, String filter) throws org.apache.thrift.TException
-    {
-      get_num_partitions_by_filter_args args = new get_num_partitions_by_filter_args();
-      args.setDb_name(db_name);
-      args.setTbl_name(tbl_name);
-      args.setFilter(filter);
-      sendBase("get_num_partitions_by_filter", args);
-    }
-
-    public int recv_get_num_partitions_by_filter() throws MetaException, NoSuchObjectException, org.apache.thrift.TException
-    {
-      get_num_partitions_by_filter_result result = new get_num_partitions_by_filter_result();
-      receiveBase(result, "get_num_partitions_by_filter");
-      if (result.isSetSuccess()) {
-        return result.success;
-      }
-      if (result.o1 != null) {
-        throw result.o1;
-      }
-      if (result.o2 != null) {
-        throw result.o2;
-      }
-      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_num_partitions_by_filter failed: unknown result");
-    }
-
     public List<Partition> get_partitions_by_names(String db_name, String tbl_name, List<String> names) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
     {
       send_get_partitions_by_names(db_name, tbl_name, names);
@@ -6655,44 +6620,6 @@ public class ThriftHiveMetastore {
       }
     }
 
-    public void get_num_partitions_by_filter(String db_name, String tbl_name, String filter, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
-      checkReady();
-      get_num_partitions_by_filter_call method_call = new get_num_partitions_by_filter_call(db_name, tbl_name, filter, resultHandler, this, ___protocolFactory, ___transport);
-      this.___currentMethod = method_call;
-      ___manager.call(method_call);
-    }
-
-    public static class get_num_partitions_by_filter_call extends org.apache.thrift.async.TAsyncMethodCall {
-      private String db_name;
-      private String tbl_name;
-      private String filter;
-      public get_num_partitions_by_filter_call(String db_name, String tbl_name, String filter, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-        super(client, protocolFactory, transport, resultHandler, false);
-        this.db_name = db_name;
-        this.tbl_name = tbl_name;
-        this.filter = filter;
-      }
-
-      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_num_partitions_by_filter", org.apache.thrift.protocol.TMessageType.CALL, 0));
-        get_num_partitions_by_filter_args args = new get_num_partitions_by_filter_args();
-        args.setDb_name(db_name);
-        args.setTbl_name(tbl_name);
-        args.setFilter(filter);
-        args.write(prot);
-        prot.writeMessageEnd();
-      }
-
-      public int getResult() throws MetaException, NoSuchObjectException, org.apache.thrift.TException {
-        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-          throw new IllegalStateException("Method call not finished!");
-        }
-        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-        return (new Client(prot)).recv_get_num_partitions_by_filter();
-      }
-    }
-
     public void get_partitions_by_names(String db_name, String tbl_name, List<String> names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
       checkReady();
       get_partitions_by_names_call method_call = new get_partitions_by_names_call(db_name, tbl_name, names, resultHandler, this, ___protocolFactory, ___transport);
@@ -9300,7 +9227,6 @@ public class ThriftHiveMetastore {
       processMap.put("get_partitions_by_filter", new get_partitions_by_filter());
       processMap.put("get_part_specs_by_filter", new get_part_specs_by_filter());
       processMap.put("get_partitions_by_expr", new get_partitions_by_expr());
-      processMap.put("get_num_partitions_by_filter", new get_num_partitions_by_filter());
       processMap.put("get_partitions_by_names", new get_partitions_by_names());
       processMap.put("alter_partition", new alter_partition());
       processMap.put("alter_partitions", new alter_partitions());
@@ -10928,33 +10854,6 @@ public class ThriftHiveMetastore {
       }
     }
 
-    public static class get_num_partitions_by_filter<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_num_partitions_by_filter_args> {
-      public get_num_partitions_by_filter() {
-        super("get_num_partitions_by_filter");
-      }
-
-      public get_num_partitions_by_filter_args getEmptyArgsInstance() {
-        return new get_num_partitions_by_filter_args();
-      }
-
-      protected boolean isOneway() {
-        return false;
-      }
-
-      public get_num_partitions_by_filter_result getResult(I iface, get_num_partitions_by_filter_args args) throws org.apache.thrift.TException {
-        get_num_partitions_by_filter_result result = new get_num_partitions_by_filter_result();
-        try {
-          result.success = iface.get_num_partitions_by_filter(args.db_name, args.tbl_name, args.filter);
-          result.setSuccessIsSet(true);
-        } catch (MetaException o1) {
-          result.o1 = o1;
-        } catch (NoSuchObjectException o2) {
-          result.o2 = o2;
-        }
-        return result;
-      }
-    }
-
     public static class get_partitions_by_names<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partitions_by_names_args> {
       public get_partitions_by_names() {
         super("get_partitions_by_names");
@@ -12871,7 +12770,6 @@ public class ThriftHiveMetastore {
       processMap.put("get_partitions_by_filter", new get_partitions_by_filter());
       processMap.put("get_part_specs_by_filter", new get_part_specs_by_filter());
       processMap.put("get_partitions_by_expr", new get_partitions_by_expr());
-      processMap.put("get_num_partitions_by_filter", new get_num_partitions_by_filter());
       processMap.put("get_partitions_by_names", new get_partitions_by_names());
       processMap.put("alter_partition", new alter_partition());
       processMap.put("alter_partitions", new alter_partitions());
@@ -16627,69 +16525,6 @@ public class ThriftHiveMetastore {
       }
     }
 
-    public static class get_num_partitions_by_filter<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, get_num_partitions_by_filter_args, Integer> {
-      public get_num_partitions_by_filter() {
-        super("get_num_partitions_by_filter");
-      }
-
-      public get_num_partitions_by_filter_args getEmptyArgsInstance() {
-        return new get_num_partitions_by_filter_args();
-      }
-
-      public AsyncMethodCallback<Integer> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
-        final org.apache.thrift.AsyncProcessFunction fcall = this;
-        return new AsyncMethodCallback<Integer>() { 
-          public void onComplete(Integer o) {
-            get_num_partitions_by_filter_result result = new get_num_partitions_by_filter_result();
-            result.success = o;
-            result.setSuccessIsSet(true);
-            try {
-              fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
-              return;
-            } catch (Exception e) {
-              LOGGER.error("Exception writing to internal frame buffer", e);
-            }
-            fb.close();
-          }
-          public void onError(Exception e) {
-            byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
-            org.apache.thrift.TBase msg;
-            get_num_partitions_by_filter_result result = new get_num_partitions_by_filter_result();
-            if (e instanceof MetaException) {
-                        result.o1 = (MetaException) e;
-                        result.setO1IsSet(true);
-                        msg = result;
-            }
-            else             if (e instanceof NoSuchObjectException) {
-                        result.o2 = (NoSuchObjectException) e;
-                        result.setO2IsSet(true);
-                        msg = result;
-            }
-             else 
-            {
-              msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
-              msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage());
-            }
-            try {
-              fcall.sendResponse(fb,msg,msgType,seqid);
-              return;
-            } catch (Exception ex) {
-              LOGGER.error("Exception writing to internal frame buffer", ex);
-            }
-            fb.close();
-          }
-        };
-      }
-
-      protected boolean isOneway() {
-        return false;
-      }
-
-      public void start(I iface, get_num_partitions_by_filter_args args, org.apache.thrift.async.AsyncMethodCallback<Integer> resultHandler) throws TException {
-        iface.get_num_partitions_by_filter(args.db_name, args.tbl_name, args.filter,resultHandler);
-      }
-    }
-
     public static class get_partitions_by_names<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, get_partitions_by_names_args, List<Partition>> {
       public get_partitions_by_names() {
         super("get_partitions_by_names");
@@ -24860,10 +24695,10 @@ public class ThriftHiveMetastore {
         return getName();
 
       case DELETE_DATA:
-        return Boolean.valueOf(isDeleteData());
+        return isDeleteData();
 
       case CASCADE:
-        return Boolean.valueOf(isCascade());
+        return isCascade();
 
       }
       throw new IllegalStateException();
@@ -29890,7 +29725,7 @@ public class ThriftHiveMetastore {
     public Object getFieldValue(_Fields field) {
       switch (field) {
       case SUCCESS:
-        return Boolean.valueOf(isSuccess());
+        return isSuccess();
 
       case O1:
         return getO1();
@@ -30880,7 +30715,7 @@ public class ThriftHiveMetastore {
     public Object getFieldValue(_Fields field) {
       switch (field) {
       case SUCCESS:
-        return Boolean.valueOf(isSuccess());
+        return isSuccess();
 
       case O1:
         return getO1();
@@ -39520,7 +39355,7 @@ public class ThriftHiveMetastore {
         return getName();
 
       case DELETE_DATA:
-        return Boolean.valueOf(isDeleteData());
+        return isDeleteData();
 
       }
       throw new IllegalStateException();
@@ -40594,7 +40429,7 @@ public class ThriftHiveMetastore {
         return getName();
 
       case DELETE_DATA:
-        return Boolean.valueOf(isDeleteData());
+        return isDeleteData();
 
       case ENVIRONMENT_CONTEXT:
         return getEnvironment_context();
@@ -46948,7 +46783,7 @@ public class ThriftHiveMetastore {
         return getFilter();
 
       case MAX_TABLES:
-        return Short.valueOf(getMax_tables());
+        return getMax_tables();
 
       }
       throw new IllegalStateException();
@@ -50467,7 +50302,7 @@ public class ThriftHiveMetastore {
         return getNew_tbl();
 
       case CASCADE:
-        return Boolean.valueOf(isCascade());
+        return isCascade();
 
       }
       throw new IllegalStateException();
@@ -54206,7 +54041,7 @@ public class ThriftHiveMetastore {
     public Object getFieldValue(_Fields field) {
       switch (field) {
       case SUCCESS:
-        return Integer.valueOf(getSuccess());
+        return getSuccess();
 
       case O1:
         return getO1();
@@ -55294,7 +55129,7 @@ public class ThriftHiveMetastore {
     public Object getFieldValue(_Fields field) {
       switch (field) {
       case SUCCESS:
-        return Integer.valueOf(getSuccess());
+        return getSuccess();
 
       case O1:
         return getO1();
@@ -62344,7 +62179,7 @@ public class ThriftHiveMetastore {
         return getPart_vals();
 
       case DELETE_DATA:
-        return Boolean.valueOf(isDeleteData());
+        return isDeleteData();
 
       }
       throw new IllegalStateException();
@@ -62991,7 +62826,7 @@ public class ThriftHiveMetastore {
     public Object getFieldValue(_Fields field) {
       switch (field) {
       case SUCCESS:
-        return Boolean.valueOf(isSuccess());
+        return isSuccess();
 
       case O1:
         return getO1();
@@ -63675,7 +63510,7 @@ public class ThriftHiveMetastore {
         return getPart_vals();
 
       case DELETE_DATA:
-        return Boolean.valueOf(isDeleteData());
+        return isDeleteData();
 
       case ENVIRONMENT_CONTEXT:
         return getEnvironment_context();
@@ -64387,7 +64222,7 @@ public class ThriftHiveMetastore {
     public Object getFieldValue(_Fields field) {
       switch (field) {
       case SUCCESS:
-        return Boolean.valueOf(isSuccess());
+        return isSuccess();
 
       case O1:
         return getO1();
@@ -65010,7 +64845,7 @@ public class ThriftHiveMetastore {
         return getPart_name();
 
       case DELETE_DATA:
-        return Boolean.valueOf(isDeleteData());
+        return isDeleteData();
 
       }
       throw new IllegalStateException();
@@ -65625,7 +65460,7 @@ public class ThriftHiveMetastore {
     public Object getFieldValue(_Fields field) {
       switch (field) {
       case SUCCESS:
-        return Boolean.valueOf(isSuccess());
+        return isSuccess();
 
       case O1:
         return getO1();
@@ -66292,7 +66127,7 @@ public class ThriftHiveMetastore {
         return getPart_name();
 
       case DELETE_DATA:
-        return Boolean.valueOf(isDeleteData());
+        return isDeleteData();
 
       case ENVIRONMENT_CONTEXT:
         return getEnvironment_context();
@@ -66972,7 +66807,7 @@ public class ThriftHiveMetastore {
     public Object getFieldValue(_Fields field) {
       switch (field) {
       case SUCCESS:
-        return Boolean.valueOf(isSuccess());
+        return isSuccess();
 
       case O1:
         return getO1();
@@ -75541,7 +75376,7 @@ public class ThriftHiveMetastore {
         return getTbl_name();
 
       case MAX_PARTS:
-        return Short.valueOf(getMax_parts());
+        return getMax_parts();
 
       }
       throw new IllegalStateException();
@@ -76836,7 +76671,7 @@ public class ThriftHiveMetastore {
         return getTbl_name();
 
       case MAX_PARTS:
-        return Short.valueOf(getMax_parts());
+        return getMax_parts();
 
       case USER_NAME:
         return getUser_name();
@@ -78178,7 +78013,7 @@ public class ThriftHiveMetastore {
         return getTbl_name();
 
       case MAX_PARTS:
-        return Integer.valueOf(getMax_parts());
+        return getMax_parts();
 
       }
       throw new IllegalStateException();
@@ -79368,7 +79203,7 @@ public class ThriftHiveMetastore {
         return getTbl_name();
 
       case MAX_PARTS:
-        return Short.valueOf(getMax_parts());
+        return getMax_parts();
 
       }
       throw new IllegalStateException();
@@ -80511,7 +80346,7 @@ public class ThriftHiveMetastore {
         return getPart_vals();
 
       case MAX_PARTS:
-        return Short.valueOf(getMax_parts());
+        return getMax_parts();
 
       }
       throw new IllegalStateException();
@@ -81959,7 +81794,7 @@ public class ThriftHiveMetastore {
         return getPart_vals();
 
       case MAX_PARTS:
-        return Short.valueOf(getMax_parts());
+        return getMax_parts();
 
       case USER_NAME:
         return getUser_name();
@@ -83454,7 +83289,7 @@ public class ThriftHiveMetastore {
         return getPart_vals();
 
       case MAX_PARTS:
-        return Short.valueOf(getMax_parts());
+        return getMax_parts();
 
       }
       throw new IllegalStateException();
@@ -84775,7 +84610,7 @@ public class ThriftHiveMetastore {
         return getFilter();
 
       case MAX_PARTS:
-        return Short.valueOf(getMax_parts());
+        return getMax_parts();
 
       }
       throw new IllegalStateException();
@@ -86069,7 +85904,7 @@ public class ThriftHiveMetastore {
         return getFilter();
 
       case MAX_PARTS:
-        return Integer.valueOf(getMax_parts());
+        return getMax_parts();
 
       }
       throw new IllegalStateException();
@@ -88008,28 +87843,28 @@ public class ThriftHiveMetastore {
 
   }
 
-  public static class get_num_partitions_by_filter_args implements org.apache.thrift.TBase<get_num_partitions_by_filter_args, get_num_partitions_by_filter_args._Fields>, java.io.Serializable, Cloneable, Comparable<get_num_partitions_by_filter_args>   {
-    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_num_partitions_by_filter_args");
+  public static class get_partitions_by_names_args implements org.apache.thrift.TBase<get_partitions_by_names_args, get_partitions_by_names_args._Fields>, java.io.Serializable, Cloneable, Comparable<get_partitions_by_names_args>   {
+    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_by_names_args");
 
     private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1);
     private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2);
-    private static final org.apache.thrift.protocol.TField FILTER_FIELD_DESC = new org.apache.thrift.protocol.TField("filter", org.apache.thrift.protocol.TType.STRING, (short)3);
+    private static final org.apache.thrift.protocol.TField NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("names", org.apache.thrift.protocol.TType.LIST, (short)3);
 
     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
     static {
-      schemes.put(StandardScheme.class, new get_num_partitions_by_filter_argsStandardSchemeFactory());
-      schemes.put(TupleScheme.class, new get_num_partitions_by_filter_argsTupleSchemeFactory());
+      schemes.put(StandardScheme.class, new get_partitions_by_names_argsStandardSchemeFactory());
+      schemes.put(TupleScheme.class, new get_partitions_by_names_argsTupleSchemeFactory());
     }
 
     private String db_name; // required
     private String tbl_name; // required
-    private String filter; // required
+    private List<String> names; // required
 
     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
     public enum _Fields implements org.apache.thrift.TFieldIdEnum {
       DB_NAME((short)1, "db_name"),
       TBL_NAME((short)2, "tbl_name"),
-      FILTER((short)3, "filter");
+      NAMES((short)3, "names");
 
       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -88048,8 +87883,8 @@ public class ThriftHiveMetastore {
             return DB_NAME;
           case 2: // TBL_NAME
             return TBL_NAME;
-          case 3: // FILTER
-            return FILTER;
+          case 3: // NAMES
+            return NAMES;
           default:
             return null;
         }
@@ -88097,50 +87932,52 @@ public class ThriftHiveMetastore {
           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
       tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, 
           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-      tmpMap.put(_Fields.FILTER, new org.apache.thrift.meta_data.FieldMetaData("filter", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+      tmpMap.put(_Fields.NAMES, new org.apache.thrift.meta_data.FieldMetaData("names", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
+              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
       metaDataMap = Collections.unmodifiableMap(tmpMap);
-      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_num_partitions_by_filter_args.class, metaDataMap);
+      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_by_names_args.class, metaDataMap);
     }
 
-    public get_num_partitions_by_filter_args() {
+    public get_partitions_by_names_args() {
     }
 
-    public get_num_partitions_by_filter_args(
+    public get_partitions_by_names_args(
       String db_name,
       String tbl_name,
-      String filter)
+      List<String> names)
     {
       this();
       this.db_name = db_name;
       this.tbl_name = tbl_name;
-      this.filter = filter;
+      this.names = names;
     }
 
     /**
      * Performs a deep copy on <i>other</i>.
      */
-    public get_num_partitions_by_filter_args(get_num_partitions_by_filter_args other) {
+    public get_partitions_by_names_args(get_partitions_by_names_args other) {
       if (other.isSetDb_name()) {
         this.db_name = other.db_name;
       }
       if (other.isSetTbl_name()) {
         this.tbl_name = other.tbl_name;
       }
-      if (other.isSetFilter()) {
-        this.filter = other.filter;
+      if (other.isSetNames()) {
+        List<String> __this__names = new ArrayList<String>(other.names);
+        this.names = __this__names;
       }
     }
 
-    public get_num_partitions_by_filter_args deepCopy() {
-      return new get_num_partitions_by_filter_args(this);
+    public get_partitions_by_names_args deepCopy() {
+      return new get_partitions_by_names_args(this);
     }
 
     @Override
     public void clear() {
       this.db_name = null;
       this.tbl_name = null;
-      this.filter = null;
+      this.names = null;
     }
 
     public String getDb_name() {
@@ -88189,26 +88026,41 @@ public class ThriftHiveMetastore {
       }
     }
 
-    public String getFilter() {
-      return this.filter;
+    public int getNamesSize() {
+      return (this.names == null) ? 0 : this.names.size();
     }
 
-    public void setFilter(String filter) {
-      this.filter = filter;
+    public java.util.Iterator<String> getNamesIterator() {
+      return (this.names == null) ? null : this.names.iterator();
     }
 
-    public void unsetFilter() {
-      this.filter = null;
+    public void addToNames(String elem) {
+      if (this.names == null) {
+        this.names = new ArrayList<String>();
+      }
+      this.names.add(elem);
     }
 
-    /** Returns true if field filter is set (has been assigned a value) and false otherwise */
-    public boolean isSetFilter() {
-      return this.filter != null;
+    public List<String> getNames() {
+      return this.names;
     }
 
-    public void setFilterIsSet(boolean value) {
+    public void setNames(List<String> names) {
+      this.names = names;
+    }
+
+    public void unsetNames() {
+      this.names = null;
+    }
+
+    /** Returns true if field names is set (has been assigned a value) and false otherwise */
+    public boolean isSetNames() {
+      return this.names != null;
+    }
+
+    public void setNamesIsSet(boolean value) {
       if (!value) {
-        this.filter = null;
+        this.names = null;
       }
     }
 
@@ -88230,11 +88082,11 @@ public class ThriftHiveMetastore {
         }
         break;
 
-      case FILTER:
+      case NAMES:
         if (value == null) {
-          unsetFilter();
+          unsetNames();
         } else {
-          setFilter((String)value);
+          setNames((List<String>)value);
         }
         break;
 
@@ -88249,8 +88101,8 @@ public class ThriftHiveMetastore {
       case TBL_NAME:
         return getTbl_name();
 
-      case FILTER:
-        return getFilter();
+      case NAMES:
+        return getNames();
 
       }
       throw new IllegalStateException();
@@ -88267,8 +88119,8 @@ public class ThriftHiveMetastore {
         return isSetDb_name();
       case TBL_NAME:
         return isSetTbl_name();
-      case FILTER:
-        return isSetFilter();
+      case NAMES:
+        return isSetNames();
       }
       throw new IllegalStateException();
     }
@@ -88277,12 +88129,12 @@ public class ThriftHiveMetastore {
     public boolean equals(Object that) {
       if (that == null)
         return false;
-      if (that instanceof get_num_partitions_by_filter_args)
-        return this.equals((get_num_partitions_by_filter_args)that);
+      if (that instanceof get_partitions_by_names_args)
+        return this.equals((get_partitions_by_names_args)that);
       return false;
     }
 
-    public boolean equals(get_num_partitions_by_filter_args that) {
+    public boolean equals(get_partitions_by_names_args that) {
       if (that == null)
         return false;
 
@@ -88304,12 +88156,12 @@ public class ThriftHiveMetastore {
           return false;
       }
 
-      boolean this_present_filter = true && this.isSetFilter();
-      boolean that_present_filter = true && that.isSetFilter();
-      if (this_present_filter || that_present_filter) {
-        if (!(this_present_filter && that_present_filter))
+      boolean this_present_names = true && this.isSetNames();
+      boolean that_present_names = true && that.isSetNames();
+      if (this_present_names || that_present_names) {
+        if (!(this_present_names && that_present_names))
           return false;
-        if (!this.filter.equals(that.filter))
+        if (!this.names.equals(that.names))
           return false;
       }
 
@@ -88330,16 +88182,16 @@ public class ThriftHiveMetastore {
       if (present_tbl_name)
         list.add(tbl_name);
 
-      boolean present_filter = true && (isSetFilter());
-      list.add(present_filter);
-      if (present_filter)
-        list.add(filter);
+      boolean present_names = true && (isSetNames());
+      list.add(present_names);
+      if (present_names)
+        list.add(names);
 
       return list.hashCode();
     }
 
     @Override
-    public int compareTo(get_num_partitions_by_filter_args other) {
+    public int compareTo(get_partitions_by_names_args other) {
       if (!getClass().equals(other.getClass())) {
         return getClass().getName().compareTo(other.getClass().getName());
       }
@@ -88366,12 +88218,12 @@ public class ThriftHiveMetastore {
           return lastComparison;
         }
       }
-      lastComparison = Boolean.valueOf(isSetFilter()).compareTo(other.isSetFilter());
+      lastComparison = Boolean.valueOf(isSetNames()).compareTo(other.isSetNames());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetFilter()) {
-        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filter, other.filter);
+      if (isSetNames()) {
+        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.names, other.names);
         if (lastComparison != 0) {
           return lastComparison;
         }
@@ -88393,7 +88245,7 @@ public class ThriftHiveMetastore {
 
     @Override
     public String toString() {
-      StringBuilder sb = new StringBuilder("get_num_partitions_by_filter_args(");
+      StringBuilder sb = new StringBuilder("get_partitions_by_names_args(");
       boolean first = true;
 
       sb.append("db_name:");
@@ -88412,11 +88264,11 @@ public class ThriftHiveMetastore {
       }
       first = false;
       if (!first) sb.append(", ");
-      sb.append("filter:");
-      if (this.filter == null) {
+      sb.append("names:");
+      if (this.names == null) {
         sb.append("null");
       } else {
-        sb.append(this.filter);
+        sb.append(this.names);
       }
       first = false;
       sb.append(")");
@@ -88444,15 +88296,15 @@ public class ThriftHiveMetastore {
       }
     }
 
-    private static class get_num_partitions_by_filter_argsStandardSchemeFactory implements SchemeFactory {
-      public get_num_partitions_by_filter_argsStandardScheme getScheme() {
-        return new get_num_partitions_by_filter_argsStandardScheme();
+    private static class get_partitions_by_names_argsStandardSchemeFactory implements SchemeFactory {
+      public get_partitions_by_names_argsStandardScheme getScheme() {
+        return new get_partitions_by_names_argsStandardScheme();
       }
     }
 
-    private static class get_num_partitions_by_filter_argsStandardScheme extends StandardScheme<get_num_partitions_by_filter_args> {
+    private static class get_partitions_by_names_argsStandardScheme extends StandardScheme<get_partitions_by_names_args> {
 
-      public void read(org.apache.thrift.protocol.TProtocol iprot, get_num_partitions_by_filter_args struct) throws org.apache.thrift.TException {
+      public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
         org.apache.thrift.protocol.TField schemeField;
         iprot.readStructBegin();
         while (true)
@@ -88478,10 +88330,20 @@ public class ThriftHiveMetastore {
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
               break;
-            case 3: // FILTER
-              if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-                struct.filter = iprot.readString();
-                struct.setFilterIsSet(true);
+            case 3: // NAMES
+              if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+                {
+                  org.apache.thrift.protocol.TList _list918 = iprot.readListBegin();
+                  struct.names = new ArrayList<String>(_list918.size);
+                  String _elem919;
+                  for (int _i920 = 0; _i920 < _list918.size; ++_i920)
+                  {
+                    _elem919 = iprot.readString();
+                    struct.names.add(_elem919);
+                  }
+                  iprot.readListEnd();
+                }
+                struct.setNamesIsSet(true);
               } else { 
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
@@ -88495,7 +88357,7 @@ public class ThriftHiveMetastore {
         struct.validate();
       }
 
-      public void write(org.apache.thrift.protocol.TProtocol oprot, get_num_partitions_by_filter_args struct) throws org.apache.thrift.TException {
+      public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
         struct.validate();
 
         oprot.writeStructBegin(STRUCT_DESC);
@@ -88509,9 +88371,16 @@ public class ThriftHiveMetastore {
           oprot.writeString(struct.tbl_name);
           oprot.writeFieldEnd();
         }
-        if (struct.filter != null) {
-          oprot.writeFieldBegin(FILTER_FIELD_DESC);
-          oprot.writeString(struct.filter);
+        if (struct.names != null) {
+          oprot.writeFieldBegin(NAMES_FIELD_DESC);
+          {
+            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size()));
+            for (String _iter921 : struct.names)
+            {
+              oprot.writeString(_iter921);
+            }
+            oprot.writeListEnd();
+          }
           oprot.writeFieldEnd();
         }
         oprot.writeFieldStop();
@@ -88520,16 +88389,16 @@ public class ThriftHiveMetastore {
 
     }
 
-    private static class get_num_partitions_by_filter_argsTupleSchemeFactory implements SchemeFactory {
-      public get_num_partitions_by_filter_argsTupleScheme getScheme() {
-        return new get_num_partitions_by_filter_argsTupleScheme();
+    private static class get_partitions_by_names_argsTupleSchemeFactory implements SchemeFactory {
+      public get_partitions_by_names_argsTupleScheme getScheme() {
+        return new get_partitions_by_names_argsTupleScheme();
       }
     }
 
-    private static class get_num_partitions_by_filter_argsTupleScheme extends TupleScheme<get_num_partitions_by_filter_args> {
+    private static class get_partitions_by_names_argsTupleScheme extends TupleScheme<get_partitions_by_names_args> {
 
       @Override
-      public void write(org.apache.thrift.protocol.TProtocol prot, get_num_partitions_by_filter_args struct) throws org.apache.thrift.TException {
+      public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
         TTupleProtocol oprot = (TTupleProtocol) prot;
         BitSet optionals = new BitSet();
         if (struct.isSetDb_name()) {
@@ -88538,7 +88407,7 @@ public class ThriftHiveMetastore {
         if (struct.isSetTbl_name()) {
           optionals.set(1);
         }
-        if (struct.isSetFilter()) {
+        if (struct.isSetNames()) {
           optionals.set(2);
         }
         oprot.writeBitSet(optionals, 3);
@@ -88548,13 +88417,19 @@ public class ThriftHiveMetastore {
         if (struct.isSetTbl_name()) {
           oprot.writeString(struct.tbl_name);
         }
-        if (struct.isSetFilter()) {
-          oprot.writeString(struct.filter);
+        if (struct.isSetNames()) {
+          {
+            oprot.writeI32(struct.names.size());
+            for (String _iter922 : struct.names)
+            {
+              oprot.writeString(_iter922);
+            }
+          }
         }
       }
 
       @Override
-      public void read(org.apache.thrift.protocol.TProtocol prot, get_num_partitions_by_filter_args struct) throws org.apache.thrift.TException {
+      public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
         TTupleProtocol iprot = (TTupleProtocol) prot;
         BitSet incoming = iprot.readBitSet(3);
         if (incoming.get(0)) {
@@ -88566,28 +88441,37 @@ public class ThriftHiveMetastore {
           struct.setTbl_nameIsSet(true);
         }
         if (incoming.get(2)) {
-          struct.filter = iprot.readString();
-          struct.setFilterIsSet(true);
+          {
+            org.apache.thrift.protocol.TList _list923 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+            struct.names = new ArrayList<String>(_list923.size);
+            String _elem924;
+            for (int _i925 = 0; _i925 < _list923.size; ++_i925)
+            {
+              _elem924 = iprot.readString();
+              struct.names.add(_elem924);
+            }
+          }
+          struct.setNamesIsSet(true);
         }
       }
     }
 
   }
 
-  public static class get_num_partitions_by_filter_result implements org.apache.thrift.TBase<get_num_partitions_by_filter_result, get_num_partitions_by_filter_result._Fields>, java.io.Serializable, Cloneable, Comparable<get_num_partitions_by_filter_result>   {
-    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_num_partitions_by_filter_result");
+  public static class get_partitions_by_names_result implements org.apache.thrift.TBase<get_partitions_by_names_result, get_partitions_by_names_result._Fields>, java.io.Serializable, Cloneable, Comparable<get_partitions_by_names_result>   {
+    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_by_names_result");
 
-    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I32, (short)0);
+    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
     private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1);
     private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2);
 
     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
     static {
-      schemes.put(StandardScheme.class, new get_num_partitions_by_filter_resultStandardSchemeFactory());
-      schemes.put(TupleScheme.class, new get_num_partitions_by_filter_resultTupleSchemeFactory());
+      schemes.put(StandardScheme.class, new get_partitions_by_names_resultStandardSchemeFactory());
+      schemes.put(TupleScheme.class, new get_partitions_by_names_resultTupleSchemeFactory());
     }
 
-    private int success; // required
+    private List<Partition> success; // required
     private MetaException o1; // required
     private NoSuchObjectException o2; // required
 
@@ -88656,32 +88540,30 @@ public class ThriftHiveMetastore {
     }
 
     // isset id assignments
-    private static final int __SUCCESS_ISSET_ID = 0;
-    private byte __isset_bitfield = 0;
     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
     static {
       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
+          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
+              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Partition.class))));
       tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, 
           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
       tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, 
           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
       metaDataMap = Collections.unmodifiableMap(tmpMap);
-      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_num_partitions_by_filter_result.class, metaDataMap);
+      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_by_names_result.class, metaDataMap);
     }
 
-    public get_num_partitions_by_filter_result() {
+    public get_partitions_by_names_result() {
     }
 
-    public get_num_partitions_by_filter_result(
-      int success,
+    public get_partitions_by_names_result(
+      List<Partition> success,
       MetaException o1,
       NoSuchObjectException o2)
     {
       this();
       this.success = success;
-      setSuccessIsSet(true);
       this.o1 = o1;
       this.o2 = o2;
     }
@@ -88689,9 +88571,14 @@ public class ThriftHiveMetastore {
     /**
      * Performs a deep copy on <i>other</i>.
      */
-    public get_num_partitions_by_filter_result(get_num_partitions_by_filter_result other) {
-      __isset_bitfield = other.__isset_bitfield;
-      this.success = other.success;
+    public get_partitions_by_names_result(get_partitions_by_names_result other) {
+      if (other.isSetSuccess()) {
+        List<Partition> __this__success = new ArrayList<Partition>(other.success.size());
+        for (Partition other_element : other.success) {
+          __this__success.add(new Partition(other_element));
+        }
+        this.success = __this__success;
+      }
       if (other.isSetO1()) {
         this.o1 = new MetaException(other.o1);
       }
@@ -88700,38 +88587,53 @@ public class ThriftHiveMetastore {
       }
     }
 
-    public get_num_partitions_by_filter_result deepCopy() {
-      return new get_num_partitions_by_filter_result(this);
+    public get_partitions_by_names_result deepCopy() {
+      return new get_partitions_by_names_result(this);
     }
 
     @Override
     public void clear() {
-      setSuccessIsSet(false);
-      this.success = 0;
+      this.success = null;
       this.o1 = null;
       this.o2 = null;
     }
 
-    public int getSuccess() {
+    public int getSuccessSize() {
+      return (this.success == null) ? 0 : this.success.size();
+    }
+
+    public java.util.Iterator<Partition> getSuccessIterator() {
+      return (this.success == null) ? null : this.success.iterator();
+    }
+
+    public void addToSuccess(Partition elem) {
+      if (this.success == null) {
+        this.success = new ArrayList<Partition>();
+      }
+      this.success.add(elem);
+    }
+
+    public List<Partition> getSuccess() {
       return this.success;
     }
 
-    public void setSuccess(int success) {
+    public void setSuccess(List<Partition> success) {
       this.success = success;
-      setSuccessIsSet(true);
     }
 
     public void unsetSuccess() {
-      __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID);
+      this.success = null;
     }
 
     /** Returns true if field success is set (has been assigned a value) and false otherwise */
     public boolean isSetSuccess() {
-      return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID);
+      return this.success != null;
     }
 
     public void setSuccessIsSet(boolean value) {
-      __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value);
+      if (!value) {
+        this.success = null;
+      }
     }
 
     public MetaException getO1() {
@@ -88786,7 +88688,7 @@ public class ThriftHiveMetastore {
         if (value == null) {
           unsetSuccess();
         } else {
-          setSuccess((Integer)value);
+          setSuccess((List<Partition>)value);
         }
         break;
 
@@ -88812,7 +88714,7 @@ public class ThriftHiveMetastore {
     public Object getFieldValue(_Fields field) {
       switch (field) {
       case SUCCESS:
-        return Integer.valueOf(getSuccess());
+        return getSuccess();
 
       case O1:
         return getO1();
@@ -88845,21 +88747,21 @@ public class ThriftHiveMetastore {
     public boolean equals(Object that) {
       if (that == null)
         return false;
-      if (that instanceof get_num_partitions_by_filter_result)
-        return this.equals((get_num_partitions_by_filter_result)that);
+      if (that instanceof get_partitions_by_names_result)
+        return this.equals((get_partitions_by_names_result)that);
       return false;
     }
 
-    public boolean equals(get_num_partitions_by_filter_result that) {
+    public boolean equals(get_partitions_by_names_result that) {
       if (that == null)
         return false;
 
-      boolean this_present_success = true;
-      boolean that_present_success = true;
+      boolean this_present_success = true && this.isSetSuccess();
+      boolean that_present_success = true && that.isSetSuccess();
       if (this_present_success || that_present_success) {
         if (!(this_present_success && that_present_success))
           return false;
-        if (this.success != that.success)
+        if (!this.success.equals(that.success))
           return false;
       }
 
@@ -88888,7 +88790,7 @@ public class ThriftHiveMetastore {
     public int hashCode() {
       List<Object> list = new ArrayList<Object>();
 
-      boolean present_success = true;
+      boolean present_success = true && (isSetSuccess());
       list.add(present_success);
       if (present_success)
         list.add(success);
@@ -88907,7 +88809,7 @@ public class ThriftHiveMetastore {
     }
 
     @Override
-    public int compareTo(get_num_partitions_by_filter_result other) {
+    public int compareTo(get_partitions_by_names_result other) {
       if (!getClass().equals(other.getClass())) {
         return getClass().getName().compareTo(other.getClass().getName());
       }
@@ -88961,11 +88863,15 @@ public class ThriftHiveMetastore {
 
     @Override
     public String toString() {
-      StringBuilder sb = new StringBuilder("get_num_partitions_by_filter_result(");
+      StringBuilder sb = new StringBuilder("get_partitions_by_names_result(");
       boolean first = true;
 
       sb.append("success:");
-      sb.append(this.success);
+      if (this.success == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.success);
+      }
       first = false;
       if (!first) sb.append(", ");
       sb.append("o1:");
@@ -89002,23 +88908,21 @@ public class ThriftHiveMetastore {
 
     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
       try {
-        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-        __isset_bitfield = 0;
         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
       } catch (org.apache.thrift.TException te) {
         throw new java.io.IOException(te);
       }
     }
 
-    private static class get_num_partitions_by_filter_resultStandardSchemeFactory implements SchemeFactory {
-      public get_num_partitions_by_filter_resultStandardScheme getScheme() {
-        return new get_num_partitions_by_filter_resultStandardScheme();
+    private static class get_partitions_by_names_resultStandardSchemeFactory implements SchemeFactory {
+      public get_partitions_by_names_resultStandardScheme getScheme() {
+        return new get_partitions_by_names_resultStandardScheme();
       }
     }
 
-    private static class get_num_partitions_by_filter_resultStandardScheme extends StandardScheme<get_num_partitions_by_filter_result> {
+    private static class get_partitions_by_names_resultStandardScheme extends StandardScheme<get_partitions_by_names_result> {
 
-      public void read(org.apache.thrift.protocol.TProtocol iprot, get_num_partitions_by_filter_result struct) throws org.apache.thrift.TException {
+      public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_names_result struct) throws org.apache.thrift.TException {
         org.apache.thrift.protocol.TField schemeField;
         iprot.readStructBegin();
         while (true)
@@ -89029,8 +88933,19 @@ public class ThriftHiveMetastore {
           }
           switch (schemeField.id) {
             case 0: // SUCCESS
-              if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-                struct.success = iprot.readI32();
+              if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+                {
+                  org.apache.thrift.protocol.TList _list926 = iprot.readListBegin();
+                  struct.success = new ArrayList<Partition>(_list926.size);
+                  Partition _elem927;
+                  for (int _i928 = 0; _i928 < _list926.size; ++_i928)
+                  {
+                    _elem927 = new Partition();
+                    _elem927.read(iprot);
+                    struct.success.add(_elem927);
+                  }
+                  iprot.readListEnd();
+                }
                 struct.setSuccessIsSet(true);
               } else { 
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@@ -89063,13 +88978,20 @@ public class ThriftHiveMetastore {
         struct.validate();
       }
 
-      public void write(org.apache.thrift.protocol.TProtocol oprot, get_num_partitions_by_filter_result struct) throws org.apache.thrift.TException {
+      public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_names_result struct) throws org.apache.thrift.TException {
         struct.validate();
 
         oprot.writeStructBegin(STRUCT_DESC);
-        if (struct.isSetSuccess()) {
+        if (struct.success != null) {
           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-          oprot.writeI32(struct.success);
+          {
+            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
+            for (Partition _iter929 : struct.success)
+            {
+              _iter929.write(oprot);
+            }
+            oprot.writeListEnd();
+          }
           oprot.writeFieldEnd();
         }
         if (struct.o1 != null) {
@@ -89088,16 +89010,16 @@ public class ThriftHiveMetastore {
 
     }
 
-    private static class get_num_partitions_by_filter_resultTupleSchemeFactory implements SchemeFactory {
-      public get_num_partitions_by_filter_resultTupleScheme getScheme() {
-        return new get_num_partitions_by_filter_resultTupleScheme();
+    private static class get_partitions_by_names_resultTupleSchemeFactory implements SchemeFactory {
+      public get_partitions_by_names_resultTupleScheme getScheme() {
+        return new get_partitions_by_names_resultTupleScheme();
       }
     }
 
-    private static class get_num_partitions_by_filter_resultTupleScheme extends TupleScheme<get_num_partitions_by_filter_result> {
+    private static class get_partitions_by_names_resultTupleScheme extends TupleScheme<get_partitions_by_names_result> {
 
       @Override
-      public void write(org.apache.thrift.protocol.TProtocol prot, get_num_partitions_by_filter_result struct) throws org.apache.thrift.TException {
+      public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_names_result struct) throws org.apache.thrift.TException {
         TTupleProtocol oprot = (TTupleProtocol) prot;
         BitSet optionals = new BitSet();
         if (struct.isSetSuccess()) {
@@ -89111,7 +89033,13 @@ public class ThriftHiveMetastore {
         }
         oprot.writeBitSet(optionals, 3);
         if (struct.isSetSuccess()) {
-          oprot.writeI32(struct.success);
+          {
+            oprot.writeI32(struct.success.size());
+            for (Partition _iter930 : struct.success)
+            {
+              _iter930.write(oprot);
+            }
+          }
         }
         if (struct.isSetO1()) {
           struct.o1.write(oprot);
@@ -89122,11 +89050,21 @@ public class ThriftHiveMetastore {
       }
 
       @Override
-      public void read(org.apache.thrift.protocol.TProtocol prot, get_num_partitions_by_filter_result struct) throws org.apache.thrift.TException {
+      public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_names_result struct) throws org.apache.thrift.TException {
         TTupleProtocol iprot = (TTupleProtocol) prot;
         BitSet incoming = iprot.readBitSet(3);
         if (incoming.get(0)) {
-          struct.success = iprot.readI32();
+          {
+            org.apache.thrift.protocol.TList _list931 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+            struct.success = new ArrayList<Partition>(_list931.size);
+            Partition _elem932;
+            for (int _i933 = 0; _i933 < _list931.size; ++_i933)
+            {
+              _elem932 = new Partition();
+              _elem932.read(iprot);
+              struct.success.add(_elem932);
+            }
+          }
           struct.setSuccessIsSet(true);
         }
         if (incoming.get(1)) {
@@ -89144,28 +89082,28 @@ public class ThriftHiveMetastore {
 
   }
 
-  public static class get_partitions_by_names_args implements org.apache.thrift.TBase<get_partitions_by_names_args, get_partitions_by_names_args._Fields>, java.io.Serializable, Cloneable, Comparable<get_partitions_by_names_args>   {
-    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_by_names_args");
+  public static class alter_partition_args implements org.apache.thrift.TBase<alter_partition_args, alter_partition_args._Fields>, java.io.Serializable, Cloneable, Comparable<alter_partition_args>   {
+    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_partition_args");
 
     private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1);
     private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2);
-    private static final org.apache.thrift.protocol.TField NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("names", org.apache.thrift.protocol.TType.LIST, (short)3);
+    private static final org.apache.thrift.protocol.TField NEW_PART_FIELD_DESC = new org.apache.thrift.protocol.TField("new_part", org.apache.thrift.protocol.TType.STRUCT, (short)3);
 
     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
     static {
-      schemes.put(StandardScheme.class, new get_partitions_by_names_argsStandardSchemeFactory());
-      schemes.put(TupleScheme.class, new get_partitions_by_names_argsTupleSchemeFactory());
+      schemes.put(StandardScheme.class, new alter_partition_argsStandardSchemeFactory());
+      schemes.put(TupleScheme.class, new alter_partition_argsTupleSchemeFactory());
     }
 
     private String db_name; // required
     private String tbl_name; // required
-    private List<String> names; // required
+    private Partition new_part; // required
 
     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
     public enum _Fields implements org.apache.thrift.TFieldIdEnum {
       DB_NAME((short)1, "db_name"),
       TBL_NAME((short)2, "tbl_name"),
-      NAMES((short)3, "names");
+      NEW_PART((short)3, "new_part");
 
       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -89184,8 +89122,8 @@ public class ThriftHiveMetastore {
             return DB_NAME;
           case 2: // TBL_NAME
             return TBL_NAME;
-          case 3: // NAMES
-            return NAMES;
+          case 3: // NEW_PART
+            return NEW_PART;
           default:
             return null;
         }
@@ -89233,52 +89171,50 @@ public class ThriftHiveMetastore {
           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
       tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, 
           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-      tmpMap.put(_Fields.NAMES, new org.apache.thrift.meta_data.FieldMetaData("names", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
+      tmpMap.put(_Fields.NEW_PART, new org.apache.thrift.meta_data.FieldMetaData("new_part", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Partition.class)));
       metaDataMap = Collections.unmodifiableMap(tmpMap);
-      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_by_names_args.class, metaDataMap);
+      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(alter_partition_args.class, metaDataMap);
     }
 
-    public get_partitions_by_names_args() {
+    public alter_partition_args() {
     }
 
-    public get_partitions_by_names_args(
+    public alter_partition_args(
       String db_name,
       String tbl_name,
-      List<String> names)
+      Partition new_part)
     {
       this();
       this.db_name = db_name;
       this.tbl_name = tbl_name;
-      this.names = names;
+      this.new_part = new_part;
     }
 
     /**
      * Performs a deep copy on <i>other</i>.
      */
-    public get_partitions_by_names_args(get_partitions_by_names_args other) {
+    public alter_partition_args(alter_partition_args other) {
       if (other.isSetDb_name()) {
         this.db_name = other.db_name;
       }
       if (other.isSetTbl_name()) {
         this.tbl_name = other.tbl_name;
       }
-      if (other.isSetNames()) {
-        List<String> __this__names = new ArrayList<String>(other.names);
-        this.names = __this__names;
+      if (other.isSetNew_part()) {
+        this.new_part = new Partition(other.new_part);
       }
     }
 
-    public get_partitions_by_names_args deepCopy() {
-      return new get_partitions_by_names_args(this);
+    public alter_partition_args deepCopy() {
+      return new alter_partition_args(this);
     }
 
     @Override
     public void clear() {
       this.db_name = null;
       this.tbl_name = null;
-      this.names = null;
+      this.new_part = null;
     }
 
     public String getDb_name() {
@@ -89327,41 +89263,26 @@ public class ThriftHiveMetastore {
       }
     }
 
-    public int getNamesSize() {
-      return (this.names == null) ? 0 : this.names.size();
-    }
-
-    public java.util.Iterator<String> getNamesIterator() {
-      return (this.names == null) ? null : this.names.iterator();
-    }
-
-    public void addToNames(String elem) {
-      if (this.names == null) {
-        this.names = new ArrayList<String>();
-      }
-      this.names.add(elem);
-    }
-
-    public List<String> getNames() {
-      return this.names;
+    public Partition getNew_part() {
+      return this.new_part;
     }
 
-    public void setNames(List<String> names) {
-      this.names = names;
+    public void setNew_part(Partition new_part) {
+      this.new_part = new_part;
     }
 
-    public void unsetNames() {
-      this.names = null;
+    public void unsetNew_part() {
+      this.new_part = null;
     }
 
-    /** Returns true if field names is set (has been assigned a value) and false otherwise */
-    public boolean isSetNames() {
-      return this.names != null;
+    /** Returns true if field new_part is set (has been assigned a value) and false otherwise */
+    public boolean isSetNew_part() {
+      return this.new_part != null;
     }
 
-    public void setNamesIsSet(boolean value) {
+    public void setNew_partIsSet(boolean value) {
       if (!value) {
-        this.names = null;
+        this.new_part = null;
       }
     }
 
@@ -89383,11 +89304,11 @@ public class ThriftHiveMetastore {
         }
         break;
 
-      case NAMES:
+      case NEW_PART:
         if (value == null) {
-          unsetNames();
+          unsetNew_part();
         } else {
-          setNames((List<String>)value);
+          setNew_part((Partition)value);
         }
         break;
 
@@ -89402,8 +89323,8 @@ public class ThriftHiveMetastore {
       case TBL_NAME:
         return getTbl_name();
 
-      case NAMES:
-        return getNames();
+      case NEW_PART:
+        return getNew_part();
 
       }
       throw new IllegalStateException();
@@ -89420,8 +89341,8 @@ public class ThriftHiveMetastore {
         return isSetDb_name();
       case TBL_NAME:
         return isSetTbl_name();
-      case NAMES:
-        return isSetNames();
+      case NEW_PART:
+        return isSetNew_part();
       }
       throw new IllegalStateException();
     }
@@ -89430,12 +89351,12 @@ public class ThriftHiveMetastore {
     public boolean equals(Object that) {
       if (that == null)
         return false;
-      if (that instanceof get_partitions_by_names_args)
-        return this.equals((get_partitions_by_names_args)that);
+      if (that instanceof alter_partition_args)
+        return this.equals((alter_partition_args)that);
       return false;
     }
 
-    public boolean equals(get_partitions_by_names_args that) {
+    public boolean equals(alter_partition_args that) {
       if (that == null)
         return false;
 
@@ -89457,12 +89378,12 @@ public class ThriftHiveMetastore {
           return false;
       }
 
-      boolean this_present_names = true && this.isSetNames();
-      boolean that_present_names = true && that.isSetNames();
-      if (this_present_names || that_present_names) {
-        if (!(this_present_names && that_present_names))
+      boolean this_present_new_part = true && this.isSetNew_part();
+      boolean that_present_new_part = true && that.isSetNew_part();
+      if (this_present_new_part || that_present_new_part) {
+        if (!(this_present_new_part && that_present_new_part))
           return false;
-        if (!this.names.equals(that.names))
+        if (!this.new_part.equals(that.new_part))
           return false;
       }
 
@@ -89483,16 +89404,16 @@ public class ThriftHiveMetastore {
       if (present_tbl_name)
         list.add(tbl_name);
 
-      boolean present_names = true && (isSetNames());
-      list.add(present_names);
-      if (present_names)
-        list.add(names);
+      boolean present_new_part = true && (isSetNew_part());
+      list.add(present_new_part);
+      if (present_new_part)
+        list.add(new_part);
 
       return list.hashCode();
     }
 
     @Override
-    public int compareTo(get_partitions_by_names_args other) {
+    public int compareTo(alter_partition_args other) {
       if (!getClass().equals(other.getClass())) {
         return getClass().getName().compareTo(other.getClass().getName());
       }
@@ -89519,12 +89440,12 @@ public class ThriftHiveMetastore {
           return lastComparison;
         }
       }
-      lastComparison = Boolean.valueOf(isSetNames()).compareTo(other.isSetNames());
+      lastComparison = Boolean.valueOf(isSetNew_part()).compareTo(other.isSetNew_part());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetNames()) {
-        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.names, other.names);
+      if (isSetNew_part()) {
+        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_part, other.new_part);
         if (lastComparison != 0) {
           return lastComparison;
         }
@@ -89546,7 +89467,7 @@ public class ThriftHiveMetastore {
 
     @Override
     public String toString() {
-      StringBuilder sb = new StringBuilder("get_partitions_by_names_args(");
+      StringBuilder sb = new StringBuilder("alter_partition_args(");
       boolean first = true;
 
       sb.append("db_name:");
@@ -89565,11 +89486,11 @@ public class ThriftHiveMetastore {
       }
       first = false;
       if (!first) sb.append(", ");
-      sb.append("names:");
-      if (this.names == null) {
+      sb.append("new_part:");
+      if (this.new_part == null) {
         sb.append("null");
       } else {
-        sb.append(this.names);
+        sb.append(this.new_part);
       }
       first = false;
       sb.append(")");
@@ -89579,6 +89500,9 @@ public class ThriftHiveMetastore {
     public void validate() throws org.apache.thrift.TException {
       // check for required fields
       // check for sub-struct validity
+      if (new_part != null) {
+        new_part.validate();
+      }
     }
 
     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -89597,15 +89521,15 @@ public class ThriftHiveMetastore {
       }
     }
 
-    private static class get_partitions_by_names_argsStandardSchemeFactory implements SchemeFactory {
-      public get_partitions_by_names_argsStandardScheme getScheme() {
-        return new get_partitions_by_names_argsStandardScheme();
+    private static class alter_partition_argsStandardSchemeFactory implements SchemeFactory {
+      public alter_partition_argsStandardScheme getScheme() {
+        return new alter_partition_argsStandardScheme();
       }
     }
 
-    private static class get_partitions_by_names_argsStandardScheme extends StandardScheme<get_partitions_by_names_args> {
+    private static class alter_partition_argsStandardScheme extends StandardScheme<alter_partition_args> {
 
-      public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
+      public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partition_args struct) throws org.apache.thrift.TException {
         org.apache.thrift.protocol.TField schemeField;
         iprot.readStructBegin();
         while (true)
@@ -89631,20 +89555,11 @@ public class ThriftHiveMetastore {
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
               break;
-            case 3: // NAMES
-              if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-                {
-                  org.apache.thrift.protocol.TList _list918 = iprot.readListBegin();
-                  struct.names = new ArrayList<String>(_list918.size);
-                  String _elem919;
-                  for (int _i920 = 0; _i920 < _list918.size; ++_i920)
-                  {
-                    _elem919 = iprot.readString();
-                    struct.names.add(_elem919);
-                  }
-                  iprot.readListEnd();
-                }
-                struct.setNamesIsSet(true);
+            case 3: // NEW_PART
+              if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+                struct.new_part = new Partition();
+                struct.new_part.read(iprot);
+                struct.setNew_partIsSet(true);
               } else { 
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
@@ -89658,7 +89573,7 @@ public class ThriftHiveMetastore {
         struct.validate();
       }
 
-      public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
+      public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partition_args struct) throws org.apache.thrift.TException {
         struct.validate();
 
         oprot.writeStructBegin(STRUCT_DESC);
@@ -89672,16 +89587,9 @@ public class ThriftHiveMetastore {
           oprot.writeString(struct.tbl_name);
           oprot.writeFieldEnd();
         }
-        if (struct.names != null) {
-          oprot.writeFieldBegin(NAMES_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size()));
-            for (String _iter921 : struct.names)
-            {
-              oprot.writeString(_iter921);
-            }
-            oprot.writeListEnd();
-          }
+        if (struct.new_part != null) {
+          oprot.writeFieldBegin(NEW_PART_FIELD_DESC);
+          struct.new_part.write(oprot);
           oprot.writeFieldEnd();
         }
         oprot.writeFieldStop();
@@ -89690,16 +89598,16 @@ public class ThriftHiveMetastore {
 
     }
 
-    private static class get_partitions_by_names_argsTupleSchemeFactory implements SchemeFactory {
-      public get_partitions_by_names_argsTupleScheme getScheme() {
-        return new get_partitions_by_names_argsTupleScheme();
+    private static class alter_partition_argsTupleSchemeFactory implements SchemeFactory {
+      public alter_partition_argsTupleScheme getScheme() {
+        return new alter_partition_argsTupleScheme();
       }
     }
 
-    private static class get_partitions_by_names_argsTupleScheme extends TupleScheme<get_partitions_by_names_args> {
+    private static class alter_partition_argsTupleScheme extends TupleScheme<alter_partition_args> {
 
       @Override
-      public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
+      public void write(org.apache.thrift.protocol.TProtocol prot, alter_partition_args struct) throws org.apache.thrift.TException {
         TTupleProtocol oprot = (TTupleProtocol) prot;
         BitSet optionals = new BitSet();
         if (struct.isSetDb_name()) {
@@ -89708,7 +89616,7 @@ public class ThriftHiveMetastore {
         if (struct.isSetTbl_name()) {
           optionals.set(1);
         }
-        if (struct.isSetNames()) {
+        if (struct.isSetNew_part()) {
           optionals.set(2);
         }
         oprot.writeBitSet(optionals, 3);
@@ -89718,19 +89626,13 @@ public class ThriftHiveMetastore {
         if (struct.isSetTbl_name()) {
           oprot.writeString(struct.tbl_name);
         }
-        if (struct.isSetNames()) {
-          {
-            oprot.writeI32(struct.names.size());
-            for (String _iter922 : struct.names)
-            {
-              oprot.writeString(_iter922);
-            }
-          }
+        if (struct.isSetNew_part()) {
+          struct.new_part.write(oprot);
         }
       }
 
       @Override
-      public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
+      public void read(org.apache.thrift.protocol.TProtocol prot, alter_partition_args struct) throws org.apache.thrift.TException {
         TTupleProtocol iprot = (TTupleProtocol) prot;
         BitSet incoming = iprot.readBitSet(3);
         if (incoming.get(0)) {
@@ -89742,43 +89644,32 @@ public class ThriftHiveMetastore {
           struct.setTbl_nameIsSet(true);
         }
         if (incoming.get(2)) {
-          {
-            org.apache.thrift.protocol.TList _list923 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
-            struct.names = new ArrayList<String>(_list923.size);
-            String _elem924;
-            for (int _i925 = 0; _i925 < _list923.size; ++_i925)
-            {
-              _elem924 = iprot.readString();
-              struct.names.add(_elem924);
-            }
-          }
-          struct.setNamesIsSet(true);
+          struct.new_part = new Partition();
+          struct.new_part.read(iprot);
+          struct.setNew_partIsSet(true);
         }
       }
     }
 
   }
 
-  public static class get_partitions_by_names_result implements org.apache.thrift.TBase<get_partitions_by_names_result, get_partitions_by_names_result._Fields>, java.io.Serializable, Cloneable, Comparable<get_partitions_by_names_result>   {
-    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_by_names_result");
+  public static class alter_partition_result implements org.apache.thrift.TBase<alter_partition_result, alter_partition_result._Fields>, java.io.Serializable, Cloneable, Comparable<alter_partition_result>   {
+    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_partition_result");
 
-    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
     private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1);
     private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2);
 
     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
     static {
-      schemes.put(StandardScheme.class, new get_partitions_by_names_resultStandardSchemeFactory());
-      schemes.put(TupleScheme.class, new get_partitions_by_names_resultTupleSchemeFactory());
+      schemes.put(StandardScheme.class, new alter_partition_resultStandardSchemeFactory());
+      schemes.put(TupleScheme.class, new alter_partition_resultTupleSchemeFactory());
     }
 
-    private List<Partition> success; // required
-    private MetaException o1; // required
-    private NoSuchObjectException o2; // required
+    private InvalidOperationException o1; // required
+    private MetaException o2; // required
 
     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
     public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-      SUCCESS((short)0, "success"),
       O1((short)1, "o1"),
       O2((short)2, "o2");
 
@@ -89795,8 +89686,6 @@ public class ThriftHiveMetastore {
        */
       public static _Fields findByThriftId(int fieldId) {
         switch(fieldId) {
-          case 0: // SUCCESS
-            return SUCCESS;
           case 1: // O1
             return O1;
           case 2: // O2
@@ -89844,27 +89733,22 @@ public class ThriftHiveMetastore {
     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
     static {
       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Partition.class))));
       tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, 
           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
       tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, 
           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
       metaDataMap = Collections.unmodifiableMap(tmpMap);
-      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_by_names_result.class, metaDataMap);
+      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(alter_partition_result.class, metaDataMap);
     }
 
-    public get_partitions_by_names_result() {
+    public alter_partition_result() {
     }
 
-    public get_partitions_by_names_result(
-      List<Partition> success,
-      MetaException o1,
-      NoSuchObjectException o2)
+    public alter_partition_result(
+      InvalidOperationException o1,
+      MetaException o2)
     {
       this();
-      this.success = success;
       this.o1 = o1;
       this.o2 = o2;
     }
@@ -89872,76 +89756,30 @@ public class ThriftHiveMetastore {
     /**
      * Performs a deep copy on <i>other</i>.
      */
-    public get_partitions_by_names_result(get_partitions_by_names_result other) {
-      if (other.isSetSuccess()) {
-        List<Partition> __this__success = new ArrayList<Partition>(other.success.size());
-        for (Partition other_element : other.success) {
-          __this__success.add(new Partition(other_element));
-        }
-        this.success = __this__success;
-      }
+    public alter_partition_result(alter_partition_result other) {
       if (other.isSetO1()) {
-        this.o1 = new MetaException(other.o1);
+        this.o1 = new InvalidOperationException(other.o1);
       }
       if (other.isSetO2()) {
-        this.o2 = new NoSuchObjectException(other.o2);
+        this.o2 = new MetaException(other.o2);
       }
     }
 
-    public get_partitions_by_names_result deepCopy() {
-      return new get_partitions_by_names_result(this);
+    public alter_partition_result deepCopy() {
+      return new alter_partition_result(this);
     }
 
     @Override
     public void clear() {
-      this.success = null;
       this.o1 = null;
       this.o2 = null;
     }
 
-    public int getSuccessSize() {
-      return (this.success == null) ? 0 : this.success.size();
-    }
-
-    public java.util.Iterator<Partition> getSuccessIterator() {
-      return (this.success == null) ? null : this.success.iterator();
-    }
-
-    public void addToSuccess(Partition elem) {
-      if (this.success == null) {
-        this.success = new ArrayList<Partition>();
-      }
-      this.success.add(elem);
-    }
-
-    public List<Partition> getSuccess() {
-      return this.success;
-    }
-
-    public void setSuccess(List<Partition> success) {
-      this.success = success;
-    }
-
-    public void unsetSuccess() {
-      this.success = null;
-    }
-
-    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-    public boolean isSetSuccess() {
-      return this.success != null;
-    }
-
-    public void setSuccessIsSet(boolean value) {
-      if (!value) {
-        this.success = null;
-      }
-    }
-
-    public MetaException getO1() {
+    public InvalidOperationException getO1() {
       return this.o1;
     }
 
-    public void setO1(MetaException o1) {
+    public void setO1(InvalidOperationException o1) {
       this.o1 = o1;
     }
 
@@ -89960,11 +89798,11 @@ public class ThriftHiveMetastore {
       }
     }
 
-    public NoSuchObjectException getO2() {
+    public MetaException getO2() {
       return this.o2;
     }
 
-    public void setO2(NoSuchObjectException o2) {
+    public void setO2(MetaException o2) {
       this.o2 = o2;
     }
 
@@ -89985,19 +89823,11 @@ public class ThriftHiveMetastore {
 
     public void setFieldValue(_Fields field, Object value) {
       switch (field) {
-      case SUCCESS:
-        if (value == null) {
-          unsetSuccess();
-        } else {
-          setSuccess((List<Partition>)value);
-        }
-        break;
-
       case O1:
         if (value == null) {
           unsetO1();
         } else {
-          setO1((MetaException)value);
+          setO1((InvalidOperationException)value);
         }
         break;
 
@@ -90005,7 +89835,7 @@ public class ThriftHiveMetastore {
         if (value == null) {
           unsetO2();
         } else {
-          setO2((NoSuchObjectException)value);
+          setO2((MetaException)value);
         }
         break;
 
@@ -90014,9 +89844,6 @@ public class ThriftHiveMetastore {
 
     public Object getFieldValue(_Fields field) {
       switch (field) {
-      case SUCCESS:
-        return getSuccess();
-
       case O1:
         return getO1();
 
@@ -90034,8 +89861,6 @@ public class ThriftHiveMetastore {
       }
 
       switch (field) {
-      case SUCCESS:
-        return isSetSuccess();
       case O1:
         return isSetO1();
       case O2:
@@ -90048,24 +89873,15 @@ public class ThriftHiveMetastore {
     public boolean equals(Object that) {
       if (that == null)
         return false;
-      if (that instanceof get_partitions_by_names_result)
-        return this.equals((get_partitions_by_names_result)that);
+      if (that instanceof alter_partition_result)
+        return this.equals((alter_partition_result)that);
       return false;
     }
 
-    public boolean equals(get_partitions_by_names_result that) {
+    public boolean equals(alter_partition_result that) {
       if (that == null)
         return false;
 
-      boolean this_present_success = true && this.isSetSuccess();
-      boolean that_present_success = true && that.isSetSuccess();
-      if (this_present_success || that_present_success) {
-        if (!(this_present_success && that_present_success))
-          return false;
-        if (!this.success.equals(that.success))
-          return false;
-      }
-
       boolean this_present_o1 = true && this.isSetO1();
       boolean that_present_o1 = true && that.isSetO1();
       if (this_present_o1 || that_present_o1) {
@@ -90091,11 +89907,6 @@ public class ThriftHiveMetastore {
     public int hashCode() {
       List<Object> list = new ArrayList<Object>();
 
-      boolean present_success = true && (isSetSuccess());
-      list.add(present_success);
-      if (present_success)
-        list.add(success);
-
       boolean present_o1 = true && (isSetO1());
       list.add(present_o1);
       if (present_o1)
@@ -90110,23 +89921,13 @@ public class ThriftHiveMetastore {
     }
 
     @Override
-    public int compareTo(get_partitions_by_names_result other) {
+    public int compareTo(alter_partition_result other) {
       if (!getClass().equals(other.getClass())) {
         return getClass().getName().compareTo(other.getClass().getName());
       }
 
       int lastComparison = 0;
 
-      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess());
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-      if (isSetSuccess()) {
-        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success);
-        if (lastComparison != 0) {
-          return lastComparison;
-        }
-      }
       lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1());
       if (lastComparison != 0) {
         return lastComparison;
@@ -90164,17 +89965,9 @@ public class ThriftHiveMetastore {
 
     @Override
     public String toString() {
-      StringBuilder sb = new StringBuilder("get_partitions_by_names_result(");
+      StringBuilder sb = new StringBuilder("alter_partition_result(");
       boolean first = true;
 
-      sb.append("success:");
-      if (this.success == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.success);
-      }
-      first = false;
-      if (!first) sb.append(", ");
       sb.append("o1:");
       if (this.o1 == null) {
         sb.append("null");
@@ -90215,15 +90008,15 @@ public class ThriftHiveMetastore {
       }
     }
 
-    private static class get_partitions_by_names_resultStandardSchemeFactory implements SchemeFactory {
-      public get_partitions_by_names_resultStandardScheme getScheme() {
-        return new get_partitions_by_names_resultStandardScheme();
+    private static class alter_partition_resultStandardSchemeFactory implements SchemeFactory {
+      public alter_partition_resultStandardScheme getScheme() {
+        return new alter_partition_resultStandardScheme();
       }
     }
 
-    private static class get_partitions_by_names_resultStandardScheme extends StandardScheme<get_partitions_by_names_result> {
+    private static class alter_partition_resultStandardScheme extends StandardScheme<alter_partition_result> {
 
-      public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_names_result struct) throws org.apache.thrift.TException {
+      public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partition_result struct) throws org.apache.thrift.TException {
         org.apache.thrift.protocol.TField schemeField;
         iprot.readStructBegin();
         while (true)
@@ -90233,28 +90026,9 @@ public class ThriftHiveMetastore {
             break;
           }
           switch (schemeField.id) {
-            case 0: // SUCCESS
-              if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-                {
-                  org.apache.thrift.protocol.TList _list926 = iprot.readListBegin();
-                  struct.success = new ArrayList<Partition>(_list926.size);
-                  Partition _elem927;
-                  for (int _i928 = 0; _i928 < _list926.size; ++_i928)
-                  {
-                    _elem927 = new Partition();
-                    _elem927.read(iprot);
-                    struct.success.add(_elem927);
-                  }
-                  iprot.readListEnd();
-                }
-                struct.setSuccessIsSet(true);
-              } else { 
-                org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-              }
-              break;
             case 1: // O1
               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-                struct.o1 = new MetaException();
+                struct.o1 = new InvalidOperationException();
                 struct.o1.read(iprot);
                 struct.setO1IsSet(true);
               } else { 
@@ -90263,7 +90037,7 @@ public class ThriftHiveMetastore {
               break;
             case 2: // O2
               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-                struct.o2 = new NoSuchObjectException();
+                struct.o2 = new MetaException();
                 struct.o2.read(iprot);
                 struct.setO2IsSet(true);
               } else { 
@@ -90279,22 +90053,10 @@ public class ThriftHiveMetastore {
         struct.validate();
       }
 
-      public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_names_result struct) throws org.apache.thrift.TException {
+      public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partition_result struct) throws org.apache.thrift.TException {
         struct.validate();
 
         oprot.writeStructBegin(STRUCT_DESC);
-        if (struct.success != null) {
-          oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
-            for (Partition _iter929 : struct.success)
-            {
-              _iter92

<TRUNCATED>