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 2011/09/05 10:47:06 UTC

svn commit: r1165207 [12/19] - in /hive/trunk: ./ cli/ eclipse-templates/ ivy/ jdbc/ lib/ metastore/ metastore/src/gen/thrift/gen-cpp/ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ metastore/src/gen/thrift/gen-php/hive_met...

Modified: hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py?rev=1165207&r1=1165206&r2=1165207&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py Mon Sep  5 08:47:02 2011
@@ -1,5 +1,5 @@
 #
-# Autogenerated by Thrift
+# Autogenerated by Thrift Compiler (0.7.0)
 #
 # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 #
@@ -571,11 +571,11 @@ class Client(fb303.FacebookService.Clien
     result = create_database_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
     return
 
@@ -605,11 +605,11 @@ class Client(fb303.FacebookService.Clien
     result = get_database_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_database failed: unknown result");
 
@@ -643,11 +643,11 @@ class Client(fb303.FacebookService.Clien
     result = drop_database_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
     return
 
@@ -677,9 +677,9 @@ class Client(fb303.FacebookService.Clien
     result = get_databases_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_databases failed: unknown result");
 
@@ -704,9 +704,9 @@ class Client(fb303.FacebookService.Clien
     result = get_all_databases_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_databases failed: unknown result");
 
@@ -738,9 +738,9 @@ class Client(fb303.FacebookService.Clien
     result = alter_database_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     return
 
@@ -770,11 +770,11 @@ class Client(fb303.FacebookService.Clien
     result = get_type_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_type failed: unknown result");
 
@@ -804,13 +804,13 @@ class Client(fb303.FacebookService.Clien
     result = create_type_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
     raise TApplicationException(TApplicationException.MISSING_RESULT, "create_type failed: unknown result");
 
@@ -840,11 +840,11 @@ class Client(fb303.FacebookService.Clien
     result = drop_type_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_type failed: unknown result");
 
@@ -874,9 +874,9 @@ class Client(fb303.FacebookService.Clien
     result = get_type_all_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_type_all failed: unknown result");
 
@@ -908,13 +908,13 @@ class Client(fb303.FacebookService.Clien
     result = get_fields_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_fields failed: unknown result");
 
@@ -946,13 +946,13 @@ class Client(fb303.FacebookService.Clien
     result = get_schema_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_schema failed: unknown result");
 
@@ -982,13 +982,13 @@ class Client(fb303.FacebookService.Clien
     result = create_table_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
-    if result.o4 != None:
+    if result.o4 is not None:
       raise result.o4
     return
 
@@ -1022,9 +1022,9 @@ class Client(fb303.FacebookService.Clien
     result = drop_table_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
     return
 
@@ -1056,9 +1056,9 @@ class Client(fb303.FacebookService.Clien
     result = get_tables_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_tables failed: unknown result");
 
@@ -1088,9 +1088,9 @@ class Client(fb303.FacebookService.Clien
     result = get_all_tables_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_tables failed: unknown result");
 
@@ -1122,11 +1122,11 @@ class Client(fb303.FacebookService.Clien
     result = get_table_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table failed: unknown result");
 
@@ -1158,13 +1158,13 @@ class Client(fb303.FacebookService.Clien
     result = get_table_objects_by_name_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_objects_by_name failed: unknown result");
 
@@ -1198,13 +1198,13 @@ class Client(fb303.FacebookService.Clien
     result = get_table_names_by_filter_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_names_by_filter failed: unknown result");
 
@@ -1238,9 +1238,9 @@ class Client(fb303.FacebookService.Clien
     result = alter_table_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     return
 
@@ -1270,13 +1270,13 @@ class Client(fb303.FacebookService.Clien
     result = add_partition_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
     raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partition failed: unknown result");
 
@@ -1306,13 +1306,13 @@ class Client(fb303.FacebookService.Clien
     result = add_partitions_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
     raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions failed: unknown result");
 
@@ -1346,13 +1346,13 @@ class Client(fb303.FacebookService.Clien
     result = append_partition_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
     raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition failed: unknown result");
 
@@ -1386,13 +1386,13 @@ class Client(fb303.FacebookService.Clien
     result = append_partition_by_name_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
     raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_by_name failed: unknown result");
 
@@ -1428,11 +1428,11 @@ class Client(fb303.FacebookService.Clien
     result = drop_partition_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition failed: unknown result");
 
@@ -1468,11 +1468,11 @@ class Client(fb303.FacebookService.Clien
     result = drop_partition_by_name_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_by_name failed: unknown result");
 
@@ -1506,11 +1506,11 @@ class Client(fb303.FacebookService.Clien
     result = get_partition_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition failed: unknown result");
 
@@ -1548,11 +1548,11 @@ class Client(fb303.FacebookService.Clien
     result = get_partition_with_auth_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_with_auth failed: unknown result");
 
@@ -1586,11 +1586,11 @@ class Client(fb303.FacebookService.Clien
     result = get_partition_by_name_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_by_name failed: unknown result");
 
@@ -1624,11 +1624,11 @@ class Client(fb303.FacebookService.Clien
     result = get_partitions_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions failed: unknown result");
 
@@ -1666,11 +1666,11 @@ class Client(fb303.FacebookService.Clien
     result = get_partitions_with_auth_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_with_auth failed: unknown result");
 
@@ -1704,9 +1704,9 @@ class Client(fb303.FacebookService.Clien
     result = get_partition_names_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names failed: unknown result");
 
@@ -1742,9 +1742,9 @@ class Client(fb303.FacebookService.Clien
     result = get_partitions_ps_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_ps failed: unknown result");
 
@@ -1784,11 +1784,11 @@ class Client(fb303.FacebookService.Clien
     result = get_partitions_ps_with_auth_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_ps_with_auth failed: unknown result");
 
@@ -1824,9 +1824,9 @@ class Client(fb303.FacebookService.Clien
     result = get_partition_names_ps_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names_ps failed: unknown result");
 
@@ -1862,11 +1862,11 @@ class Client(fb303.FacebookService.Clien
     result = get_partitions_by_filter_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_filter failed: unknown result");
 
@@ -1900,11 +1900,11 @@ class Client(fb303.FacebookService.Clien
     result = get_partitions_by_names_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_names failed: unknown result");
 
@@ -1938,9 +1938,9 @@ class Client(fb303.FacebookService.Clien
     result = alter_partition_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     return
 
@@ -1972,9 +1972,9 @@ class Client(fb303.FacebookService.Clien
     result = get_config_value_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_config_value failed: unknown result");
 
@@ -2004,9 +2004,9 @@ class Client(fb303.FacebookService.Clien
     result = partition_name_to_vals_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_to_vals failed: unknown result");
 
@@ -2036,9 +2036,9 @@ class Client(fb303.FacebookService.Clien
     result = partition_name_to_spec_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_to_spec failed: unknown result");
 
@@ -2074,17 +2074,17 @@ class Client(fb303.FacebookService.Clien
     result = markPartitionForEvent_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
-    if result.o4 != None:
+    if result.o4 is not None:
       raise result.o4
-    if result.o5 != None:
+    if result.o5 is not None:
       raise result.o5
-    if result.o6 != None:
+    if result.o6 is not None:
       raise result.o6
     return
 
@@ -2120,19 +2120,19 @@ class Client(fb303.FacebookService.Clien
     result = isPartitionMarkedForEvent_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
-    if result.o4 != None:
+    if result.o4 is not None:
       raise result.o4
-    if result.o5 != None:
+    if result.o5 is not None:
       raise result.o5
-    if result.o6 != None:
+    if result.o6 is not None:
       raise result.o6
     raise TApplicationException(TApplicationException.MISSING_RESULT, "isPartitionMarkedForEvent failed: unknown result");
 
@@ -2164,13 +2164,13 @@ class Client(fb303.FacebookService.Clien
     result = add_index_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
-    if result.o3 != None:
+    if result.o3 is not None:
       raise result.o3
     raise TApplicationException(TApplicationException.MISSING_RESULT, "add_index failed: unknown result");
 
@@ -2206,9 +2206,9 @@ class Client(fb303.FacebookService.Clien
     result = alter_index_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     return
 
@@ -2244,11 +2244,11 @@ class Client(fb303.FacebookService.Clien
     result = drop_index_by_name_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_index_by_name failed: unknown result");
 
@@ -2282,11 +2282,11 @@ class Client(fb303.FacebookService.Clien
     result = get_index_by_name_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_index_by_name failed: unknown result");
 
@@ -2320,11 +2320,11 @@ class Client(fb303.FacebookService.Clien
     result = get_indexes_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_indexes failed: unknown result");
 
@@ -2358,9 +2358,9 @@ class Client(fb303.FacebookService.Clien
     result = get_index_names_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o2 != None:
+    if result.o2 is not None:
       raise result.o2
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_index_names failed: unknown result");
 
@@ -2390,9 +2390,9 @@ class Client(fb303.FacebookService.Clien
     result = create_role_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "create_role failed: unknown result");
 
@@ -2422,9 +2422,9 @@ class Client(fb303.FacebookService.Clien
     result = drop_role_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_role failed: unknown result");
 
@@ -2449,9 +2449,9 @@ class Client(fb303.FacebookService.Clien
     result = get_role_names_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_role_names failed: unknown result");
 
@@ -2491,9 +2491,9 @@ class Client(fb303.FacebookService.Clien
     result = grant_role_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_role failed: unknown result");
 
@@ -2527,9 +2527,9 @@ class Client(fb303.FacebookService.Clien
     result = revoke_role_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "revoke_role failed: unknown result");
 
@@ -2561,9 +2561,9 @@ class Client(fb303.FacebookService.Clien
     result = list_roles_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "list_roles failed: unknown result");
 
@@ -2597,9 +2597,9 @@ class Client(fb303.FacebookService.Clien
     result = get_privilege_set_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_privilege_set failed: unknown result");
 
@@ -2633,9 +2633,9 @@ class Client(fb303.FacebookService.Clien
     result = list_privileges_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "list_privileges failed: unknown result");
 
@@ -2665,9 +2665,9 @@ class Client(fb303.FacebookService.Clien
     result = grant_privileges_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_privileges failed: unknown result");
 
@@ -2697,9 +2697,9 @@ class Client(fb303.FacebookService.Clien
     result = revoke_privileges_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "revoke_privileges failed: unknown result");
 
@@ -2731,9 +2731,9 @@ class Client(fb303.FacebookService.Clien
     result = get_delegation_token_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "get_delegation_token failed: unknown result");
 
@@ -2763,9 +2763,9 @@ class Client(fb303.FacebookService.Clien
     result = renew_delegation_token_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.success != None:
+    if result.success is not None:
       return result.success
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     raise TApplicationException(TApplicationException.MISSING_RESULT, "renew_delegation_token failed: unknown result");
 
@@ -2795,7 +2795,7 @@ class Client(fb303.FacebookService.Clien
     result = cancel_delegation_token_result()
     result.read(self._iprot)
     self._iprot.readMessageEnd()
-    if result.o1 != None:
+    if result.o1 is not None:
       raise result.o1
     return
 
@@ -3909,14 +3909,15 @@ class create_database_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('create_database_args')
-    if self.database != None:
+    if self.database is not None:
       oprot.writeFieldBegin('database', TType.STRUCT, 1)
       self.database.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -3987,22 +3988,23 @@ class create_database_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('create_database_result')
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
-    if self.o3 != None:
+    if self.o3 is not None:
       oprot.writeFieldBegin('o3', TType.STRUCT, 3)
       self.o3.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -4054,14 +4056,15 @@ class get_database_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_database_args')
-    if self.name != None:
+    if self.name is not None:
       oprot.writeFieldBegin('name', TType.STRING, 1)
       oprot.writeString(self.name)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -4131,22 +4134,23 @@ class get_database_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_database_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.STRUCT, 0)
       self.success.write(oprot)
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -4214,22 +4218,23 @@ class drop_database_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('drop_database_args')
-    if self.name != None:
+    if self.name is not None:
       oprot.writeFieldBegin('name', TType.STRING, 1)
       oprot.writeString(self.name)
       oprot.writeFieldEnd()
-    if self.deleteData != None:
+    if self.deleteData is not None:
       oprot.writeFieldBegin('deleteData', TType.BOOL, 2)
       oprot.writeBool(self.deleteData)
       oprot.writeFieldEnd()
-    if self.cascade != None:
+    if self.cascade is not None:
       oprot.writeFieldBegin('cascade', TType.BOOL, 3)
       oprot.writeBool(self.cascade)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -4300,22 +4305,23 @@ class drop_database_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('drop_database_result')
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
-    if self.o3 != None:
+    if self.o3 is not None:
       oprot.writeFieldBegin('o3', TType.STRUCT, 3)
       self.o3.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -4367,14 +4373,15 @@ class get_databases_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_databases_args')
-    if self.pattern != None:
+    if self.pattern is not None:
       oprot.writeFieldBegin('pattern', TType.STRING, 1)
       oprot.writeString(self.pattern)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -4439,21 +4446,22 @@ class get_databases_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_databases_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.LIST, 0)
       oprot.writeListBegin(TType.STRING, len(self.success))
       for iter180 in self.success:
         oprot.writeString(iter180)
       oprot.writeListEnd()
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -4493,8 +4501,9 @@ class get_all_databases_args:
     oprot.writeStructBegin('get_all_databases_args')
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -4559,21 +4568,22 @@ class get_all_databases_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_all_databases_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.LIST, 0)
       oprot.writeListBegin(TType.STRING, len(self.success))
       for iter187 in self.success:
         oprot.writeString(iter187)
       oprot.writeListEnd()
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -4634,18 +4644,19 @@ class alter_database_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('alter_database_args')
-    if self.dbname != None:
+    if self.dbname is not None:
       oprot.writeFieldBegin('dbname', TType.STRING, 1)
       oprot.writeString(self.dbname)
       oprot.writeFieldEnd()
-    if self.db != None:
+    if self.db is not None:
       oprot.writeFieldBegin('db', TType.STRUCT, 2)
       self.db.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -4707,18 +4718,19 @@ class alter_database_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('alter_database_result')
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -4770,14 +4782,15 @@ class get_type_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_type_args')
-    if self.name != None:
+    if self.name is not None:
       oprot.writeFieldBegin('name', TType.STRING, 1)
       oprot.writeString(self.name)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -4847,22 +4860,23 @@ class get_type_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_type_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.STRUCT, 0)
       self.success.write(oprot)
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -4915,14 +4929,15 @@ class create_type_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('create_type_args')
-    if self.type != None:
+    if self.type is not None:
       oprot.writeFieldBegin('type', TType.STRUCT, 1)
       self.type.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -5000,26 +5015,27 @@ class create_type_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('create_type_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.BOOL, 0)
       oprot.writeBool(self.success)
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
-    if self.o3 != None:
+    if self.o3 is not None:
       oprot.writeFieldBegin('o3', TType.STRUCT, 3)
       self.o3.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -5071,14 +5087,15 @@ class drop_type_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('drop_type_args')
-    if self.type != None:
+    if self.type is not None:
       oprot.writeFieldBegin('type', TType.STRING, 1)
       oprot.writeString(self.type)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -5147,22 +5164,23 @@ class drop_type_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('drop_type_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.BOOL, 0)
       oprot.writeBool(self.success)
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -5214,14 +5232,15 @@ class get_type_all_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_type_all_args')
-    if self.name != None:
+    if self.name is not None:
       oprot.writeFieldBegin('name', TType.STRING, 1)
       oprot.writeString(self.name)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -5288,7 +5307,7 @@ class get_type_all_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_type_all_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.MAP, 0)
       oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success))
       for kiter195,viter196 in self.success.items():
@@ -5296,14 +5315,15 @@ class get_type_all_result:
         viter196.write(oprot)
       oprot.writeMapEnd()
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 1)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -5363,18 +5383,19 @@ class get_fields_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_fields_args')
-    if self.db_name != None:
+    if self.db_name is not None:
       oprot.writeFieldBegin('db_name', TType.STRING, 1)
       oprot.writeString(self.db_name)
       oprot.writeFieldEnd()
-    if self.table_name != None:
+    if self.table_name is not None:
       oprot.writeFieldBegin('table_name', TType.STRING, 2)
       oprot.writeString(self.table_name)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -5458,29 +5479,30 @@ class get_fields_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_fields_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.LIST, 0)
       oprot.writeListBegin(TType.STRUCT, len(self.success))
       for iter203 in self.success:
         iter203.write(oprot)
       oprot.writeListEnd()
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
-    if self.o3 != None:
+    if self.o3 is not None:
       oprot.writeFieldBegin('o3', TType.STRUCT, 3)
       self.o3.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -5540,18 +5562,19 @@ class get_schema_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_schema_args')
-    if self.db_name != None:
+    if self.db_name is not None:
       oprot.writeFieldBegin('db_name', TType.STRING, 1)
       oprot.writeString(self.db_name)
       oprot.writeFieldEnd()
-    if self.table_name != None:
+    if self.table_name is not None:
       oprot.writeFieldBegin('table_name', TType.STRING, 2)
       oprot.writeString(self.table_name)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -5635,29 +5658,30 @@ class get_schema_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_schema_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.LIST, 0)
       oprot.writeListBegin(TType.STRUCT, len(self.success))
       for iter210 in self.success:
         iter210.write(oprot)
       oprot.writeListEnd()
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
-    if self.o3 != None:
+    if self.o3 is not None:
       oprot.writeFieldBegin('o3', TType.STRUCT, 3)
       self.o3.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -5710,14 +5734,15 @@ class create_table_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('create_table_args')
-    if self.tbl != None:
+    if self.tbl is not None:
       oprot.writeFieldBegin('tbl', TType.STRUCT, 1)
       self.tbl.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -5797,26 +5822,27 @@ class create_table_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('create_table_result')
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
-    if self.o3 != None:
+    if self.o3 is not None:
       oprot.writeFieldBegin('o3', TType.STRUCT, 3)
       self.o3.write(oprot)
       oprot.writeFieldEnd()
-    if self.o4 != None:
+    if self.o4 is not None:
       oprot.writeFieldBegin('o4', TType.STRUCT, 4)
       self.o4.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -5884,22 +5910,23 @@ class drop_table_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('drop_table_args')
-    if self.dbname != None:
+    if self.dbname is not None:
       oprot.writeFieldBegin('dbname', TType.STRING, 1)
       oprot.writeString(self.dbname)
       oprot.writeFieldEnd()
-    if self.name != None:
+    if self.name is not None:
       oprot.writeFieldBegin('name', TType.STRING, 2)
       oprot.writeString(self.name)
       oprot.writeFieldEnd()
-    if self.deleteData != None:
+    if self.deleteData is not None:
       oprot.writeFieldBegin('deleteData', TType.BOOL, 3)
       oprot.writeBool(self.deleteData)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -5961,18 +5988,19 @@ class drop_table_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('drop_table_result')
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o3 != None:
+    if self.o3 is not None:
       oprot.writeFieldBegin('o3', TType.STRUCT, 2)
       self.o3.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -6032,18 +6060,19 @@ class get_tables_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_tables_args')
-    if self.db_name != None:
+    if self.db_name is not None:
       oprot.writeFieldBegin('db_name', TType.STRING, 1)
       oprot.writeString(self.db_name)
       oprot.writeFieldEnd()
-    if self.pattern != None:
+    if self.pattern is not None:
       oprot.writeFieldBegin('pattern', TType.STRING, 2)
       oprot.writeString(self.pattern)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -6108,21 +6137,22 @@ class get_tables_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_tables_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.LIST, 0)
       oprot.writeListBegin(TType.STRING, len(self.success))
       for iter217 in self.success:
         oprot.writeString(iter217)
       oprot.writeListEnd()
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -6174,14 +6204,15 @@ class get_all_tables_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_all_tables_args')
-    if self.db_name != None:
+    if self.db_name is not None:
       oprot.writeFieldBegin('db_name', TType.STRING, 1)
       oprot.writeString(self.db_name)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -6246,21 +6277,22 @@ class get_all_tables_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_all_tables_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.LIST, 0)
       oprot.writeListBegin(TType.STRING, len(self.success))
       for iter224 in self.success:
         oprot.writeString(iter224)
       oprot.writeListEnd()
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -6320,18 +6352,19 @@ class get_table_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_table_args')
-    if self.dbname != None:
+    if self.dbname is not None:
       oprot.writeFieldBegin('dbname', TType.STRING, 1)
       oprot.writeString(self.dbname)
       oprot.writeFieldEnd()
-    if self.tbl_name != None:
+    if self.tbl_name is not None:
       oprot.writeFieldBegin('tbl_name', TType.STRING, 2)
       oprot.writeString(self.tbl_name)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -6401,22 +6434,23 @@ class get_table_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_table_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.STRUCT, 0)
       self.success.write(oprot)
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -6481,11 +6515,11 @@ class get_table_objects_by_name_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_table_objects_by_name_args')
-    if self.dbname != None:
+    if self.dbname is not None:
       oprot.writeFieldBegin('dbname', TType.STRING, 1)
       oprot.writeString(self.dbname)
       oprot.writeFieldEnd()
-    if self.tbl_names != None:
+    if self.tbl_names is not None:
       oprot.writeFieldBegin('tbl_names', TType.LIST, 2)
       oprot.writeListBegin(TType.STRING, len(self.tbl_names))
       for iter231 in self.tbl_names:
@@ -6494,8 +6528,9 @@ class get_table_objects_by_name_args:
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -6579,29 +6614,30 @@ class get_table_objects_by_name_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_table_objects_by_name_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.LIST, 0)
       oprot.writeListBegin(TType.STRUCT, len(self.success))
       for iter238 in self.success:
         iter238.write(oprot)
       oprot.writeListEnd()
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
-    if self.o3 != None:
+    if self.o3 is not None:
       oprot.writeFieldBegin('o3', TType.STRUCT, 3)
       self.o3.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -6669,22 +6705,23 @@ class get_table_names_by_filter_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_table_names_by_filter_args')
-    if self.dbname != None:
+    if self.dbname is not None:
       oprot.writeFieldBegin('dbname', TType.STRING, 1)
       oprot.writeString(self.dbname)
       oprot.writeFieldEnd()
-    if self.filter != None:
+    if self.filter is not None:
       oprot.writeFieldBegin('filter', TType.STRING, 2)
       oprot.writeString(self.filter)
       oprot.writeFieldEnd()
-    if self.max_tables != None:
+    if self.max_tables is not None:
       oprot.writeFieldBegin('max_tables', TType.I16, 3)
       oprot.writeI16(self.max_tables)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -6767,29 +6804,30 @@ class get_table_names_by_filter_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_table_names_by_filter_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.LIST, 0)
       oprot.writeListBegin(TType.STRING, len(self.success))
       for iter245 in self.success:
         oprot.writeString(iter245)
       oprot.writeListEnd()
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
-    if self.o3 != None:
+    if self.o3 is not None:
       oprot.writeFieldBegin('o3', TType.STRUCT, 3)
       self.o3.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -6858,22 +6896,23 @@ class alter_table_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('alter_table_args')
-    if self.dbname != None:
+    if self.dbname is not None:
       oprot.writeFieldBegin('dbname', TType.STRING, 1)
       oprot.writeString(self.dbname)
       oprot.writeFieldEnd()
-    if self.tbl_name != None:
+    if self.tbl_name is not None:
       oprot.writeFieldBegin('tbl_name', TType.STRING, 2)
       oprot.writeString(self.tbl_name)
       oprot.writeFieldEnd()
-    if self.new_tbl != None:
+    if self.new_tbl is not None:
       oprot.writeFieldBegin('new_tbl', TType.STRUCT, 3)
       self.new_tbl.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -6935,18 +6974,19 @@ class alter_table_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('alter_table_result')
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -6999,14 +7039,15 @@ class add_partition_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('add_partition_args')
-    if self.new_part != None:
+    if self.new_part is not None:
       oprot.writeFieldBegin('new_part', TType.STRUCT, 1)
       self.new_part.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -7085,26 +7126,27 @@ class add_partition_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('add_partition_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.STRUCT, 0)
       self.success.write(oprot)
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
-    if self.o3 != None:
+    if self.o3 is not None:
       oprot.writeFieldBegin('o3', TType.STRUCT, 3)
       self.o3.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -7162,7 +7204,7 @@ class add_partitions_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('add_partitions_args')
-    if self.new_parts != None:
+    if self.new_parts is not None:
       oprot.writeFieldBegin('new_parts', TType.LIST, 1)
       oprot.writeListBegin(TType.STRUCT, len(self.new_parts))
       for iter252 in self.new_parts:
@@ -7171,8 +7213,9 @@ class add_partitions_args:
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -7250,26 +7293,27 @@ class add_partitions_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('add_partitions_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.I32, 0)
       oprot.writeI32(self.success)
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
-    if self.o3 != None:
+    if self.o3 is not None:
       oprot.writeFieldBegin('o3', TType.STRUCT, 3)
       self.o3.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -7342,15 +7386,15 @@ class append_partition_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('append_partition_args')
-    if self.db_name != None:
+    if self.db_name is not None:
       oprot.writeFieldBegin('db_name', TType.STRING, 1)
       oprot.writeString(self.db_name)
       oprot.writeFieldEnd()
-    if self.tbl_name != None:
+    if self.tbl_name is not None:
       oprot.writeFieldBegin('tbl_name', TType.STRING, 2)
       oprot.writeString(self.tbl_name)
       oprot.writeFieldEnd()
-    if self.part_vals != None:
+    if self.part_vals is not None:
       oprot.writeFieldBegin('part_vals', TType.LIST, 3)
       oprot.writeListBegin(TType.STRING, len(self.part_vals))
       for iter259 in self.part_vals:
@@ -7359,8 +7403,9 @@ class append_partition_args:
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -7439,26 +7484,27 @@ class append_partition_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('append_partition_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.STRUCT, 0)
       self.success.write(oprot)
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
-    if self.o3 != None:
+    if self.o3 is not None:
       oprot.writeFieldBegin('o3', TType.STRUCT, 3)
       self.o3.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -7526,22 +7572,23 @@ class append_partition_by_name_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('append_partition_by_name_args')
-    if self.db_name != None:
+    if self.db_name is not None:
       oprot.writeFieldBegin('db_name', TType.STRING, 1)
       oprot.writeString(self.db_name)
       oprot.writeFieldEnd()
-    if self.tbl_name != None:
+    if self.tbl_name is not None:
       oprot.writeFieldBegin('tbl_name', TType.STRING, 2)
       oprot.writeString(self.tbl_name)
       oprot.writeFieldEnd()
-    if self.part_name != None:
+    if self.part_name is not None:
       oprot.writeFieldBegin('part_name', TType.STRING, 3)
       oprot.writeString(self.part_name)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -7620,26 +7667,27 @@ class append_partition_by_name_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('append_partition_by_name_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.STRUCT, 0)
       self.success.write(oprot)
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
-    if self.o3 != None:
+    if self.o3 is not None:
       oprot.writeFieldBegin('o3', TType.STRUCT, 3)
       self.o3.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -7720,29 +7768,30 @@ class drop_partition_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('drop_partition_args')
-    if self.db_name != None:
+    if self.db_name is not None:
       oprot.writeFieldBegin('db_name', TType.STRING, 1)
       oprot.writeString(self.db_name)
       oprot.writeFieldEnd()
-    if self.tbl_name != None:
+    if self.tbl_name is not None:
       oprot.writeFieldBegin('tbl_name', TType.STRING, 2)
       oprot.writeString(self.tbl_name)
       oprot.writeFieldEnd()
-    if self.part_vals != None:
+    if self.part_vals is not None:
       oprot.writeFieldBegin('part_vals', TType.LIST, 3)
       oprot.writeListBegin(TType.STRING, len(self.part_vals))
       for iter266 in self.part_vals:
         oprot.writeString(iter266)
       oprot.writeListEnd()
       oprot.writeFieldEnd()
-    if self.deleteData != None:
+    if self.deleteData is not None:
       oprot.writeFieldBegin('deleteData', TType.BOOL, 4)
       oprot.writeBool(self.deleteData)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -7811,22 +7860,23 @@ class drop_partition_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('drop_partition_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.BOOL, 0)
       oprot.writeBool(self.success)
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -7902,26 +7952,27 @@ class drop_partition_by_name_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('drop_partition_by_name_args')
-    if self.db_name != None:
+    if self.db_name is not None:
       oprot.writeFieldBegin('db_name', TType.STRING, 1)
       oprot.writeString(self.db_name)
       oprot.writeFieldEnd()
-    if self.tbl_name != None:
+    if self.tbl_name is not None:
       oprot.writeFieldBegin('tbl_name', TType.STRING, 2)
       oprot.writeString(self.tbl_name)
       oprot.writeFieldEnd()
-    if self.part_name != None:
+    if self.part_name is not None:
       oprot.writeFieldBegin('part_name', TType.STRING, 3)
       oprot.writeString(self.part_name)
       oprot.writeFieldEnd()
-    if self.deleteData != None:
+    if self.deleteData is not None:
       oprot.writeFieldBegin('deleteData', TType.BOOL, 4)
       oprot.writeBool(self.deleteData)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -7990,22 +8041,23 @@ class drop_partition_by_name_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('drop_partition_by_name_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.BOOL, 0)
       oprot.writeBool(self.success)
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -8078,15 +8130,15 @@ class get_partition_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_partition_args')
-    if self.db_name != None:
+    if self.db_name is not None:
       oprot.writeFieldBegin('db_name', TType.STRING, 1)
       oprot.writeString(self.db_name)
       oprot.writeFieldEnd()
-    if self.tbl_name != None:
+    if self.tbl_name is not None:
       oprot.writeFieldBegin('tbl_name', TType.STRING, 2)
       oprot.writeString(self.tbl_name)
       oprot.writeFieldEnd()
-    if self.part_vals != None:
+    if self.part_vals is not None:
       oprot.writeFieldBegin('part_vals', TType.LIST, 3)
       oprot.writeListBegin(TType.STRING, len(self.part_vals))
       for iter273 in self.part_vals:
@@ -8095,8 +8147,9 @@ class get_partition_args:
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -8166,22 +8219,23 @@ class get_partition_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_partition_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.STRUCT, 0)
       self.success.write(oprot)
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -8275,26 +8329,26 @@ class get_partition_with_auth_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_partition_with_auth_args')
-    if self.db_name != None:
+    if self.db_name is not None:
       oprot.writeFieldBegin('db_name', TType.STRING, 1)
       oprot.writeString(self.db_name)
       oprot.writeFieldEnd()
-    if self.tbl_name != None:
+    if self.tbl_name is not None:
       oprot.writeFieldBegin('tbl_name', TType.STRING, 2)
       oprot.writeString(self.tbl_name)
       oprot.writeFieldEnd()
-    if self.part_vals != None:
+    if self.part_vals is not None:
       oprot.writeFieldBegin('part_vals', TType.LIST, 3)
       oprot.writeListBegin(TType.STRING, len(self.part_vals))
       for iter286 in self.part_vals:
         oprot.writeString(iter286)
       oprot.writeListEnd()
       oprot.writeFieldEnd()
-    if self.user_name != None:
+    if self.user_name is not None:
       oprot.writeFieldBegin('user_name', TType.STRING, 4)
       oprot.writeString(self.user_name)
       oprot.writeFieldEnd()
-    if self.group_names != None:
+    if self.group_names is not None:
       oprot.writeFieldBegin('group_names', TType.LIST, 5)
       oprot.writeListBegin(TType.STRING, len(self.group_names))
       for iter287 in self.group_names:
@@ -8303,8 +8357,9 @@ class get_partition_with_auth_args:
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -8374,22 +8429,23 @@ class get_partition_with_auth_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_partition_with_auth_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.STRUCT, 0)
       self.success.write(oprot)
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -8457,22 +8513,23 @@ class get_partition_by_name_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_partition_by_name_args')
-    if self.db_name != None:
+    if self.db_name is not None:
       oprot.writeFieldBegin('db_name', TType.STRING, 1)
       oprot.writeString(self.db_name)
       oprot.writeFieldEnd()
-    if self.tbl_name != None:
+    if self.tbl_name is not None:
       oprot.writeFieldBegin('tbl_name', TType.STRING, 2)
       oprot.writeString(self.tbl_name)
       oprot.writeFieldEnd()
-    if self.part_name != None:
+    if self.part_name is not None:
       oprot.writeFieldBegin('part_name', TType.STRING, 3)
       oprot.writeString(self.part_name)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -8542,22 +8599,23 @@ class get_partition_by_name_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_partition_by_name_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.STRUCT, 0)
       self.success.write(oprot)
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -8625,22 +8683,23 @@ class get_partitions_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_partitions_args')
-    if self.db_name != None:
+    if self.db_name is not None:
       oprot.writeFieldBegin('db_name', TType.STRING, 1)
       oprot.writeString(self.db_name)
       oprot.writeFieldEnd()
-    if self.tbl_name != None:
+    if self.tbl_name is not None:
       oprot.writeFieldBegin('tbl_name', TType.STRING, 2)
       oprot.writeString(self.tbl_name)
       oprot.writeFieldEnd()
-    if self.max_parts != None:
+    if self.max_parts is not None:
       oprot.writeFieldBegin('max_parts', TType.I16, 3)
       oprot.writeI16(self.max_parts)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -8715,25 +8774,26 @@ class get_partitions_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_partitions_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.LIST, 0)
       oprot.writeListBegin(TType.STRUCT, len(self.success))
       for iter294 in self.success:
         iter294.write(oprot)
       oprot.writeListEnd()
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -8822,23 +8882,23 @@ class get_partitions_with_auth_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_partitions_with_auth_args')
-    if self.db_name != None:
+    if self.db_name is not None:
       oprot.writeFieldBegin('db_name', TType.STRING, 1)
       oprot.writeString(self.db_name)
       oprot.writeFieldEnd()
-    if self.tbl_name != None:
+    if self.tbl_name is not None:
       oprot.writeFieldBegin('tbl_name', TType.STRING, 2)
       oprot.writeString(self.tbl_name)
       oprot.writeFieldEnd()
-    if self.max_parts != None:
+    if self.max_parts is not None:
       oprot.writeFieldBegin('max_parts', TType.I16, 3)
       oprot.writeI16(self.max_parts)
       oprot.writeFieldEnd()
-    if self.user_name != None:
+    if self.user_name is not None:
       oprot.writeFieldBegin('user_name', TType.STRING, 4)
       oprot.writeString(self.user_name)
       oprot.writeFieldEnd()
-    if self.group_names != None:
+    if self.group_names is not None:
       oprot.writeFieldBegin('group_names', TType.LIST, 5)
       oprot.writeListBegin(TType.STRING, len(self.group_names))
       for iter301 in self.group_names:
@@ -8847,8 +8907,9 @@ class get_partitions_with_auth_args:
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -8923,25 +8984,26 @@ class get_partitions_with_auth_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_partitions_with_auth_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.LIST, 0)
       oprot.writeListBegin(TType.STRUCT, len(self.success))
       for iter308 in self.success:
         iter308.write(oprot)
       oprot.writeListEnd()
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:
       oprot.writeFieldBegin('o1', TType.STRUCT, 1)
       self.o1.write(oprot)
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 2)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -9009,22 +9071,23 @@ class get_partition_names_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_partition_names_args')
-    if self.db_name != None:
+    if self.db_name is not None:
       oprot.writeFieldBegin('db_name', TType.STRING, 1)
       oprot.writeString(self.db_name)
       oprot.writeFieldEnd()
-    if self.tbl_name != None:
+    if self.tbl_name is not None:
       oprot.writeFieldBegin('tbl_name', TType.STRING, 2)
       oprot.writeString(self.tbl_name)
       oprot.writeFieldEnd()
-    if self.max_parts != None:
+    if self.max_parts is not None:
       oprot.writeFieldBegin('max_parts', TType.I16, 3)
       oprot.writeI16(self.max_parts)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -9089,21 +9152,22 @@ class get_partition_names_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_partition_names_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.LIST, 0)
       oprot.writeListBegin(TType.STRING, len(self.success))
       for iter315 in self.success:
         oprot.writeString(iter315)
       oprot.writeListEnd()
       oprot.writeFieldEnd()
-    if self.o2 != None:
+    if self.o2 is not None:
       oprot.writeFieldBegin('o2', TType.STRUCT, 1)
       self.o2.write(oprot)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -9184,29 +9248,30 @@ class get_partitions_ps_args:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_partitions_ps_args')
-    if self.db_name != None:
+    if self.db_name is not None:
       oprot.writeFieldBegin('db_name', TType.STRING, 1)
       oprot.writeString(self.db_name)
       oprot.writeFieldEnd()
-    if self.tbl_name != None:
+    if self.tbl_name is not None:
       oprot.writeFieldBegin('tbl_name', TType.STRING, 2)
       oprot.writeString(self.tbl_name)
       oprot.writeFieldEnd()
-    if self.part_vals != None:
+    if self.part_vals is not None:
       oprot.writeFieldBegin('part_vals', TType.LIST, 3)
       oprot.writeListBegin(TType.STRING, len(self.part_vals))
       for iter322 in self.part_vals:
         oprot.writeString(iter322)
       oprot.writeListEnd()
       oprot.writeFieldEnd()
-    if self.max_parts != None:
+    if self.max_parts is not None:
       oprot.writeFieldBegin('max_parts', TType.I16, 4)
       oprot.writeI16(self.max_parts)
       oprot.writeFieldEnd()
     oprot.writeFieldStop()
     oprot.writeStructEnd()
-    def validate(self):
-      return
+
+  def validate(self):
+    return
 
 
   def __repr__(self):
@@ -9272,21 +9337,22 @@ class get_partitions_ps_result:
       oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
       return
     oprot.writeStructBegin('get_partitions_ps_result')
-    if self.success != None:
+    if self.success is not None:
       oprot.writeFieldBegin('success', TType.LIST, 0)
       oprot.writeListBegin(TType.STRUCT, len(self.success))
       for iter329 in self.success:
         iter329.write(oprot)
       oprot.writeListEnd()
       oprot.writeFieldEnd()
-    if self.o1 != None:
+    if self.o1 is not None:

[... 1628 lines stripped ...]