hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject svn commit: r1043133 [1/3] - in /hive/trunk: ./ metastore/ metastore/if/ metastore/src/gen-cpp/ metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/ metastore/src/gen-php/ metastore/src/gen-py/hive_metastore/ metastore/src/java/org/apache/h...
Date Tue, 07 Dec 2010 17:19:41 GMT
Author: namit
Date: Tue Dec  7 17:19:40 2010
New Revision: 1043133

URL: http://svn.apache.org/viewvc?rev=1043133&view=rev
Log:
HIVE-1823 upgrade the database thrift interface to allow parameters key-value
pairs (Ning Zhang via namit)


Modified:
    hive/trunk/CHANGES.txt
    hive/trunk/build-common.xml
    hive/trunk/metastore/build.xml
    hive/trunk/metastore/if/hive_metastore.thrift
    hive/trunk/metastore/src/gen-cpp/ThriftHiveMetastore.cpp
    hive/trunk/metastore/src/gen-cpp/hive_metastore_types.cpp
    hive/trunk/metastore/src/gen-cpp/hive_metastore_types.h
    hive/trunk/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java
    hive/trunk/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java
    hive/trunk/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
    hive/trunk/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
    hive/trunk/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java
    hive/trunk/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java
    hive/trunk/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
    hive/trunk/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
    hive/trunk/metastore/src/gen-php/ThriftHiveMetastore.php
    hive/trunk/metastore/src/gen-php/hive_metastore_types.php
    hive/trunk/metastore/src/gen-py/hive_metastore/ThriftHiveMetastore.py
    hive/trunk/metastore/src/gen-py/hive_metastore/ttypes.py
    hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
    hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
    hive/trunk/metastore/src/model/org/apache/hadoop/hive/metastore/model/MDatabase.java
    hive/trunk/metastore/src/model/package.jdo
    hive/trunk/ql/build.xml
    hive/trunk/ql/if/queryplan.thrift
    hive/trunk/ql/src/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java
    hive/trunk/ql/src/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java
    hive/trunk/ql/src/gen-php/queryplan_types.php
    hive/trunk/ql/src/gen-py/queryplan/ttypes.py
    hive/trunk/serde/build.xml
    hive/trunk/serde/src/gen-cpp/serde_types.h
    hive/trunk/serde/src/gen-php/serde_constants.php
    hive/trunk/service/build.xml

Modified: hive/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hive/trunk/CHANGES.txt?rev=1043133&r1=1043132&r2=1043133&view=diff
==============================================================================
--- hive/trunk/CHANGES.txt (original)
+++ hive/trunk/CHANGES.txt Tue Dec  7 17:19:40 2010
@@ -573,6 +573,9 @@ Trunk -  Unreleased
     HIVE-1828 No need to get Table/Partition for show locks.
     (He Yongqiang via namit)
 
+    HIVE-1823 upgrade the database thrift interface to allow parameters key-value
+    pairs (Ning Zhang via namit)
+
   TESTS
 
     HIVE-1464. improve  test query performance

Modified: hive/trunk/build-common.xml
URL: http://svn.apache.org/viewvc/hive/trunk/build-common.xml?rev=1043133&r1=1043132&r2=1043133&view=diff
==============================================================================
--- hive/trunk/build-common.xml (original)
+++ hive/trunk/build-common.xml Tue Dec  7 17:19:40 2010
@@ -47,7 +47,7 @@
   <property name="test.include" value="Test*"/>
   <property name="test.classpath.id" value="test.classpath"/>
   <property name="test.output" value="true"/>
-  <property name="test.timeout" value="13200000"/>
+  <property name="test.timeout" value="18200000"/>
   <property name="test.junit.output.format" value="xml"/>
   <property name="test.junit.output.usefile" value="true"/>
   <property name="minimr.query.files" value="input16_cc.q,scriptfile1.q,bucket4.q,bucketmapjoin6.q,disable_merge_for_bucketing.q,reduce_deduplicate.q,smb_mapjoin_8.q,join1.q,groupby2.q,bucketizedhiveinputformat.q"/>
@@ -190,7 +190,7 @@
     <ivy:resolve settingsRef="${ant.project.name}.ivy.settings" conf="docs"/>
     <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings"
                   pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}" conf="docs"/>
-    <ivy:cachepath pathid="docs-classpath" conf="docs"/> 		
+    <ivy:cachepath pathid="docs-classpath" conf="docs"/>
   </target>
 
   <available property="hadoopcore.${hadoop.version.ant-internal}.install.done"
@@ -414,7 +414,7 @@
       <jvmarg value="-Xdebug"/>
       <jvmarg value="-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y"/> -->
       <env key="HADOOP_HOME" value="${hadoop.root}"/>
-      <env key="HADOOP_CLASSPATH" value="${test.src.data.dir}/conf,file://${build.dir.hive}/dist/lib/derby.jar"/> 
+      <env key="HADOOP_CLASSPATH" value="${test.src.data.dir}/conf,file://${build.dir.hive}/dist/lib/derby.jar"/>
       <env key="TZ" value="US/Pacific"/>
       <sysproperty key="test.output.overwrite" value="${overwrite}"/>
       <sysproperty key="test.service.standalone.server" value="${standalone}"/>

Modified: hive/trunk/metastore/build.xml
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/build.xml?rev=1043133&r1=1043132&r2=1043133&view=diff
==============================================================================
--- hive/trunk/metastore/build.xml (original)
+++ hive/trunk/metastore/build.xml Tue Dec  7 17:19:40 2010
@@ -24,7 +24,7 @@
 
   <target name="thriftif">
     <echo>Executing thrift (which needs to be in your path) to build java metastore APIs.... </echo>
-    <exec executable="thrift"  failonerror="true" dir=".">
+    <exec executable="${thrift.home}/bin/thrift"  failonerror="true" dir=".">
       <arg line="--gen java:beans --gen cpp --gen php --gen py -I ${basedir}/../service/include/ -o ${src.dir} if/hive_metastore.thrift " />
     </exec>
   </target>

Modified: hive/trunk/metastore/if/hive_metastore.thrift
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/if/hive_metastore.thrift?rev=1043133&r1=1043132&r2=1043133&view=diff
==============================================================================
--- hive/trunk/metastore/if/hive_metastore.thrift (original)
+++ hive/trunk/metastore/if/hive_metastore.thrift Tue Dec  7 17:19:40 2010
@@ -34,6 +34,7 @@ struct Database {
   1: string name,
   2: string description,
   3: string locationUri,
+  4: map<string, string> parameters // properties associated with the database
 }
 
 // This object holds the information needed by SerDes

Modified: hive/trunk/metastore/src/gen-cpp/ThriftHiveMetastore.cpp
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen-cpp/ThriftHiveMetastore.cpp?rev=1043133&r1=1043132&r2=1043133&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen-cpp/ThriftHiveMetastore.cpp (original)
+++ hive/trunk/metastore/src/gen-cpp/ThriftHiveMetastore.cpp Tue Dec  7 17:19:40 2010
@@ -701,14 +701,14 @@ uint32_t ThriftHiveMetastore_get_databas
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->success.clear();
-            uint32_t _size90;
-            apache::thrift::protocol::TType _etype93;
-            iprot->readListBegin(_etype93, _size90);
-            this->success.resize(_size90);
-            uint32_t _i94;
-            for (_i94 = 0; _i94 < _size90; ++_i94)
+            uint32_t _size98;
+            apache::thrift::protocol::TType _etype101;
+            iprot->readListBegin(_etype101, _size98);
+            this->success.resize(_size98);
+            uint32_t _i102;
+            for (_i102 = 0; _i102 < _size98; ++_i102)
             {
-              xfer += iprot->readString(this->success[_i94]);
+              xfer += iprot->readString(this->success[_i102]);
             }
             iprot->readListEnd();
           }
@@ -747,10 +747,10 @@ uint32_t ThriftHiveMetastore_get_databas
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
     {
       xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
-      std::vector<std::string> ::const_iterator _iter95;
-      for (_iter95 = this->success.begin(); _iter95 != this->success.end(); ++_iter95)
+      std::vector<std::string> ::const_iterator _iter103;
+      for (_iter103 = this->success.begin(); _iter103 != this->success.end(); ++_iter103)
       {
-        xfer += oprot->writeString((*_iter95));
+        xfer += oprot->writeString((*_iter103));
       }
       xfer += oprot->writeListEnd();
     }
@@ -789,14 +789,14 @@ uint32_t ThriftHiveMetastore_get_databas
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             (*(this->success)).clear();
-            uint32_t _size96;
-            apache::thrift::protocol::TType _etype99;
-            iprot->readListBegin(_etype99, _size96);
-            (*(this->success)).resize(_size96);
-            uint32_t _i100;
-            for (_i100 = 0; _i100 < _size96; ++_i100)
+            uint32_t _size104;
+            apache::thrift::protocol::TType _etype107;
+            iprot->readListBegin(_etype107, _size104);
+            (*(this->success)).resize(_size104);
+            uint32_t _i108;
+            for (_i108 = 0; _i108 < _size104; ++_i108)
             {
-              xfer += iprot->readString((*(this->success))[_i100]);
+              xfer += iprot->readString((*(this->success))[_i108]);
             }
             iprot->readListEnd();
           }
@@ -897,14 +897,14 @@ uint32_t ThriftHiveMetastore_get_all_dat
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->success.clear();
-            uint32_t _size101;
-            apache::thrift::protocol::TType _etype104;
-            iprot->readListBegin(_etype104, _size101);
-            this->success.resize(_size101);
-            uint32_t _i105;
-            for (_i105 = 0; _i105 < _size101; ++_i105)
+            uint32_t _size109;
+            apache::thrift::protocol::TType _etype112;
+            iprot->readListBegin(_etype112, _size109);
+            this->success.resize(_size109);
+            uint32_t _i113;
+            for (_i113 = 0; _i113 < _size109; ++_i113)
             {
-              xfer += iprot->readString(this->success[_i105]);
+              xfer += iprot->readString(this->success[_i113]);
             }
             iprot->readListEnd();
           }
@@ -943,10 +943,10 @@ uint32_t ThriftHiveMetastore_get_all_dat
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
     {
       xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
-      std::vector<std::string> ::const_iterator _iter106;
-      for (_iter106 = this->success.begin(); _iter106 != this->success.end(); ++_iter106)
+      std::vector<std::string> ::const_iterator _iter114;
+      for (_iter114 = this->success.begin(); _iter114 != this->success.end(); ++_iter114)
       {
-        xfer += oprot->writeString((*_iter106));
+        xfer += oprot->writeString((*_iter114));
       }
       xfer += oprot->writeListEnd();
     }
@@ -985,14 +985,14 @@ uint32_t ThriftHiveMetastore_get_all_dat
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             (*(this->success)).clear();
-            uint32_t _size107;
-            apache::thrift::protocol::TType _etype110;
-            iprot->readListBegin(_etype110, _size107);
-            (*(this->success)).resize(_size107);
-            uint32_t _i111;
-            for (_i111 = 0; _i111 < _size107; ++_i111)
+            uint32_t _size115;
+            apache::thrift::protocol::TType _etype118;
+            iprot->readListBegin(_etype118, _size115);
+            (*(this->success)).resize(_size115);
+            uint32_t _i119;
+            for (_i119 = 0; _i119 < _size115; ++_i119)
             {
-              xfer += iprot->readString((*(this->success))[_i111]);
+              xfer += iprot->readString((*(this->success))[_i119]);
             }
             iprot->readListEnd();
           }
@@ -1721,17 +1721,17 @@ uint32_t ThriftHiveMetastore_get_type_al
         if (ftype == apache::thrift::protocol::T_MAP) {
           {
             this->success.clear();
-            uint32_t _size112;
-            apache::thrift::protocol::TType _ktype113;
-            apache::thrift::protocol::TType _vtype114;
-            iprot->readMapBegin(_ktype113, _vtype114, _size112);
-            uint32_t _i116;
-            for (_i116 = 0; _i116 < _size112; ++_i116)
+            uint32_t _size120;
+            apache::thrift::protocol::TType _ktype121;
+            apache::thrift::protocol::TType _vtype122;
+            iprot->readMapBegin(_ktype121, _vtype122, _size120);
+            uint32_t _i124;
+            for (_i124 = 0; _i124 < _size120; ++_i124)
             {
-              std::string _key117;
-              xfer += iprot->readString(_key117);
-              Type& _val118 = this->success[_key117];
-              xfer += _val118.read(iprot);
+              std::string _key125;
+              xfer += iprot->readString(_key125);
+              Type& _val126 = this->success[_key125];
+              xfer += _val126.read(iprot);
             }
             iprot->readMapEnd();
           }
@@ -1770,11 +1770,11 @@ uint32_t ThriftHiveMetastore_get_type_al
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_MAP, 0);
     {
       xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRUCT, this->success.size());
-      std::map<std::string, Type> ::const_iterator _iter119;
-      for (_iter119 = this->success.begin(); _iter119 != this->success.end(); ++_iter119)
+      std::map<std::string, Type> ::const_iterator _iter127;
+      for (_iter127 = this->success.begin(); _iter127 != this->success.end(); ++_iter127)
       {
-        xfer += oprot->writeString(_iter119->first);
-        xfer += _iter119->second.write(oprot);
+        xfer += oprot->writeString(_iter127->first);
+        xfer += _iter127->second.write(oprot);
       }
       xfer += oprot->writeMapEnd();
     }
@@ -1813,17 +1813,17 @@ uint32_t ThriftHiveMetastore_get_type_al
         if (ftype == apache::thrift::protocol::T_MAP) {
           {
             (*(this->success)).clear();
-            uint32_t _size120;
-            apache::thrift::protocol::TType _ktype121;
-            apache::thrift::protocol::TType _vtype122;
-            iprot->readMapBegin(_ktype121, _vtype122, _size120);
-            uint32_t _i124;
-            for (_i124 = 0; _i124 < _size120; ++_i124)
+            uint32_t _size128;
+            apache::thrift::protocol::TType _ktype129;
+            apache::thrift::protocol::TType _vtype130;
+            iprot->readMapBegin(_ktype129, _vtype130, _size128);
+            uint32_t _i132;
+            for (_i132 = 0; _i132 < _size128; ++_i132)
             {
-              std::string _key125;
-              xfer += iprot->readString(_key125);
-              Type& _val126 = (*(this->success))[_key125];
-              xfer += _val126.read(iprot);
+              std::string _key133;
+              xfer += iprot->readString(_key133);
+              Type& _val134 = (*(this->success))[_key133];
+              xfer += _val134.read(iprot);
             }
             iprot->readMapEnd();
           }
@@ -1952,14 +1952,14 @@ uint32_t ThriftHiveMetastore_get_fields_
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->success.clear();
-            uint32_t _size127;
-            apache::thrift::protocol::TType _etype130;
-            iprot->readListBegin(_etype130, _size127);
-            this->success.resize(_size127);
-            uint32_t _i131;
-            for (_i131 = 0; _i131 < _size127; ++_i131)
+            uint32_t _size135;
+            apache::thrift::protocol::TType _etype138;
+            iprot->readListBegin(_etype138, _size135);
+            this->success.resize(_size135);
+            uint32_t _i139;
+            for (_i139 = 0; _i139 < _size135; ++_i139)
             {
-              xfer += this->success[_i131].read(iprot);
+              xfer += this->success[_i139].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -2014,10 +2014,10 @@ uint32_t ThriftHiveMetastore_get_fields_
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
     {
       xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->success.size());
-      std::vector<FieldSchema> ::const_iterator _iter132;
-      for (_iter132 = this->success.begin(); _iter132 != this->success.end(); ++_iter132)
+      std::vector<FieldSchema> ::const_iterator _iter140;
+      for (_iter140 = this->success.begin(); _iter140 != this->success.end(); ++_iter140)
       {
-        xfer += (*_iter132).write(oprot);
+        xfer += (*_iter140).write(oprot);
       }
       xfer += oprot->writeListEnd();
     }
@@ -2064,14 +2064,14 @@ uint32_t ThriftHiveMetastore_get_fields_
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             (*(this->success)).clear();
-            uint32_t _size133;
-            apache::thrift::protocol::TType _etype136;
-            iprot->readListBegin(_etype136, _size133);
-            (*(this->success)).resize(_size133);
-            uint32_t _i137;
-            for (_i137 = 0; _i137 < _size133; ++_i137)
+            uint32_t _size141;
+            apache::thrift::protocol::TType _etype144;
+            iprot->readListBegin(_etype144, _size141);
+            (*(this->success)).resize(_size141);
+            uint32_t _i145;
+            for (_i145 = 0; _i145 < _size141; ++_i145)
             {
-              xfer += (*(this->success))[_i137].read(iprot);
+              xfer += (*(this->success))[_i145].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -2216,14 +2216,14 @@ uint32_t ThriftHiveMetastore_get_schema_
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->success.clear();
-            uint32_t _size138;
-            apache::thrift::protocol::TType _etype141;
-            iprot->readListBegin(_etype141, _size138);
-            this->success.resize(_size138);
-            uint32_t _i142;
-            for (_i142 = 0; _i142 < _size138; ++_i142)
+            uint32_t _size146;
+            apache::thrift::protocol::TType _etype149;
+            iprot->readListBegin(_etype149, _size146);
+            this->success.resize(_size146);
+            uint32_t _i150;
+            for (_i150 = 0; _i150 < _size146; ++_i150)
             {
-              xfer += this->success[_i142].read(iprot);
+              xfer += this->success[_i150].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -2278,10 +2278,10 @@ uint32_t ThriftHiveMetastore_get_schema_
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
     {
       xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->success.size());
-      std::vector<FieldSchema> ::const_iterator _iter143;
-      for (_iter143 = this->success.begin(); _iter143 != this->success.end(); ++_iter143)
+      std::vector<FieldSchema> ::const_iterator _iter151;
+      for (_iter151 = this->success.begin(); _iter151 != this->success.end(); ++_iter151)
       {
-        xfer += (*_iter143).write(oprot);
+        xfer += (*_iter151).write(oprot);
       }
       xfer += oprot->writeListEnd();
     }
@@ -2328,14 +2328,14 @@ uint32_t ThriftHiveMetastore_get_schema_
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             (*(this->success)).clear();
-            uint32_t _size144;
-            apache::thrift::protocol::TType _etype147;
-            iprot->readListBegin(_etype147, _size144);
-            (*(this->success)).resize(_size144);
-            uint32_t _i148;
-            for (_i148 = 0; _i148 < _size144; ++_i148)
+            uint32_t _size152;
+            apache::thrift::protocol::TType _etype155;
+            iprot->readListBegin(_etype155, _size152);
+            (*(this->success)).resize(_size152);
+            uint32_t _i156;
+            for (_i156 = 0; _i156 < _size152; ++_i156)
             {
-              xfer += (*(this->success))[_i148].read(iprot);
+              xfer += (*(this->success))[_i156].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -2904,14 +2904,14 @@ uint32_t ThriftHiveMetastore_get_tables_
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->success.clear();
-            uint32_t _size149;
-            apache::thrift::protocol::TType _etype152;
-            iprot->readListBegin(_etype152, _size149);
-            this->success.resize(_size149);
-            uint32_t _i153;
-            for (_i153 = 0; _i153 < _size149; ++_i153)
+            uint32_t _size157;
+            apache::thrift::protocol::TType _etype160;
+            iprot->readListBegin(_etype160, _size157);
+            this->success.resize(_size157);
+            uint32_t _i161;
+            for (_i161 = 0; _i161 < _size157; ++_i161)
             {
-              xfer += iprot->readString(this->success[_i153]);
+              xfer += iprot->readString(this->success[_i161]);
             }
             iprot->readListEnd();
           }
@@ -2950,10 +2950,10 @@ uint32_t ThriftHiveMetastore_get_tables_
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
     {
       xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
-      std::vector<std::string> ::const_iterator _iter154;
-      for (_iter154 = this->success.begin(); _iter154 != this->success.end(); ++_iter154)
+      std::vector<std::string> ::const_iterator _iter162;
+      for (_iter162 = this->success.begin(); _iter162 != this->success.end(); ++_iter162)
       {
-        xfer += oprot->writeString((*_iter154));
+        xfer += oprot->writeString((*_iter162));
       }
       xfer += oprot->writeListEnd();
     }
@@ -2992,14 +2992,14 @@ uint32_t ThriftHiveMetastore_get_tables_
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             (*(this->success)).clear();
-            uint32_t _size155;
-            apache::thrift::protocol::TType _etype158;
-            iprot->readListBegin(_etype158, _size155);
-            (*(this->success)).resize(_size155);
-            uint32_t _i159;
-            for (_i159 = 0; _i159 < _size155; ++_i159)
+            uint32_t _size163;
+            apache::thrift::protocol::TType _etype166;
+            iprot->readListBegin(_etype166, _size163);
+            (*(this->success)).resize(_size163);
+            uint32_t _i167;
+            for (_i167 = 0; _i167 < _size163; ++_i167)
             {
-              xfer += iprot->readString((*(this->success))[_i159]);
+              xfer += iprot->readString((*(this->success))[_i167]);
             }
             iprot->readListEnd();
           }
@@ -3114,14 +3114,14 @@ uint32_t ThriftHiveMetastore_get_all_tab
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->success.clear();
-            uint32_t _size160;
-            apache::thrift::protocol::TType _etype163;
-            iprot->readListBegin(_etype163, _size160);
-            this->success.resize(_size160);
-            uint32_t _i164;
-            for (_i164 = 0; _i164 < _size160; ++_i164)
+            uint32_t _size168;
+            apache::thrift::protocol::TType _etype171;
+            iprot->readListBegin(_etype171, _size168);
+            this->success.resize(_size168);
+            uint32_t _i172;
+            for (_i172 = 0; _i172 < _size168; ++_i172)
             {
-              xfer += iprot->readString(this->success[_i164]);
+              xfer += iprot->readString(this->success[_i172]);
             }
             iprot->readListEnd();
           }
@@ -3160,10 +3160,10 @@ uint32_t ThriftHiveMetastore_get_all_tab
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
     {
       xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
-      std::vector<std::string> ::const_iterator _iter165;
-      for (_iter165 = this->success.begin(); _iter165 != this->success.end(); ++_iter165)
+      std::vector<std::string> ::const_iterator _iter173;
+      for (_iter173 = this->success.begin(); _iter173 != this->success.end(); ++_iter173)
       {
-        xfer += oprot->writeString((*_iter165));
+        xfer += oprot->writeString((*_iter173));
       }
       xfer += oprot->writeListEnd();
     }
@@ -3202,14 +3202,14 @@ uint32_t ThriftHiveMetastore_get_all_tab
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             (*(this->success)).clear();
-            uint32_t _size166;
-            apache::thrift::protocol::TType _etype169;
-            iprot->readListBegin(_etype169, _size166);
-            (*(this->success)).resize(_size166);
-            uint32_t _i170;
-            for (_i170 = 0; _i170 < _size166; ++_i170)
+            uint32_t _size174;
+            apache::thrift::protocol::TType _etype177;
+            iprot->readListBegin(_etype177, _size174);
+            (*(this->success)).resize(_size174);
+            uint32_t _i178;
+            for (_i178 = 0; _i178 < _size174; ++_i178)
             {
-              xfer += iprot->readString((*(this->success))[_i170]);
+              xfer += iprot->readString((*(this->success))[_i178]);
             }
             iprot->readListEnd();
           }
@@ -3914,14 +3914,14 @@ uint32_t ThriftHiveMetastore_append_part
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->part_vals.clear();
-            uint32_t _size171;
-            apache::thrift::protocol::TType _etype174;
-            iprot->readListBegin(_etype174, _size171);
-            this->part_vals.resize(_size171);
-            uint32_t _i175;
-            for (_i175 = 0; _i175 < _size171; ++_i175)
+            uint32_t _size179;
+            apache::thrift::protocol::TType _etype182;
+            iprot->readListBegin(_etype182, _size179);
+            this->part_vals.resize(_size179);
+            uint32_t _i183;
+            for (_i183 = 0; _i183 < _size179; ++_i183)
             {
-              xfer += iprot->readString(this->part_vals[_i175]);
+              xfer += iprot->readString(this->part_vals[_i183]);
             }
             iprot->readListEnd();
           }
@@ -3954,10 +3954,10 @@ uint32_t ThriftHiveMetastore_append_part
   xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->part_vals.size());
-    std::vector<std::string> ::const_iterator _iter176;
-    for (_iter176 = this->part_vals.begin(); _iter176 != this->part_vals.end(); ++_iter176)
+    std::vector<std::string> ::const_iterator _iter184;
+    for (_iter184 = this->part_vals.begin(); _iter184 != this->part_vals.end(); ++_iter184)
     {
-      xfer += oprot->writeString((*_iter176));
+      xfer += oprot->writeString((*_iter184));
     }
     xfer += oprot->writeListEnd();
   }
@@ -3979,10 +3979,10 @@ uint32_t ThriftHiveMetastore_append_part
   xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
-    std::vector<std::string> ::const_iterator _iter177;
-    for (_iter177 = (*(this->part_vals)).begin(); _iter177 != (*(this->part_vals)).end(); ++_iter177)
+    std::vector<std::string> ::const_iterator _iter185;
+    for (_iter185 = (*(this->part_vals)).begin(); _iter185 != (*(this->part_vals)).end(); ++_iter185)
     {
-      xfer += oprot->writeString((*_iter177));
+      xfer += oprot->writeString((*_iter185));
     }
     xfer += oprot->writeListEnd();
   }
@@ -4434,14 +4434,14 @@ uint32_t ThriftHiveMetastore_drop_partit
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->part_vals.clear();
-            uint32_t _size178;
-            apache::thrift::protocol::TType _etype181;
-            iprot->readListBegin(_etype181, _size178);
-            this->part_vals.resize(_size178);
-            uint32_t _i182;
-            for (_i182 = 0; _i182 < _size178; ++_i182)
+            uint32_t _size186;
+            apache::thrift::protocol::TType _etype189;
+            iprot->readListBegin(_etype189, _size186);
+            this->part_vals.resize(_size186);
+            uint32_t _i190;
+            for (_i190 = 0; _i190 < _size186; ++_i190)
             {
-              xfer += iprot->readString(this->part_vals[_i182]);
+              xfer += iprot->readString(this->part_vals[_i190]);
             }
             iprot->readListEnd();
           }
@@ -4482,10 +4482,10 @@ uint32_t ThriftHiveMetastore_drop_partit
   xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->part_vals.size());
-    std::vector<std::string> ::const_iterator _iter183;
-    for (_iter183 = this->part_vals.begin(); _iter183 != this->part_vals.end(); ++_iter183)
+    std::vector<std::string> ::const_iterator _iter191;
+    for (_iter191 = this->part_vals.begin(); _iter191 != this->part_vals.end(); ++_iter191)
     {
-      xfer += oprot->writeString((*_iter183));
+      xfer += oprot->writeString((*_iter191));
     }
     xfer += oprot->writeListEnd();
   }
@@ -4510,10 +4510,10 @@ uint32_t ThriftHiveMetastore_drop_partit
   xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
-    std::vector<std::string> ::const_iterator _iter184;
-    for (_iter184 = (*(this->part_vals)).begin(); _iter184 != (*(this->part_vals)).end(); ++_iter184)
+    std::vector<std::string> ::const_iterator _iter192;
+    for (_iter192 = (*(this->part_vals)).begin(); _iter192 != (*(this->part_vals)).end(); ++_iter192)
     {
-      xfer += oprot->writeString((*_iter184));
+      xfer += oprot->writeString((*_iter192));
     }
     xfer += oprot->writeListEnd();
   }
@@ -4942,14 +4942,14 @@ uint32_t ThriftHiveMetastore_get_partiti
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->part_vals.clear();
-            uint32_t _size185;
-            apache::thrift::protocol::TType _etype188;
-            iprot->readListBegin(_etype188, _size185);
-            this->part_vals.resize(_size185);
-            uint32_t _i189;
-            for (_i189 = 0; _i189 < _size185; ++_i189)
+            uint32_t _size193;
+            apache::thrift::protocol::TType _etype196;
+            iprot->readListBegin(_etype196, _size193);
+            this->part_vals.resize(_size193);
+            uint32_t _i197;
+            for (_i197 = 0; _i197 < _size193; ++_i197)
             {
-              xfer += iprot->readString(this->part_vals[_i189]);
+              xfer += iprot->readString(this->part_vals[_i197]);
             }
             iprot->readListEnd();
           }
@@ -4982,10 +4982,10 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->part_vals.size());
-    std::vector<std::string> ::const_iterator _iter190;
-    for (_iter190 = this->part_vals.begin(); _iter190 != this->part_vals.end(); ++_iter190)
+    std::vector<std::string> ::const_iterator _iter198;
+    for (_iter198 = this->part_vals.begin(); _iter198 != this->part_vals.end(); ++_iter198)
     {
-      xfer += oprot->writeString((*_iter190));
+      xfer += oprot->writeString((*_iter198));
     }
     xfer += oprot->writeListEnd();
   }
@@ -5007,10 +5007,10 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
-    std::vector<std::string> ::const_iterator _iter191;
-    for (_iter191 = (*(this->part_vals)).begin(); _iter191 != (*(this->part_vals)).end(); ++_iter191)
+    std::vector<std::string> ::const_iterator _iter199;
+    for (_iter199 = (*(this->part_vals)).begin(); _iter199 != (*(this->part_vals)).end(); ++_iter199)
     {
-      xfer += oprot->writeString((*_iter191));
+      xfer += oprot->writeString((*_iter199));
     }
     xfer += oprot->writeListEnd();
   }
@@ -5496,14 +5496,14 @@ uint32_t ThriftHiveMetastore_get_partiti
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->success.clear();
-            uint32_t _size192;
-            apache::thrift::protocol::TType _etype195;
-            iprot->readListBegin(_etype195, _size192);
-            this->success.resize(_size192);
-            uint32_t _i196;
-            for (_i196 = 0; _i196 < _size192; ++_i196)
+            uint32_t _size200;
+            apache::thrift::protocol::TType _etype203;
+            iprot->readListBegin(_etype203, _size200);
+            this->success.resize(_size200);
+            uint32_t _i204;
+            for (_i204 = 0; _i204 < _size200; ++_i204)
             {
-              xfer += this->success[_i196].read(iprot);
+              xfer += this->success[_i204].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -5550,10 +5550,10 @@ uint32_t ThriftHiveMetastore_get_partiti
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
     {
       xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->success.size());
-      std::vector<Partition> ::const_iterator _iter197;
-      for (_iter197 = this->success.begin(); _iter197 != this->success.end(); ++_iter197)
+      std::vector<Partition> ::const_iterator _iter205;
+      for (_iter205 = this->success.begin(); _iter205 != this->success.end(); ++_iter205)
       {
-        xfer += (*_iter197).write(oprot);
+        xfer += (*_iter205).write(oprot);
       }
       xfer += oprot->writeListEnd();
     }
@@ -5596,14 +5596,14 @@ uint32_t ThriftHiveMetastore_get_partiti
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             (*(this->success)).clear();
-            uint32_t _size198;
-            apache::thrift::protocol::TType _etype201;
-            iprot->readListBegin(_etype201, _size198);
-            (*(this->success)).resize(_size198);
-            uint32_t _i202;
-            for (_i202 = 0; _i202 < _size198; ++_i202)
+            uint32_t _size206;
+            apache::thrift::protocol::TType _etype209;
+            iprot->readListBegin(_etype209, _size206);
+            (*(this->success)).resize(_size206);
+            uint32_t _i210;
+            for (_i210 = 0; _i210 < _size206; ++_i210)
             {
-              xfer += (*(this->success))[_i202].read(iprot);
+              xfer += (*(this->success))[_i210].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -5754,14 +5754,14 @@ uint32_t ThriftHiveMetastore_get_partiti
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->success.clear();
-            uint32_t _size203;
-            apache::thrift::protocol::TType _etype206;
-            iprot->readListBegin(_etype206, _size203);
-            this->success.resize(_size203);
-            uint32_t _i207;
-            for (_i207 = 0; _i207 < _size203; ++_i207)
+            uint32_t _size211;
+            apache::thrift::protocol::TType _etype214;
+            iprot->readListBegin(_etype214, _size211);
+            this->success.resize(_size211);
+            uint32_t _i215;
+            for (_i215 = 0; _i215 < _size211; ++_i215)
             {
-              xfer += iprot->readString(this->success[_i207]);
+              xfer += iprot->readString(this->success[_i215]);
             }
             iprot->readListEnd();
           }
@@ -5800,10 +5800,10 @@ uint32_t ThriftHiveMetastore_get_partiti
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
     {
       xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
-      std::vector<std::string> ::const_iterator _iter208;
-      for (_iter208 = this->success.begin(); _iter208 != this->success.end(); ++_iter208)
+      std::vector<std::string> ::const_iterator _iter216;
+      for (_iter216 = this->success.begin(); _iter216 != this->success.end(); ++_iter216)
       {
-        xfer += oprot->writeString((*_iter208));
+        xfer += oprot->writeString((*_iter216));
       }
       xfer += oprot->writeListEnd();
     }
@@ -5842,14 +5842,14 @@ uint32_t ThriftHiveMetastore_get_partiti
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             (*(this->success)).clear();
-            uint32_t _size209;
-            apache::thrift::protocol::TType _etype212;
-            iprot->readListBegin(_etype212, _size209);
-            (*(this->success)).resize(_size209);
-            uint32_t _i213;
-            for (_i213 = 0; _i213 < _size209; ++_i213)
+            uint32_t _size217;
+            apache::thrift::protocol::TType _etype220;
+            iprot->readListBegin(_etype220, _size217);
+            (*(this->success)).resize(_size217);
+            uint32_t _i221;
+            for (_i221 = 0; _i221 < _size217; ++_i221)
             {
-              xfer += iprot->readString((*(this->success))[_i213]);
+              xfer += iprot->readString((*(this->success))[_i221]);
             }
             iprot->readListEnd();
           }
@@ -5918,14 +5918,14 @@ uint32_t ThriftHiveMetastore_get_partiti
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->part_vals.clear();
-            uint32_t _size214;
-            apache::thrift::protocol::TType _etype217;
-            iprot->readListBegin(_etype217, _size214);
-            this->part_vals.resize(_size214);
-            uint32_t _i218;
-            for (_i218 = 0; _i218 < _size214; ++_i218)
+            uint32_t _size222;
+            apache::thrift::protocol::TType _etype225;
+            iprot->readListBegin(_etype225, _size222);
+            this->part_vals.resize(_size222);
+            uint32_t _i226;
+            for (_i226 = 0; _i226 < _size222; ++_i226)
             {
-              xfer += iprot->readString(this->part_vals[_i218]);
+              xfer += iprot->readString(this->part_vals[_i226]);
             }
             iprot->readListEnd();
           }
@@ -5966,10 +5966,10 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->part_vals.size());
-    std::vector<std::string> ::const_iterator _iter219;
-    for (_iter219 = this->part_vals.begin(); _iter219 != this->part_vals.end(); ++_iter219)
+    std::vector<std::string> ::const_iterator _iter227;
+    for (_iter227 = this->part_vals.begin(); _iter227 != this->part_vals.end(); ++_iter227)
     {
-      xfer += oprot->writeString((*_iter219));
+      xfer += oprot->writeString((*_iter227));
     }
     xfer += oprot->writeListEnd();
   }
@@ -5994,10 +5994,10 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
-    std::vector<std::string> ::const_iterator _iter220;
-    for (_iter220 = (*(this->part_vals)).begin(); _iter220 != (*(this->part_vals)).end(); ++_iter220)
+    std::vector<std::string> ::const_iterator _iter228;
+    for (_iter228 = (*(this->part_vals)).begin(); _iter228 != (*(this->part_vals)).end(); ++_iter228)
     {
-      xfer += oprot->writeString((*_iter220));
+      xfer += oprot->writeString((*_iter228));
     }
     xfer += oprot->writeListEnd();
   }
@@ -6034,14 +6034,14 @@ uint32_t ThriftHiveMetastore_get_partiti
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->success.clear();
-            uint32_t _size221;
-            apache::thrift::protocol::TType _etype224;
-            iprot->readListBegin(_etype224, _size221);
-            this->success.resize(_size221);
-            uint32_t _i225;
-            for (_i225 = 0; _i225 < _size221; ++_i225)
+            uint32_t _size229;
+            apache::thrift::protocol::TType _etype232;
+            iprot->readListBegin(_etype232, _size229);
+            this->success.resize(_size229);
+            uint32_t _i233;
+            for (_i233 = 0; _i233 < _size229; ++_i233)
             {
-              xfer += this->success[_i225].read(iprot);
+              xfer += this->success[_i233].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -6080,10 +6080,10 @@ uint32_t ThriftHiveMetastore_get_partiti
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
     {
       xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->success.size());
-      std::vector<Partition> ::const_iterator _iter226;
-      for (_iter226 = this->success.begin(); _iter226 != this->success.end(); ++_iter226)
+      std::vector<Partition> ::const_iterator _iter234;
+      for (_iter234 = this->success.begin(); _iter234 != this->success.end(); ++_iter234)
       {
-        xfer += (*_iter226).write(oprot);
+        xfer += (*_iter234).write(oprot);
       }
       xfer += oprot->writeListEnd();
     }
@@ -6122,14 +6122,14 @@ uint32_t ThriftHiveMetastore_get_partiti
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             (*(this->success)).clear();
-            uint32_t _size227;
-            apache::thrift::protocol::TType _etype230;
-            iprot->readListBegin(_etype230, _size227);
-            (*(this->success)).resize(_size227);
-            uint32_t _i231;
-            for (_i231 = 0; _i231 < _size227; ++_i231)
+            uint32_t _size235;
+            apache::thrift::protocol::TType _etype238;
+            iprot->readListBegin(_etype238, _size235);
+            (*(this->success)).resize(_size235);
+            uint32_t _i239;
+            for (_i239 = 0; _i239 < _size235; ++_i239)
             {
-              xfer += (*(this->success))[_i231].read(iprot);
+              xfer += (*(this->success))[_i239].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -6198,14 +6198,14 @@ uint32_t ThriftHiveMetastore_get_partiti
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->part_vals.clear();
-            uint32_t _size232;
-            apache::thrift::protocol::TType _etype235;
-            iprot->readListBegin(_etype235, _size232);
-            this->part_vals.resize(_size232);
-            uint32_t _i236;
-            for (_i236 = 0; _i236 < _size232; ++_i236)
+            uint32_t _size240;
+            apache::thrift::protocol::TType _etype243;
+            iprot->readListBegin(_etype243, _size240);
+            this->part_vals.resize(_size240);
+            uint32_t _i244;
+            for (_i244 = 0; _i244 < _size240; ++_i244)
             {
-              xfer += iprot->readString(this->part_vals[_i236]);
+              xfer += iprot->readString(this->part_vals[_i244]);
             }
             iprot->readListEnd();
           }
@@ -6246,10 +6246,10 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->part_vals.size());
-    std::vector<std::string> ::const_iterator _iter237;
-    for (_iter237 = this->part_vals.begin(); _iter237 != this->part_vals.end(); ++_iter237)
+    std::vector<std::string> ::const_iterator _iter245;
+    for (_iter245 = this->part_vals.begin(); _iter245 != this->part_vals.end(); ++_iter245)
     {
-      xfer += oprot->writeString((*_iter237));
+      xfer += oprot->writeString((*_iter245));
     }
     xfer += oprot->writeListEnd();
   }
@@ -6274,10 +6274,10 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
-    std::vector<std::string> ::const_iterator _iter238;
-    for (_iter238 = (*(this->part_vals)).begin(); _iter238 != (*(this->part_vals)).end(); ++_iter238)
+    std::vector<std::string> ::const_iterator _iter246;
+    for (_iter246 = (*(this->part_vals)).begin(); _iter246 != (*(this->part_vals)).end(); ++_iter246)
     {
-      xfer += oprot->writeString((*_iter238));
+      xfer += oprot->writeString((*_iter246));
     }
     xfer += oprot->writeListEnd();
   }
@@ -6314,14 +6314,14 @@ uint32_t ThriftHiveMetastore_get_partiti
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->success.clear();
-            uint32_t _size239;
-            apache::thrift::protocol::TType _etype242;
-            iprot->readListBegin(_etype242, _size239);
-            this->success.resize(_size239);
-            uint32_t _i243;
-            for (_i243 = 0; _i243 < _size239; ++_i243)
+            uint32_t _size247;
+            apache::thrift::protocol::TType _etype250;
+            iprot->readListBegin(_etype250, _size247);
+            this->success.resize(_size247);
+            uint32_t _i251;
+            for (_i251 = 0; _i251 < _size247; ++_i251)
             {
-              xfer += iprot->readString(this->success[_i243]);
+              xfer += iprot->readString(this->success[_i251]);
             }
             iprot->readListEnd();
           }
@@ -6360,10 +6360,10 @@ uint32_t ThriftHiveMetastore_get_partiti
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
     {
       xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
-      std::vector<std::string> ::const_iterator _iter244;
-      for (_iter244 = this->success.begin(); _iter244 != this->success.end(); ++_iter244)
+      std::vector<std::string> ::const_iterator _iter252;
+      for (_iter252 = this->success.begin(); _iter252 != this->success.end(); ++_iter252)
       {
-        xfer += oprot->writeString((*_iter244));
+        xfer += oprot->writeString((*_iter252));
       }
       xfer += oprot->writeListEnd();
     }
@@ -6402,14 +6402,14 @@ uint32_t ThriftHiveMetastore_get_partiti
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             (*(this->success)).clear();
-            uint32_t _size245;
-            apache::thrift::protocol::TType _etype248;
-            iprot->readListBegin(_etype248, _size245);
-            (*(this->success)).resize(_size245);
-            uint32_t _i249;
-            for (_i249 = 0; _i249 < _size245; ++_i249)
+            uint32_t _size253;
+            apache::thrift::protocol::TType _etype256;
+            iprot->readListBegin(_etype256, _size253);
+            (*(this->success)).resize(_size253);
+            uint32_t _i257;
+            for (_i257 = 0; _i257 < _size253; ++_i257)
             {
-              xfer += iprot->readString((*(this->success))[_i249]);
+              xfer += iprot->readString((*(this->success))[_i257]);
             }
             iprot->readListEnd();
           }
@@ -6566,14 +6566,14 @@ uint32_t ThriftHiveMetastore_get_partiti
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->success.clear();
-            uint32_t _size250;
-            apache::thrift::protocol::TType _etype253;
-            iprot->readListBegin(_etype253, _size250);
-            this->success.resize(_size250);
-            uint32_t _i254;
-            for (_i254 = 0; _i254 < _size250; ++_i254)
+            uint32_t _size258;
+            apache::thrift::protocol::TType _etype261;
+            iprot->readListBegin(_etype261, _size258);
+            this->success.resize(_size258);
+            uint32_t _i262;
+            for (_i262 = 0; _i262 < _size258; ++_i262)
             {
-              xfer += this->success[_i254].read(iprot);
+              xfer += this->success[_i262].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -6620,10 +6620,10 @@ uint32_t ThriftHiveMetastore_get_partiti
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
     {
       xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->success.size());
-      std::vector<Partition> ::const_iterator _iter255;
-      for (_iter255 = this->success.begin(); _iter255 != this->success.end(); ++_iter255)
+      std::vector<Partition> ::const_iterator _iter263;
+      for (_iter263 = this->success.begin(); _iter263 != this->success.end(); ++_iter263)
       {
-        xfer += (*_iter255).write(oprot);
+        xfer += (*_iter263).write(oprot);
       }
       xfer += oprot->writeListEnd();
     }
@@ -6666,14 +6666,14 @@ uint32_t ThriftHiveMetastore_get_partiti
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             (*(this->success)).clear();
-            uint32_t _size256;
-            apache::thrift::protocol::TType _etype259;
-            iprot->readListBegin(_etype259, _size256);
-            (*(this->success)).resize(_size256);
-            uint32_t _i260;
-            for (_i260 = 0; _i260 < _size256; ++_i260)
+            uint32_t _size264;
+            apache::thrift::protocol::TType _etype267;
+            iprot->readListBegin(_etype267, _size264);
+            (*(this->success)).resize(_size264);
+            uint32_t _i268;
+            for (_i268 = 0; _i268 < _size264; ++_i268)
             {
-              xfer += (*(this->success))[_i260].read(iprot);
+              xfer += (*(this->success))[_i268].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -7194,14 +7194,14 @@ uint32_t ThriftHiveMetastore_partition_n
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->success.clear();
-            uint32_t _size261;
-            apache::thrift::protocol::TType _etype264;
-            iprot->readListBegin(_etype264, _size261);
-            this->success.resize(_size261);
-            uint32_t _i265;
-            for (_i265 = 0; _i265 < _size261; ++_i265)
+            uint32_t _size269;
+            apache::thrift::protocol::TType _etype272;
+            iprot->readListBegin(_etype272, _size269);
+            this->success.resize(_size269);
+            uint32_t _i273;
+            for (_i273 = 0; _i273 < _size269; ++_i273)
             {
-              xfer += iprot->readString(this->success[_i265]);
+              xfer += iprot->readString(this->success[_i273]);
             }
             iprot->readListEnd();
           }
@@ -7240,10 +7240,10 @@ uint32_t ThriftHiveMetastore_partition_n
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
     {
       xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
-      std::vector<std::string> ::const_iterator _iter266;
-      for (_iter266 = this->success.begin(); _iter266 != this->success.end(); ++_iter266)
+      std::vector<std::string> ::const_iterator _iter274;
+      for (_iter274 = this->success.begin(); _iter274 != this->success.end(); ++_iter274)
       {
-        xfer += oprot->writeString((*_iter266));
+        xfer += oprot->writeString((*_iter274));
       }
       xfer += oprot->writeListEnd();
     }
@@ -7282,14 +7282,14 @@ uint32_t ThriftHiveMetastore_partition_n
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             (*(this->success)).clear();
-            uint32_t _size267;
-            apache::thrift::protocol::TType _etype270;
-            iprot->readListBegin(_etype270, _size267);
-            (*(this->success)).resize(_size267);
-            uint32_t _i271;
-            for (_i271 = 0; _i271 < _size267; ++_i271)
+            uint32_t _size275;
+            apache::thrift::protocol::TType _etype278;
+            iprot->readListBegin(_etype278, _size275);
+            (*(this->success)).resize(_size275);
+            uint32_t _i279;
+            for (_i279 = 0; _i279 < _size275; ++_i279)
             {
-              xfer += iprot->readString((*(this->success))[_i271]);
+              xfer += iprot->readString((*(this->success))[_i279]);
             }
             iprot->readListEnd();
           }
@@ -7404,17 +7404,17 @@ uint32_t ThriftHiveMetastore_partition_n
         if (ftype == apache::thrift::protocol::T_MAP) {
           {
             this->success.clear();
-            uint32_t _size272;
-            apache::thrift::protocol::TType _ktype273;
-            apache::thrift::protocol::TType _vtype274;
-            iprot->readMapBegin(_ktype273, _vtype274, _size272);
-            uint32_t _i276;
-            for (_i276 = 0; _i276 < _size272; ++_i276)
+            uint32_t _size280;
+            apache::thrift::protocol::TType _ktype281;
+            apache::thrift::protocol::TType _vtype282;
+            iprot->readMapBegin(_ktype281, _vtype282, _size280);
+            uint32_t _i284;
+            for (_i284 = 0; _i284 < _size280; ++_i284)
             {
-              std::string _key277;
-              xfer += iprot->readString(_key277);
-              std::string& _val278 = this->success[_key277];
-              xfer += iprot->readString(_val278);
+              std::string _key285;
+              xfer += iprot->readString(_key285);
+              std::string& _val286 = this->success[_key285];
+              xfer += iprot->readString(_val286);
             }
             iprot->readMapEnd();
           }
@@ -7453,11 +7453,11 @@ uint32_t ThriftHiveMetastore_partition_n
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_MAP, 0);
     {
       xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRING, this->success.size());
-      std::map<std::string, std::string> ::const_iterator _iter279;
-      for (_iter279 = this->success.begin(); _iter279 != this->success.end(); ++_iter279)
+      std::map<std::string, std::string> ::const_iterator _iter287;
+      for (_iter287 = this->success.begin(); _iter287 != this->success.end(); ++_iter287)
       {
-        xfer += oprot->writeString(_iter279->first);
-        xfer += oprot->writeString(_iter279->second);
+        xfer += oprot->writeString(_iter287->first);
+        xfer += oprot->writeString(_iter287->second);
       }
       xfer += oprot->writeMapEnd();
     }
@@ -7496,17 +7496,17 @@ uint32_t ThriftHiveMetastore_partition_n
         if (ftype == apache::thrift::protocol::T_MAP) {
           {
             (*(this->success)).clear();
-            uint32_t _size280;
-            apache::thrift::protocol::TType _ktype281;
-            apache::thrift::protocol::TType _vtype282;
-            iprot->readMapBegin(_ktype281, _vtype282, _size280);
-            uint32_t _i284;
-            for (_i284 = 0; _i284 < _size280; ++_i284)
+            uint32_t _size288;
+            apache::thrift::protocol::TType _ktype289;
+            apache::thrift::protocol::TType _vtype290;
+            iprot->readMapBegin(_ktype289, _vtype290, _size288);
+            uint32_t _i292;
+            for (_i292 = 0; _i292 < _size288; ++_i292)
             {
-              std::string _key285;
-              xfer += iprot->readString(_key285);
-              std::string& _val286 = (*(this->success))[_key285];
-              xfer += iprot->readString(_val286);
+              std::string _key293;
+              xfer += iprot->readString(_key293);
+              std::string& _val294 = (*(this->success))[_key293];
+              xfer += iprot->readString(_val294);
             }
             iprot->readMapEnd();
           }
@@ -8567,14 +8567,14 @@ uint32_t ThriftHiveMetastore_get_indexes
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->success.clear();
-            uint32_t _size287;
-            apache::thrift::protocol::TType _etype290;
-            iprot->readListBegin(_etype290, _size287);
-            this->success.resize(_size287);
-            uint32_t _i291;
-            for (_i291 = 0; _i291 < _size287; ++_i291)
+            uint32_t _size295;
+            apache::thrift::protocol::TType _etype298;
+            iprot->readListBegin(_etype298, _size295);
+            this->success.resize(_size295);
+            uint32_t _i299;
+            for (_i299 = 0; _i299 < _size295; ++_i299)
             {
-              xfer += this->success[_i291].read(iprot);
+              xfer += this->success[_i299].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -8621,10 +8621,10 @@ uint32_t ThriftHiveMetastore_get_indexes
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
     {
       xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->success.size());
-      std::vector<Index> ::const_iterator _iter292;
-      for (_iter292 = this->success.begin(); _iter292 != this->success.end(); ++_iter292)
+      std::vector<Index> ::const_iterator _iter300;
+      for (_iter300 = this->success.begin(); _iter300 != this->success.end(); ++_iter300)
       {
-        xfer += (*_iter292).write(oprot);
+        xfer += (*_iter300).write(oprot);
       }
       xfer += oprot->writeListEnd();
     }
@@ -8667,14 +8667,14 @@ uint32_t ThriftHiveMetastore_get_indexes
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             (*(this->success)).clear();
-            uint32_t _size293;
-            apache::thrift::protocol::TType _etype296;
-            iprot->readListBegin(_etype296, _size293);
-            (*(this->success)).resize(_size293);
-            uint32_t _i297;
-            for (_i297 = 0; _i297 < _size293; ++_i297)
+            uint32_t _size301;
+            apache::thrift::protocol::TType _etype304;
+            iprot->readListBegin(_etype304, _size301);
+            (*(this->success)).resize(_size301);
+            uint32_t _i305;
+            for (_i305 = 0; _i305 < _size301; ++_i305)
             {
-              xfer += (*(this->success))[_i297].read(iprot);
+              xfer += (*(this->success))[_i305].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -8825,14 +8825,14 @@ uint32_t ThriftHiveMetastore_get_index_n
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->success.clear();
-            uint32_t _size298;
-            apache::thrift::protocol::TType _etype301;
-            iprot->readListBegin(_etype301, _size298);
-            this->success.resize(_size298);
-            uint32_t _i302;
-            for (_i302 = 0; _i302 < _size298; ++_i302)
+            uint32_t _size306;
+            apache::thrift::protocol::TType _etype309;
+            iprot->readListBegin(_etype309, _size306);
+            this->success.resize(_size306);
+            uint32_t _i310;
+            for (_i310 = 0; _i310 < _size306; ++_i310)
             {
-              xfer += iprot->readString(this->success[_i302]);
+              xfer += iprot->readString(this->success[_i310]);
             }
             iprot->readListEnd();
           }
@@ -8871,10 +8871,10 @@ uint32_t ThriftHiveMetastore_get_index_n
     xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
     {
       xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
-      std::vector<std::string> ::const_iterator _iter303;
-      for (_iter303 = this->success.begin(); _iter303 != this->success.end(); ++_iter303)
+      std::vector<std::string> ::const_iterator _iter311;
+      for (_iter311 = this->success.begin(); _iter311 != this->success.end(); ++_iter311)
       {
-        xfer += oprot->writeString((*_iter303));
+        xfer += oprot->writeString((*_iter311));
       }
       xfer += oprot->writeListEnd();
     }
@@ -8913,14 +8913,14 @@ uint32_t ThriftHiveMetastore_get_index_n
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             (*(this->success)).clear();
-            uint32_t _size304;
-            apache::thrift::protocol::TType _etype307;
-            iprot->readListBegin(_etype307, _size304);
-            (*(this->success)).resize(_size304);
-            uint32_t _i308;
-            for (_i308 = 0; _i308 < _size304; ++_i308)
+            uint32_t _size312;
+            apache::thrift::protocol::TType _etype315;
+            iprot->readListBegin(_etype315, _size312);
+            (*(this->success)).resize(_size312);
+            uint32_t _i316;
+            for (_i316 = 0; _i316 < _size312; ++_i316)
             {
-              xfer += iprot->readString((*(this->success))[_i308]);
+              xfer += iprot->readString((*(this->success))[_i316]);
             }
             iprot->readListEnd();
           }

Modified: hive/trunk/metastore/src/gen-cpp/hive_metastore_types.cpp
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen-cpp/hive_metastore_types.cpp?rev=1043133&r1=1043132&r2=1043133&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen-cpp/hive_metastore_types.cpp (original)
+++ hive/trunk/metastore/src/gen-cpp/hive_metastore_types.cpp Tue Dec  7 17:19:40 2010
@@ -261,8 +261,8 @@ uint32_t Type::write(apache::thrift::pro
   return xfer;
 }
 
-const char* Database::ascii_fingerprint = "AB879940BD15B6B25691265F7384B271";
-const uint8_t Database::binary_fingerprint[16] = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71};
+const char* Database::ascii_fingerprint = "DD4B1A6F6F2E9C90B0A41B314EF1753F";
+const uint8_t Database::binary_fingerprint[16] = {0xDD,0x4B,0x1A,0x6F,0x6F,0x2E,0x9C,0x90,0xB0,0xA4,0x1B,0x31,0x4E,0xF1,0x75,0x3F};
 
 uint32_t Database::read(apache::thrift::protocol::TProtocol* iprot) {
 
@@ -308,6 +308,29 @@ uint32_t Database::read(apache::thrift::
           xfer += iprot->skip(ftype);
         }
         break;
+      case 4:
+        if (ftype == apache::thrift::protocol::T_MAP) {
+          {
+            this->parameters.clear();
+            uint32_t _size6;
+            apache::thrift::protocol::TType _ktype7;
+            apache::thrift::protocol::TType _vtype8;
+            iprot->readMapBegin(_ktype7, _vtype8, _size6);
+            uint32_t _i10;
+            for (_i10 = 0; _i10 < _size6; ++_i10)
+            {
+              std::string _key11;
+              xfer += iprot->readString(_key11);
+              std::string& _val12 = this->parameters[_key11];
+              xfer += iprot->readString(_val12);
+            }
+            iprot->readMapEnd();
+          }
+          this->__isset.parameters = true;
+        } else {
+          xfer += iprot->skip(ftype);
+        }
+        break;
       default:
         xfer += iprot->skip(ftype);
         break;
@@ -332,6 +355,18 @@ uint32_t Database::write(apache::thrift:
   xfer += oprot->writeFieldBegin("locationUri", apache::thrift::protocol::T_STRING, 3);
   xfer += oprot->writeString(this->locationUri);
   xfer += oprot->writeFieldEnd();
+  xfer += oprot->writeFieldBegin("parameters", apache::thrift::protocol::T_MAP, 4);
+  {
+    xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRING, this->parameters.size());
+    std::map<std::string, std::string> ::const_iterator _iter13;
+    for (_iter13 = this->parameters.begin(); _iter13 != this->parameters.end(); ++_iter13)
+    {
+      xfer += oprot->writeString(_iter13->first);
+      xfer += oprot->writeString(_iter13->second);
+    }
+    xfer += oprot->writeMapEnd();
+  }
+  xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldStop();
   xfer += oprot->writeStructEnd();
   return xfer;
@@ -380,17 +415,17 @@ uint32_t SerDeInfo::read(apache::thrift:
         if (ftype == apache::thrift::protocol::T_MAP) {
           {
             this->parameters.clear();
-            uint32_t _size6;
-            apache::thrift::protocol::TType _ktype7;
-            apache::thrift::protocol::TType _vtype8;
-            iprot->readMapBegin(_ktype7, _vtype8, _size6);
-            uint32_t _i10;
-            for (_i10 = 0; _i10 < _size6; ++_i10)
+            uint32_t _size14;
+            apache::thrift::protocol::TType _ktype15;
+            apache::thrift::protocol::TType _vtype16;
+            iprot->readMapBegin(_ktype15, _vtype16, _size14);
+            uint32_t _i18;
+            for (_i18 = 0; _i18 < _size14; ++_i18)
             {
-              std::string _key11;
-              xfer += iprot->readString(_key11);
-              std::string& _val12 = this->parameters[_key11];
-              xfer += iprot->readString(_val12);
+              std::string _key19;
+              xfer += iprot->readString(_key19);
+              std::string& _val20 = this->parameters[_key19];
+              xfer += iprot->readString(_val20);
             }
             iprot->readMapEnd();
           }
@@ -423,11 +458,11 @@ uint32_t SerDeInfo::write(apache::thrift
   xfer += oprot->writeFieldBegin("parameters", apache::thrift::protocol::T_MAP, 3);
   {
     xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRING, this->parameters.size());
-    std::map<std::string, std::string> ::const_iterator _iter13;
-    for (_iter13 = this->parameters.begin(); _iter13 != this->parameters.end(); ++_iter13)
+    std::map<std::string, std::string> ::const_iterator _iter21;
+    for (_iter21 = this->parameters.begin(); _iter21 != this->parameters.end(); ++_iter21)
     {
-      xfer += oprot->writeString(_iter13->first);
-      xfer += oprot->writeString(_iter13->second);
+      xfer += oprot->writeString(_iter21->first);
+      xfer += oprot->writeString(_iter21->second);
     }
     xfer += oprot->writeMapEnd();
   }
@@ -529,14 +564,14 @@ uint32_t StorageDescriptor::read(apache:
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->cols.clear();
-            uint32_t _size14;
-            apache::thrift::protocol::TType _etype17;
-            iprot->readListBegin(_etype17, _size14);
-            this->cols.resize(_size14);
-            uint32_t _i18;
-            for (_i18 = 0; _i18 < _size14; ++_i18)
+            uint32_t _size22;
+            apache::thrift::protocol::TType _etype25;
+            iprot->readListBegin(_etype25, _size22);
+            this->cols.resize(_size22);
+            uint32_t _i26;
+            for (_i26 = 0; _i26 < _size22; ++_i26)
             {
-              xfer += this->cols[_i18].read(iprot);
+              xfer += this->cols[_i26].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -597,14 +632,14 @@ uint32_t StorageDescriptor::read(apache:
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->bucketCols.clear();
-            uint32_t _size19;
-            apache::thrift::protocol::TType _etype22;
-            iprot->readListBegin(_etype22, _size19);
-            this->bucketCols.resize(_size19);
-            uint32_t _i23;
-            for (_i23 = 0; _i23 < _size19; ++_i23)
+            uint32_t _size27;
+            apache::thrift::protocol::TType _etype30;
+            iprot->readListBegin(_etype30, _size27);
+            this->bucketCols.resize(_size27);
+            uint32_t _i31;
+            for (_i31 = 0; _i31 < _size27; ++_i31)
             {
-              xfer += iprot->readString(this->bucketCols[_i23]);
+              xfer += iprot->readString(this->bucketCols[_i31]);
             }
             iprot->readListEnd();
           }
@@ -617,14 +652,14 @@ uint32_t StorageDescriptor::read(apache:
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->sortCols.clear();
-            uint32_t _size24;
-            apache::thrift::protocol::TType _etype27;
-            iprot->readListBegin(_etype27, _size24);
-            this->sortCols.resize(_size24);
-            uint32_t _i28;
-            for (_i28 = 0; _i28 < _size24; ++_i28)
+            uint32_t _size32;
+            apache::thrift::protocol::TType _etype35;
+            iprot->readListBegin(_etype35, _size32);
+            this->sortCols.resize(_size32);
+            uint32_t _i36;
+            for (_i36 = 0; _i36 < _size32; ++_i36)
             {
-              xfer += this->sortCols[_i28].read(iprot);
+              xfer += this->sortCols[_i36].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -637,17 +672,17 @@ uint32_t StorageDescriptor::read(apache:
         if (ftype == apache::thrift::protocol::T_MAP) {
           {
             this->parameters.clear();
-            uint32_t _size29;
-            apache::thrift::protocol::TType _ktype30;
-            apache::thrift::protocol::TType _vtype31;
-            iprot->readMapBegin(_ktype30, _vtype31, _size29);
-            uint32_t _i33;
-            for (_i33 = 0; _i33 < _size29; ++_i33)
+            uint32_t _size37;
+            apache::thrift::protocol::TType _ktype38;
+            apache::thrift::protocol::TType _vtype39;
+            iprot->readMapBegin(_ktype38, _vtype39, _size37);
+            uint32_t _i41;
+            for (_i41 = 0; _i41 < _size37; ++_i41)
             {
-              std::string _key34;
-              xfer += iprot->readString(_key34);
-              std::string& _val35 = this->parameters[_key34];
-              xfer += iprot->readString(_val35);
+              std::string _key42;
+              xfer += iprot->readString(_key42);
+              std::string& _val43 = this->parameters[_key42];
+              xfer += iprot->readString(_val43);
             }
             iprot->readMapEnd();
           }
@@ -674,10 +709,10 @@ uint32_t StorageDescriptor::write(apache
   xfer += oprot->writeFieldBegin("cols", apache::thrift::protocol::T_LIST, 1);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->cols.size());
-    std::vector<FieldSchema> ::const_iterator _iter36;
-    for (_iter36 = this->cols.begin(); _iter36 != this->cols.end(); ++_iter36)
+    std::vector<FieldSchema> ::const_iterator _iter44;
+    for (_iter44 = this->cols.begin(); _iter44 != this->cols.end(); ++_iter44)
     {
-      xfer += (*_iter36).write(oprot);
+      xfer += (*_iter44).write(oprot);
     }
     xfer += oprot->writeListEnd();
   }
@@ -703,10 +738,10 @@ uint32_t StorageDescriptor::write(apache
   xfer += oprot->writeFieldBegin("bucketCols", apache::thrift::protocol::T_LIST, 8);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->bucketCols.size());
-    std::vector<std::string> ::const_iterator _iter37;
-    for (_iter37 = this->bucketCols.begin(); _iter37 != this->bucketCols.end(); ++_iter37)
+    std::vector<std::string> ::const_iterator _iter45;
+    for (_iter45 = this->bucketCols.begin(); _iter45 != this->bucketCols.end(); ++_iter45)
     {
-      xfer += oprot->writeString((*_iter37));
+      xfer += oprot->writeString((*_iter45));
     }
     xfer += oprot->writeListEnd();
   }
@@ -714,10 +749,10 @@ uint32_t StorageDescriptor::write(apache
   xfer += oprot->writeFieldBegin("sortCols", apache::thrift::protocol::T_LIST, 9);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->sortCols.size());
-    std::vector<Order> ::const_iterator _iter38;
-    for (_iter38 = this->sortCols.begin(); _iter38 != this->sortCols.end(); ++_iter38)
+    std::vector<Order> ::const_iterator _iter46;
+    for (_iter46 = this->sortCols.begin(); _iter46 != this->sortCols.end(); ++_iter46)
     {
-      xfer += (*_iter38).write(oprot);
+      xfer += (*_iter46).write(oprot);
     }
     xfer += oprot->writeListEnd();
   }
@@ -725,11 +760,11 @@ uint32_t StorageDescriptor::write(apache
   xfer += oprot->writeFieldBegin("parameters", apache::thrift::protocol::T_MAP, 10);
   {
     xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRING, this->parameters.size());
-    std::map<std::string, std::string> ::const_iterator _iter39;
-    for (_iter39 = this->parameters.begin(); _iter39 != this->parameters.end(); ++_iter39)
+    std::map<std::string, std::string> ::const_iterator _iter47;
+    for (_iter47 = this->parameters.begin(); _iter47 != this->parameters.end(); ++_iter47)
     {
-      xfer += oprot->writeString(_iter39->first);
-      xfer += oprot->writeString(_iter39->second);
+      xfer += oprot->writeString(_iter47->first);
+      xfer += oprot->writeString(_iter47->second);
     }
     xfer += oprot->writeMapEnd();
   }
@@ -822,14 +857,14 @@ uint32_t Table::read(apache::thrift::pro
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->partitionKeys.clear();
-            uint32_t _size40;
-            apache::thrift::protocol::TType _etype43;
-            iprot->readListBegin(_etype43, _size40);
-            this->partitionKeys.resize(_size40);
-            uint32_t _i44;
-            for (_i44 = 0; _i44 < _size40; ++_i44)
+            uint32_t _size48;
+            apache::thrift::protocol::TType _etype51;
+            iprot->readListBegin(_etype51, _size48);
+            this->partitionKeys.resize(_size48);
+            uint32_t _i52;
+            for (_i52 = 0; _i52 < _size48; ++_i52)
             {
-              xfer += this->partitionKeys[_i44].read(iprot);
+              xfer += this->partitionKeys[_i52].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -842,17 +877,17 @@ uint32_t Table::read(apache::thrift::pro
         if (ftype == apache::thrift::protocol::T_MAP) {
           {
             this->parameters.clear();
-            uint32_t _size45;
-            apache::thrift::protocol::TType _ktype46;
-            apache::thrift::protocol::TType _vtype47;
-            iprot->readMapBegin(_ktype46, _vtype47, _size45);
-            uint32_t _i49;
-            for (_i49 = 0; _i49 < _size45; ++_i49)
+            uint32_t _size53;
+            apache::thrift::protocol::TType _ktype54;
+            apache::thrift::protocol::TType _vtype55;
+            iprot->readMapBegin(_ktype54, _vtype55, _size53);
+            uint32_t _i57;
+            for (_i57 = 0; _i57 < _size53; ++_i57)
             {
-              std::string _key50;
-              xfer += iprot->readString(_key50);
-              std::string& _val51 = this->parameters[_key50];
-              xfer += iprot->readString(_val51);
+              std::string _key58;
+              xfer += iprot->readString(_key58);
+              std::string& _val59 = this->parameters[_key58];
+              xfer += iprot->readString(_val59);
             }
             iprot->readMapEnd();
           }
@@ -924,10 +959,10 @@ uint32_t Table::write(apache::thrift::pr
   xfer += oprot->writeFieldBegin("partitionKeys", apache::thrift::protocol::T_LIST, 8);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->partitionKeys.size());
-    std::vector<FieldSchema> ::const_iterator _iter52;
-    for (_iter52 = this->partitionKeys.begin(); _iter52 != this->partitionKeys.end(); ++_iter52)
+    std::vector<FieldSchema> ::const_iterator _iter60;
+    for (_iter60 = this->partitionKeys.begin(); _iter60 != this->partitionKeys.end(); ++_iter60)
     {
-      xfer += (*_iter52).write(oprot);
+      xfer += (*_iter60).write(oprot);
     }
     xfer += oprot->writeListEnd();
   }
@@ -935,11 +970,11 @@ uint32_t Table::write(apache::thrift::pr
   xfer += oprot->writeFieldBegin("parameters", apache::thrift::protocol::T_MAP, 9);
   {
     xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRING, this->parameters.size());
-    std::map<std::string, std::string> ::const_iterator _iter53;
-    for (_iter53 = this->parameters.begin(); _iter53 != this->parameters.end(); ++_iter53)
+    std::map<std::string, std::string> ::const_iterator _iter61;
+    for (_iter61 = this->parameters.begin(); _iter61 != this->parameters.end(); ++_iter61)
     {
-      xfer += oprot->writeString(_iter53->first);
-      xfer += oprot->writeString(_iter53->second);
+      xfer += oprot->writeString(_iter61->first);
+      xfer += oprot->writeString(_iter61->second);
     }
     xfer += oprot->writeMapEnd();
   }
@@ -985,14 +1020,14 @@ uint32_t Partition::read(apache::thrift:
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->values.clear();
-            uint32_t _size54;
-            apache::thrift::protocol::TType _etype57;
-            iprot->readListBegin(_etype57, _size54);
-            this->values.resize(_size54);
-            uint32_t _i58;
-            for (_i58 = 0; _i58 < _size54; ++_i58)
+            uint32_t _size62;
+            apache::thrift::protocol::TType _etype65;
+            iprot->readListBegin(_etype65, _size62);
+            this->values.resize(_size62);
+            uint32_t _i66;
+            for (_i66 = 0; _i66 < _size62; ++_i66)
             {
-              xfer += iprot->readString(this->values[_i58]);
+              xfer += iprot->readString(this->values[_i66]);
             }
             iprot->readListEnd();
           }
@@ -1045,17 +1080,17 @@ uint32_t Partition::read(apache::thrift:
         if (ftype == apache::thrift::protocol::T_MAP) {
           {
             this->parameters.clear();
-            uint32_t _size59;
-            apache::thrift::protocol::TType _ktype60;
-            apache::thrift::protocol::TType _vtype61;
-            iprot->readMapBegin(_ktype60, _vtype61, _size59);
-            uint32_t _i63;
-            for (_i63 = 0; _i63 < _size59; ++_i63)
+            uint32_t _size67;
+            apache::thrift::protocol::TType _ktype68;
+            apache::thrift::protocol::TType _vtype69;
+            iprot->readMapBegin(_ktype68, _vtype69, _size67);
+            uint32_t _i71;
+            for (_i71 = 0; _i71 < _size67; ++_i71)
             {
-              std::string _key64;
-              xfer += iprot->readString(_key64);
-              std::string& _val65 = this->parameters[_key64];
-              xfer += iprot->readString(_val65);
+              std::string _key72;
+              xfer += iprot->readString(_key72);
+              std::string& _val73 = this->parameters[_key72];
+              xfer += iprot->readString(_val73);
             }
             iprot->readMapEnd();
           }
@@ -1082,10 +1117,10 @@ uint32_t Partition::write(apache::thrift
   xfer += oprot->writeFieldBegin("values", apache::thrift::protocol::T_LIST, 1);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->values.size());
-    std::vector<std::string> ::const_iterator _iter66;
-    for (_iter66 = this->values.begin(); _iter66 != this->values.end(); ++_iter66)
+    std::vector<std::string> ::const_iterator _iter74;
+    for (_iter74 = this->values.begin(); _iter74 != this->values.end(); ++_iter74)
     {
-      xfer += oprot->writeString((*_iter66));
+      xfer += oprot->writeString((*_iter74));
     }
     xfer += oprot->writeListEnd();
   }
@@ -1108,11 +1143,11 @@ uint32_t Partition::write(apache::thrift
   xfer += oprot->writeFieldBegin("parameters", apache::thrift::protocol::T_MAP, 7);
   {
     xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRING, this->parameters.size());
-    std::map<std::string, std::string> ::const_iterator _iter67;
-    for (_iter67 = this->parameters.begin(); _iter67 != this->parameters.end(); ++_iter67)
+    std::map<std::string, std::string> ::const_iterator _iter75;
+    for (_iter75 = this->parameters.begin(); _iter75 != this->parameters.end(); ++_iter75)
     {
-      xfer += oprot->writeString(_iter67->first);
-      xfer += oprot->writeString(_iter67->second);
+      xfer += oprot->writeString(_iter75->first);
+      xfer += oprot->writeString(_iter75->second);
     }
     xfer += oprot->writeMapEnd();
   }
@@ -1213,17 +1248,17 @@ uint32_t Index::read(apache::thrift::pro
         if (ftype == apache::thrift::protocol::T_MAP) {
           {
             this->parameters.clear();
-            uint32_t _size68;
-            apache::thrift::protocol::TType _ktype69;
-            apache::thrift::protocol::TType _vtype70;
-            iprot->readMapBegin(_ktype69, _vtype70, _size68);
-            uint32_t _i72;
-            for (_i72 = 0; _i72 < _size68; ++_i72)
+            uint32_t _size76;
+            apache::thrift::protocol::TType _ktype77;
+            apache::thrift::protocol::TType _vtype78;
+            iprot->readMapBegin(_ktype77, _vtype78, _size76);
+            uint32_t _i80;
+            for (_i80 = 0; _i80 < _size76; ++_i80)
             {
-              std::string _key73;
-              xfer += iprot->readString(_key73);
-              std::string& _val74 = this->parameters[_key73];
-              xfer += iprot->readString(_val74);
+              std::string _key81;
+              xfer += iprot->readString(_key81);
+              std::string& _val82 = this->parameters[_key81];
+              xfer += iprot->readString(_val82);
             }
             iprot->readMapEnd();
           }
@@ -1282,11 +1317,11 @@ uint32_t Index::write(apache::thrift::pr
   xfer += oprot->writeFieldBegin("parameters", apache::thrift::protocol::T_MAP, 9);
   {
     xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRING, this->parameters.size());
-    std::map<std::string, std::string> ::const_iterator _iter75;
-    for (_iter75 = this->parameters.begin(); _iter75 != this->parameters.end(); ++_iter75)
+    std::map<std::string, std::string> ::const_iterator _iter83;
+    for (_iter83 = this->parameters.begin(); _iter83 != this->parameters.end(); ++_iter83)
     {
-      xfer += oprot->writeString(_iter75->first);
-      xfer += oprot->writeString(_iter75->second);
+      xfer += oprot->writeString(_iter83->first);
+      xfer += oprot->writeString(_iter83->second);
     }
     xfer += oprot->writeMapEnd();
   }
@@ -1326,14 +1361,14 @@ uint32_t Schema::read(apache::thrift::pr
         if (ftype == apache::thrift::protocol::T_LIST) {
           {
             this->fieldSchemas.clear();
-            uint32_t _size76;
-            apache::thrift::protocol::TType _etype79;
-            iprot->readListBegin(_etype79, _size76);
-            this->fieldSchemas.resize(_size76);
-            uint32_t _i80;
-            for (_i80 = 0; _i80 < _size76; ++_i80)
+            uint32_t _size84;
+            apache::thrift::protocol::TType _etype87;
+            iprot->readListBegin(_etype87, _size84);
+            this->fieldSchemas.resize(_size84);
+            uint32_t _i88;
+            for (_i88 = 0; _i88 < _size84; ++_i88)
             {
-              xfer += this->fieldSchemas[_i80].read(iprot);
+              xfer += this->fieldSchemas[_i88].read(iprot);
             }
             iprot->readListEnd();
           }
@@ -1346,17 +1381,17 @@ uint32_t Schema::read(apache::thrift::pr
         if (ftype == apache::thrift::protocol::T_MAP) {
           {
             this->properties.clear();
-            uint32_t _size81;
-            apache::thrift::protocol::TType _ktype82;
-            apache::thrift::protocol::TType _vtype83;
-            iprot->readMapBegin(_ktype82, _vtype83, _size81);
-            uint32_t _i85;
-            for (_i85 = 0; _i85 < _size81; ++_i85)
+            uint32_t _size89;
+            apache::thrift::protocol::TType _ktype90;
+            apache::thrift::protocol::TType _vtype91;
+            iprot->readMapBegin(_ktype90, _vtype91, _size89);
+            uint32_t _i93;
+            for (_i93 = 0; _i93 < _size89; ++_i93)
             {
-              std::string _key86;
-              xfer += iprot->readString(_key86);
-              std::string& _val87 = this->properties[_key86];
-              xfer += iprot->readString(_val87);
+              std::string _key94;
+              xfer += iprot->readString(_key94);
+              std::string& _val95 = this->properties[_key94];
+              xfer += iprot->readString(_val95);
             }
             iprot->readMapEnd();
           }
@@ -1383,10 +1418,10 @@ uint32_t Schema::write(apache::thrift::p
   xfer += oprot->writeFieldBegin("fieldSchemas", apache::thrift::protocol::T_LIST, 1);
   {
     xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->fieldSchemas.size());
-    std::vector<FieldSchema> ::const_iterator _iter88;
-    for (_iter88 = this->fieldSchemas.begin(); _iter88 != this->fieldSchemas.end(); ++_iter88)
+    std::vector<FieldSchema> ::const_iterator _iter96;
+    for (_iter96 = this->fieldSchemas.begin(); _iter96 != this->fieldSchemas.end(); ++_iter96)
     {
-      xfer += (*_iter88).write(oprot);
+      xfer += (*_iter96).write(oprot);
     }
     xfer += oprot->writeListEnd();
   }
@@ -1394,11 +1429,11 @@ uint32_t Schema::write(apache::thrift::p
   xfer += oprot->writeFieldBegin("properties", apache::thrift::protocol::T_MAP, 2);
   {
     xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRING, this->properties.size());
-    std::map<std::string, std::string> ::const_iterator _iter89;
-    for (_iter89 = this->properties.begin(); _iter89 != this->properties.end(); ++_iter89)
+    std::map<std::string, std::string> ::const_iterator _iter97;
+    for (_iter97 = this->properties.begin(); _iter97 != this->properties.end(); ++_iter97)
     {
-      xfer += oprot->writeString(_iter89->first);
-      xfer += oprot->writeString(_iter89->second);
+      xfer += oprot->writeString(_iter97->first);
+      xfer += oprot->writeString(_iter97->second);
     }
     xfer += oprot->writeMapEnd();
   }

Modified: hive/trunk/metastore/src/gen-cpp/hive_metastore_types.h
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen-cpp/hive_metastore_types.h?rev=1043133&r1=1043132&r2=1043133&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen-cpp/hive_metastore_types.h (original)
+++ hive/trunk/metastore/src/gen-cpp/hive_metastore_types.h Tue Dec  7 17:19:40 2010
@@ -153,8 +153,8 @@ class Type {
 class Database {
  public:
 
-  static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271";
-  static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71};
+  static const char* ascii_fingerprint; // = "DD4B1A6F6F2E9C90B0A41B314EF1753F";
+  static const uint8_t binary_fingerprint[16]; // = {0xDD,0x4B,0x1A,0x6F,0x6F,0x2E,0x9C,0x90,0xB0,0xA4,0x1B,0x31,0x4E,0xF1,0x75,0x3F};
 
   Database() : name(""), description(""), locationUri("") {
   }
@@ -164,12 +164,14 @@ class Database {
   std::string name;
   std::string description;
   std::string locationUri;
+  std::map<std::string, std::string>  parameters;
 
   struct __isset {
-    __isset() : name(false), description(false), locationUri(false) {}
+    __isset() : name(false), description(false), locationUri(false), parameters(false) {}
     bool name;
     bool description;
     bool locationUri;
+    bool parameters;
   } __isset;
 
   bool operator == (const Database & rhs) const
@@ -180,6 +182,8 @@ class Database {
       return false;
     if (!(locationUri == rhs.locationUri))
       return false;
+    if (!(parameters == rhs.parameters))
+      return false;
     return true;
   }
   bool operator != (const Database &rhs) const {



Mime
View raw message