FAQ
Repository: hive
Updated Branches:
   refs/heads/branch-1 67be6771b -> 92072ad24


http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py b/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py
index 177531d..978c2a3 100644
--- a/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py
+++ b/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #
@@ -8,6 +8,7 @@

  from thrift.Thrift import TType, TMessageType, TException, TApplicationException
  import hive_metastore.ThriftHiveMetastore
+import logging
  from ttypes import *
  from thrift.Thrift import TProcessor
  from thrift.transport import TTransport
@@ -116,7 +117,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
        return result.success
      if result.ex is not None:
        raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchOne failed: unknown result");
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchOne failed: unknown result")

    def fetchN(self, numRows):
      """
@@ -149,7 +150,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
        return result.success
      if result.ex is not None:
        raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchN failed: unknown result");
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchN failed: unknown result")

    def fetchAll(self):
      self.send_fetchAll()
@@ -177,7 +178,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
        return result.success
      if result.ex is not None:
        raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchAll failed: unknown result");
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchAll failed: unknown result")

    def getSchema(self):
      self.send_getSchema()
@@ -205,7 +206,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
        return result.success
      if result.ex is not None:
        raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "getSchema failed: unknown result");
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "getSchema failed: unknown result")

    def getThriftSchema(self):
      self.send_getThriftSchema()
@@ -233,7 +234,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
        return result.success
      if result.ex is not None:
        raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "getThriftSchema failed: unknown result");
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "getThriftSchema failed: unknown result")

    def getClusterStatus(self):
      self.send_getClusterStatus()
@@ -261,7 +262,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
        return result.success
      if result.ex is not None:
        raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "getClusterStatus failed: unknown result");
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "getClusterStatus failed: unknown result")

    def getQueryPlan(self):
      self.send_getQueryPlan()
@@ -289,7 +290,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
        return result.success
      if result.ex is not None:
        raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "getQueryPlan failed: unknown result");
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "getQueryPlan failed: unknown result")

    def clean(self):
      self.send_clean()
@@ -351,9 +352,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = execute_result()
      try:
        self._handler.execute(args.query)
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("execute", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("execute", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -365,9 +374,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = fetchOne_result()
      try:
        result.success = self._handler.fetchOne()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("fetchOne", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("fetchOne", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -379,9 +396,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = fetchN_result()
      try:
        result.success = self._handler.fetchN(args.numRows)
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("fetchN", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("fetchN", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -393,9 +418,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = fetchAll_result()
      try:
        result.success = self._handler.fetchAll()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("fetchAll", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("fetchAll", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -407,9 +440,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = getSchema_result()
      try:
        result.success = self._handler.getSchema()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("getSchema", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("getSchema", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -421,9 +462,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = getThriftSchema_result()
      try:
        result.success = self._handler.getThriftSchema()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("getThriftSchema", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("getThriftSchema", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -435,9 +484,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = getClusterStatus_result()
      try:
        result.success = self._handler.getClusterStatus()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("getClusterStatus", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("getClusterStatus", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -449,9 +506,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = getQueryPlan_result()
      try:
        result.success = self._handler.getQueryPlan()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("getQueryPlan", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("getQueryPlan", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -461,8 +526,16 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      args.read(iprot)
      iprot.readMessageEnd()
      result = clean_result()
- self._handler.clean()
- oprot.writeMessageBegin("clean", TMessageType.REPLY, seqid)
+ try:
+ self._handler.clean()
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("clean", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -495,7 +568,7 @@ class execute_args:
          break
        if fid == 1:
          if ftype == TType.STRING:
- self.query = iprot.readString();
+ self.query = iprot.readString()
          else:
            iprot.skip(ftype)
        else:
@@ -674,7 +747,7 @@ class fetchOne_result:
          break
        if fid == 0:
          if ftype == TType.STRING:
- self.success = iprot.readString();
+ self.success = iprot.readString()
          else:
            iprot.skip(ftype)
        elif fid == 1:
@@ -750,7 +823,7 @@ class fetchN_args:
          break
        if fid == 1:
          if ftype == TType.I32:
- self.numRows = iprot.readI32();
+ self.numRows = iprot.readI32()
          else:
            iprot.skip(ftype)
        else:
@@ -820,7 +893,7 @@ class fetchN_result:
            self.success = []
            (_etype3, _size0) = iprot.readListBegin()
            for _i4 in xrange(_size0):
- _elem5 = iprot.readString();
+ _elem5 = iprot.readString()
              self.success.append(_elem5)
            iprot.readListEnd()
          else:
@@ -952,7 +1025,7 @@ class fetchAll_result:
            self.success = []
            (_etype10, _size7) = iprot.readListBegin()
            for _i11 in xrange(_size7):
- _elem12 = iprot.readString();
+ _elem12 = iprot.readString()
              self.success.append(_elem12)
            iprot.readListEnd()
          else:

http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-py/hive_service/constants.py
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-py/hive_service/constants.py b/service/src/gen/thrift/gen-py/hive_service/constants.py
index 99717a9..4a6492b 100644
--- a/service/src/gen/thrift/gen-py/hive_service/constants.py
+++ b/service/src/gen/thrift/gen-py/hive_service/constants.py
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-py/hive_service/ttypes.py
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-py/hive_service/ttypes.py b/service/src/gen/thrift/gen-py/hive_service/ttypes.py
index 29eb916..e19fe2a 100644
--- a/service/src/gen/thrift/gen-py/hive_service/ttypes.py
+++ b/service/src/gen/thrift/gen-py/hive_service/ttypes.py
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #
@@ -75,32 +75,32 @@ class HiveClusterStatus:
          break
        if fid == 1:
          if ftype == TType.I32:
- self.taskTrackers = iprot.readI32();
+ self.taskTrackers = iprot.readI32()
          else:
            iprot.skip(ftype)
        elif fid == 2:
          if ftype == TType.I32:
- self.mapTasks = iprot.readI32();
+ self.mapTasks = iprot.readI32()
          else:
            iprot.skip(ftype)
        elif fid == 3:
          if ftype == TType.I32:
- self.reduceTasks = iprot.readI32();
+ self.reduceTasks = iprot.readI32()
          else:
            iprot.skip(ftype)
        elif fid == 4:
          if ftype == TType.I32:
- self.maxMapTasks = iprot.readI32();
+ self.maxMapTasks = iprot.readI32()
          else:
            iprot.skip(ftype)
        elif fid == 5:
          if ftype == TType.I32:
- self.maxReduceTasks = iprot.readI32();
+ self.maxReduceTasks = iprot.readI32()
          else:
            iprot.skip(ftype)
        elif fid == 6:
          if ftype == TType.I32:
- self.state = iprot.readI32();
+ self.state = iprot.readI32()
          else:
            iprot.skip(ftype)
        else:
@@ -196,17 +196,17 @@ class HiveServerException(TException):
          break
        if fid == 1:
          if ftype == TType.STRING:
- self.message = iprot.readString();
+ self.message = iprot.readString()
          else:
            iprot.skip(ftype)
        elif fid == 2:
          if ftype == TType.I32:
- self.errorCode = iprot.readI32();
+ self.errorCode = iprot.readI32()
          else:
            iprot.skip(ftype)
        elif fid == 3:
          if ftype == TType.STRING:
- self.SQLState = iprot.readString();
+ self.SQLState = iprot.readString()
          else:
            iprot.skip(ftype)
        else:

http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-rb/hive_service_constants.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/hive_service_constants.rb b/service/src/gen/thrift/gen-rb/hive_service_constants.rb
index 73f4d7b..ed7d2d7 100644
--- a/service/src/gen/thrift/gen-rb/hive_service_constants.rb
+++ b/service/src/gen/thrift/gen-rb/hive_service_constants.rb
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-rb/hive_service_types.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/hive_service_types.rb b/service/src/gen/thrift/gen-rb/hive_service_types.rb
index f97a6fb..9191767 100644
--- a/service/src/gen/thrift/gen-rb/hive_service_types.rb
+++ b/service/src/gen/thrift/gen-rb/hive_service_types.rb
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb b/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb
index f754d7d..7d7f7a7 100644
--- a/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb
+++ b/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb b/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb
index 3f72769..25adbb4 100644
--- a/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb
+++ b/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb b/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb
index bfb2b69..f004ec4 100644
--- a/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb
+++ b/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-rb/thrift_hive.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/thrift_hive.rb b/service/src/gen/thrift/gen-rb/thrift_hive.rb
index 6859ceb..2b57cd9 100644
--- a/service/src/gen/thrift/gen-rb/thrift_hive.rb
+++ b/service/src/gen/thrift/gen-rb/thrift_hive.rb
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

Search Discussions

  • Gates at Jan 15, 2016 at 1:17 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java
    index 48f4b45..77d5f1a 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TOpenSessionResp implements org.apache.thrift.TBase<TOpenSessionResp, TOpenSessionResp._Fields>, java.io.Serializable, Cloneable, Comparable<TOpenSessionResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TOpenSessionResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java
    index db41117..75ec0d4 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TOperationHandle implements org.apache.thrift.TBase<TOperationHandle, TOperationHandle._Fields>, java.io.Serializable, Cloneable, Comparable<TOperationHandle> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TOperationHandle");

    @@ -333,10 +333,10 @@ public class TOperationHandle implements org.apache.thrift.TBase<TOperationHandl
            return getOperationType();

          case HAS_RESULT_SET:
    - return Boolean.valueOf(isHasResultSet());
    + return isHasResultSet();

          case MODIFIED_ROW_COUNT:
    - return Double.valueOf(getModifiedRowCount());
    + return getModifiedRowCount();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java
    index 2dfde1c..fe029ef 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java
    index 6927740..f105259 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java
    index f1c8d58..00dc839 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TPrimitiveTypeEntry implements org.apache.thrift.TBase<TPrimitiveTypeEntry, TPrimitiveTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TPrimitiveTypeEntry> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TPrimitiveTypeEntry");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java
    index 6e714c6..c936ada 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java
    index 91f8b00..2e9c731 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TRenewDelegationTokenReq implements org.apache.thrift.TBase<TRenewDelegationTokenReq, TRenewDelegationTokenReq._Fields>, java.io.Serializable, Cloneable, Comparable<TRenewDelegationTokenReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRenewDelegationTokenReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java
    index c01cc3f..677a9ff 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TRenewDelegationTokenResp implements org.apache.thrift.TBase<TRenewDelegationTokenResp, TRenewDelegationTokenResp._Fields>, java.io.Serializable, Cloneable, Comparable<TRenewDelegationTokenResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRenewDelegationTokenResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java
    index 197bab6..bbee87e 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TRow implements org.apache.thrift.TBase<TRow, TRow._Fields>, java.io.Serializable, Cloneable, Comparable<TRow> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRow");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java
    index cc1a148..a2f1ebd 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TRowSet implements org.apache.thrift.TBase<TRowSet, TRowSet._Fields>, java.io.Serializable, Cloneable, Comparable<TRowSet> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRowSet");

    @@ -312,7 +312,7 @@ public class TRowSet implements org.apache.thrift.TBase<TRowSet, TRowSet._Fields
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case START_ROW_OFFSET:
    - return Long.valueOf(getStartRowOffset());
    + return getStartRowOffset();

          case ROWS:
            return getRows();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java
    index 264e155..ee1d260 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TSessionHandle implements org.apache.thrift.TBase<TSessionHandle, TSessionHandle._Fields>, java.io.Serializable, Cloneable, Comparable<TSessionHandle> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TSessionHandle");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java
    index 1cd7980..91c4dc4 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TStatus implements org.apache.thrift.TBase<TStatus, TStatus._Fields>, java.io.Serializable, Cloneable, Comparable<TStatus> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStatus");

    @@ -391,7 +391,7 @@ public class TStatus implements org.apache.thrift.TBase<TStatus, TStatus._Fields
            return getSqlState();

          case ERROR_CODE:
    - return Integer.valueOf(getErrorCode());
    + return getErrorCode();

          case ERROR_MESSAGE:
            return getErrorMessage();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java
    index 91d1a97..8900d4c 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java
    index d996529..c90dc9f 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TStringColumn implements org.apache.thrift.TBase<TStringColumn, TStringColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TStringColumn> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStringColumn");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java
    index 9655f38..05b1323 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TStringValue implements org.apache.thrift.TBase<TStringValue, TStringValue._Fields>, java.io.Serializable, Cloneable, Comparable<TStringValue> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStringValue");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java
    index d58184c..0d4434d 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TStructTypeEntry implements org.apache.thrift.TBase<TStructTypeEntry, TStructTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TStructTypeEntry> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStructTypeEntry");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java
    index 796b73b..80c372f 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TTableSchema implements org.apache.thrift.TBase<TTableSchema, TTableSchema._Fields>, java.io.Serializable, Cloneable, Comparable<TTableSchema> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTableSchema");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java
    index 95b4466..bcd52c7 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TTypeDesc implements org.apache.thrift.TBase<TTypeDesc, TTypeDesc._Fields>, java.io.Serializable, Cloneable, Comparable<TTypeDesc> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTypeDesc");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java
    index 203d3b9..a53eaa2 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java
    index e6f2336..379bc92 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java
    index 54df6dc..cc786b2 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java
    index 15ac5a9..391b2a0 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TTypeQualifiers implements org.apache.thrift.TBase<TTypeQualifiers, TTypeQualifiers._Fields>, java.io.Serializable, Cloneable, Comparable<TTypeQualifiers> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTypeQualifiers");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java
    index eccf303..53a3fcf 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TUnionTypeEntry implements org.apache.thrift.TBase<TUnionTypeEntry, TUnionTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TUnionTypeEntry> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TUnionTypeEntry");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java
    index 21da61b..59453d1 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TUserDefinedTypeEntry implements org.apache.thrift.TBase<TUserDefinedTypeEntry, TUserDefinedTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TUserDefinedTypeEntry> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TUserDefinedTypeEntry");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-php/TCLIService.php
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-php/TCLIService.php b/service/src/gen/thrift/gen-php/TCLIService.php
    index f5dd904..eba62f1 100644
    --- a/service/src/gen/thrift/gen-php/TCLIService.php
    +++ b/service/src/gen/thrift/gen-php/TCLIService.php
    @@ -1,7 +1,6 @@
      <?php
    -namespace ;
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-php/ThriftHive.php
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-php/ThriftHive.php b/service/src/gen/thrift/gen-php/ThriftHive.php
    index 2c783b6..23dc8fd 100644
    --- a/service/src/gen/thrift/gen-php/ThriftHive.php
    +++ b/service/src/gen/thrift/gen-php/ThriftHive.php
    @@ -1,7 +1,6 @@
      <?php
    -namespace ;
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-php/Types.php
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-php/Types.php b/service/src/gen/thrift/gen-php/Types.php
    index d8f3c5b..cbf4c29 100644
    --- a/service/src/gen/thrift/gen-php/Types.php
    +++ b/service/src/gen/thrift/gen-php/Types.php
    @@ -1,8 +1,6 @@
      <?php
    -namespace ;
    -
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote b/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote
    index 2bfca56..56f5c5d 100755
    --- a/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote
    +++ b/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote
    @@ -1,6 +1,6 @@
      #!/usr/bin/env python
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py b/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py
    index 0067195..ad2d71d 100644
    --- a/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py
    +++ b/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
    @@ -7,6 +7,7 @@
      #

      from thrift.Thrift import TType, TMessageType, TException, TApplicationException
    +import logging
      from ttypes import *
      from thrift.Thrift import TProcessor
      from thrift.transport import TTransport
    @@ -188,7 +189,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "OpenSession failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "OpenSession failed: unknown result")

        def CloseSession(self, req):
          """
    @@ -219,7 +220,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "CloseSession failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "CloseSession failed: unknown result")

        def GetInfo(self, req):
          """
    @@ -250,7 +251,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetInfo failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetInfo failed: unknown result")

        def ExecuteStatement(self, req):
          """
    @@ -281,7 +282,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "ExecuteStatement failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "ExecuteStatement failed: unknown result")

        def GetTypeInfo(self, req):
          """
    @@ -312,7 +313,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTypeInfo failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTypeInfo failed: unknown result")

        def GetCatalogs(self, req):
          """
    @@ -343,7 +344,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetCatalogs failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetCatalogs failed: unknown result")

        def GetSchemas(self, req):
          """
    @@ -374,7 +375,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetSchemas failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetSchemas failed: unknown result")

        def GetTables(self, req):
          """
    @@ -405,7 +406,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTables failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTables failed: unknown result")

        def GetTableTypes(self, req):
          """
    @@ -436,7 +437,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTableTypes failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTableTypes failed: unknown result")

        def GetColumns(self, req):
          """
    @@ -467,7 +468,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetColumns failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetColumns failed: unknown result")

        def GetFunctions(self, req):
          """
    @@ -498,7 +499,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetFunctions failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetFunctions failed: unknown result")

        def GetOperationStatus(self, req):
          """
    @@ -529,7 +530,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetOperationStatus failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetOperationStatus failed: unknown result")

        def CancelOperation(self, req):
          """
    @@ -560,7 +561,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "CancelOperation failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "CancelOperation failed: unknown result")

        def CloseOperation(self, req):
          """
    @@ -591,7 +592,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "CloseOperation failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "CloseOperation failed: unknown result")

        def GetResultSetMetadata(self, req):
          """
    @@ -622,7 +623,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetResultSetMetadata failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetResultSetMetadata failed: unknown result")

        def FetchResults(self, req):
          """
    @@ -653,7 +654,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "FetchResults failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "FetchResults failed: unknown result")

        def GetDelegationToken(self, req):
          """
    @@ -684,7 +685,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetDelegationToken failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetDelegationToken failed: unknown result")

        def CancelDelegationToken(self, req):
          """
    @@ -715,7 +716,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "CancelDelegationToken failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "CancelDelegationToken failed: unknown result")

        def RenewDelegationToken(self, req):
          """
    @@ -746,7 +747,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "RenewDelegationToken failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "RenewDelegationToken failed: unknown result")


      class Processor(Iface, TProcessor):
    @@ -793,8 +794,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = OpenSession_result()
    - result.success = self._handler.OpenSession(args.req)
    - oprot.writeMessageBegin("OpenSession", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.OpenSession(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("OpenSession", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -804,8 +813,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = CloseSession_result()
    - result.success = self._handler.CloseSession(args.req)
    - oprot.writeMessageBegin("CloseSession", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.CloseSession(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("CloseSession", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -815,8 +832,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetInfo_result()
    - result.success = self._handler.GetInfo(args.req)
    - oprot.writeMessageBegin("GetInfo", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetInfo(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetInfo", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -826,8 +851,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = ExecuteStatement_result()
    - result.success = self._handler.ExecuteStatement(args.req)
    - oprot.writeMessageBegin("ExecuteStatement", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.ExecuteStatement(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("ExecuteStatement", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -837,8 +870,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetTypeInfo_result()
    - result.success = self._handler.GetTypeInfo(args.req)
    - oprot.writeMessageBegin("GetTypeInfo", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetTypeInfo(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetTypeInfo", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -848,8 +889,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetCatalogs_result()
    - result.success = self._handler.GetCatalogs(args.req)
    - oprot.writeMessageBegin("GetCatalogs", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetCatalogs(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetCatalogs", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -859,8 +908,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetSchemas_result()
    - result.success = self._handler.GetSchemas(args.req)
    - oprot.writeMessageBegin("GetSchemas", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetSchemas(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetSchemas", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -870,8 +927,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetTables_result()
    - result.success = self._handler.GetTables(args.req)
    - oprot.writeMessageBegin("GetTables", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetTables(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetTables", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -881,8 +946,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetTableTypes_result()
    - result.success = self._handler.GetTableTypes(args.req)
    - oprot.writeMessageBegin("GetTableTypes", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetTableTypes(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetTableTypes", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -892,8 +965,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetColumns_result()
    - result.success = self._handler.GetColumns(args.req)
    - oprot.writeMessageBegin("GetColumns", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetColumns(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetColumns", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -903,8 +984,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetFunctions_result()
    - result.success = self._handler.GetFunctions(args.req)
    - oprot.writeMessageBegin("GetFunctions", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetFunctions(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetFunctions", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -914,8 +1003,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetOperationStatus_result()
    - result.success = self._handler.GetOperationStatus(args.req)
    - oprot.writeMessageBegin("GetOperationStatus", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetOperationStatus(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetOperationStatus", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -925,8 +1022,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = CancelOperation_result()
    - result.success = self._handler.CancelOperation(args.req)
    - oprot.writeMessageBegin("CancelOperation", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.CancelOperation(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("CancelOperation", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -936,8 +1041,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = CloseOperation_result()
    - result.success = self._handler.CloseOperation(args.req)
    - oprot.writeMessageBegin("CloseOperation", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.CloseOperation(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("CloseOperation", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -947,8 +1060,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetResultSetMetadata_result()
    - result.success = self._handler.GetResultSetMetadata(args.req)
    - oprot.writeMessageBegin("GetResultSetMetadata", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetResultSetMetadata(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetResultSetMetadata", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -958,8 +1079,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = FetchResults_result()
    - result.success = self._handler.FetchResults(args.req)
    - oprot.writeMessageBegin("FetchResults", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.FetchResults(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("FetchResults", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -969,8 +1098,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetDelegationToken_result()
    - result.success = self._handler.GetDelegationToken(args.req)
    - oprot.writeMessageBegin("GetDelegationToken", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetDelegationToken(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetDelegationToken", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -980,8 +1117,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = CancelDelegationToken_result()
    - result.success = self._handler.CancelDelegationToken(args.req)
    - oprot.writeMessageBegin("CancelDelegationToken", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.CancelDelegationToken(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("CancelDelegationToken", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -991,8 +1136,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = RenewDelegationToken_result()
    - result.success = self._handler.RenewDelegationToken(args.req)
    - oprot.writeMessageBegin("RenewDelegationToken", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.RenewDelegationToken(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("RenewDelegationToken", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-py/TCLIService/constants.py
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-py/TCLIService/constants.py b/service/src/gen/thrift/gen-py/TCLIService/constants.py
    index 9fb1a86..c8d4f8f 100644
    --- a/service/src/gen/thrift/gen-py/TCLIService/constants.py
    +++ b/service/src/gen/thrift/gen-py/TCLIService/constants.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-py/TCLIService/ttypes.py
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-py/TCLIService/ttypes.py b/service/src/gen/thrift/gen-py/TCLIService/ttypes.py
    index efee8ef..ef5f5f5 100644
    --- a/service/src/gen/thrift/gen-py/TCLIService/ttypes.py
    +++ b/service/src/gen/thrift/gen-py/TCLIService/ttypes.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
    @@ -416,12 +416,12 @@ class TTypeQualifierValue:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.i32Value = iprot.readI32();
    + self.i32Value = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.stringValue = iprot.readString();
    + self.stringValue = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -494,7 +494,7 @@ class TTypeQualifiers:
                self.qualifiers = {}
                (_ktype1, _vtype2, _size0 ) = iprot.readMapBegin()
                for _i4 in xrange(_size0):
    - _key5 = iprot.readString();
    + _key5 = iprot.readString()
                  _val6 = TTypeQualifierValue()
                  _val6.read(iprot)
                  self.qualifiers[_key5] = _val6
    @@ -572,7 +572,7 @@ class TPrimitiveTypeEntry:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.type = iprot.readI32();
    + self.type = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
    @@ -650,7 +650,7 @@ class TArrayTypeEntry:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.objectTypePtr = iprot.readI32();
    + self.objectTypePtr = iprot.readI32()
              else:
                iprot.skip(ftype)
            else:
    @@ -720,12 +720,12 @@ class TMapTypeEntry:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.keyTypePtr = iprot.readI32();
    + self.keyTypePtr = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I32:
    - self.valueTypePtr = iprot.readI32();
    + self.valueTypePtr = iprot.readI32()
              else:
                iprot.skip(ftype)
            else:
    @@ -802,8 +802,8 @@ class TStructTypeEntry:
                self.nameToTypePtr = {}
                (_ktype10, _vtype11, _size9 ) = iprot.readMapBegin()
                for _i13 in xrange(_size9):
    - _key14 = iprot.readString();
    - _val15 = iprot.readI32();
    + _key14 = iprot.readString()
    + _val15 = iprot.readI32()
                  self.nameToTypePtr[_key14] = _val15
                iprot.readMapEnd()
              else:
    @@ -879,8 +879,8 @@ class TUnionTypeEntry:
                self.nameToTypePtr = {}
                (_ktype19, _vtype20, _size18 ) = iprot.readMapBegin()
                for _i22 in xrange(_size18):
    - _key23 = iprot.readString();
    - _val24 = iprot.readI32();
    + _key23 = iprot.readString()
    + _val24 = iprot.readI32()
                  self.nameToTypePtr[_key23] = _val24
                iprot.readMapEnd()
              else:
    @@ -953,7 +953,7 @@ class TUserDefinedTypeEntry:
              break
            if fid == 1:
              if ftype == TType.STRING:
    - self.typeClassName = iprot.readString();
    + self.typeClassName = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -1241,7 +1241,7 @@ class TColumnDesc:
              break
            if fid == 1:
              if ftype == TType.STRING:
    - self.columnName = iprot.readString();
    + self.columnName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 2:
    @@ -1252,12 +1252,12 @@ class TColumnDesc:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.I32:
    - self.position = iprot.readI32();
    + self.position = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.STRING:
    - self.comment = iprot.readString();
    + self.comment = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -1419,7 +1419,7 @@ class TBoolValue:
              break
            if fid == 1:
              if ftype == TType.BOOL:
    - self.value = iprot.readBool();
    + self.value = iprot.readBool()
              else:
                iprot.skip(ftype)
            else:
    @@ -1484,7 +1484,7 @@ class TByteValue:
              break
            if fid == 1:
              if ftype == TType.BYTE:
    - self.value = iprot.readByte();
    + self.value = iprot.readByte()
              else:
                iprot.skip(ftype)
            else:
    @@ -1549,7 +1549,7 @@ class TI16Value:
              break
            if fid == 1:
              if ftype == TType.I16:
    - self.value = iprot.readI16();
    + self.value = iprot.readI16()
              else:
                iprot.skip(ftype)
            else:
    @@ -1614,7 +1614,7 @@ class TI32Value:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.value = iprot.readI32();
    + self.value = iprot.readI32()
              else:
                iprot.skip(ftype)
            else:
    @@ -1679,7 +1679,7 @@ class TI64Value:
              break
            if fid == 1:
              if ftype == TType.I64:
    - self.value = iprot.readI64();
    + self.value = iprot.readI64()
              else:
                iprot.skip(ftype)
            else:
    @@ -1744,7 +1744,7 @@ class TDoubleValue:
              break
            if fid == 1:
              if ftype == TType.DOUBLE:
    - self.value = iprot.readDouble();
    + self.value = iprot.readDouble()
              else:
                iprot.skip(ftype)
            else:
    @@ -1809,7 +1809,7 @@ class TStringValue:
              break
            if fid == 1:
              if ftype == TType.STRING:
    - self.value = iprot.readString();
    + self.value = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2106,14 +2106,14 @@ class TBoolColumn:
                self.values = []
                (_etype51, _size48) = iprot.readListBegin()
                for _i52 in xrange(_size48):
    - _elem53 = iprot.readBool();
    + _elem53 = iprot.readBool()
                  self.values.append(_elem53)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2196,14 +2196,14 @@ class TByteColumn:
                self.values = []
                (_etype58, _size55) = iprot.readListBegin()
                for _i59 in xrange(_size55):
    - _elem60 = iprot.readByte();
    + _elem60 = iprot.readByte()
                  self.values.append(_elem60)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2286,14 +2286,14 @@ class TI16Column:
                self.values = []
                (_etype65, _size62) = iprot.readListBegin()
                for _i66 in xrange(_size62):
    - _elem67 = iprot.readI16();
    + _elem67 = iprot.readI16()
                  self.values.append(_elem67)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2376,14 +2376,14 @@ class TI32Column:
                self.values = []
                (_etype72, _size69) = iprot.readListBegin()
                for _i73 in xrange(_size69):
    - _elem74 = iprot.readI32();
    + _elem74 = iprot.readI32()
                  self.values.append(_elem74)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2466,14 +2466,14 @@ class TI64Column:
                self.values = []
                (_etype79, _size76) = iprot.readListBegin()
                for _i80 in xrange(_size76):
    - _elem81 = iprot.readI64();
    + _elem81 = iprot.readI64()
                  self.values.append(_elem81)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2556,14 +2556,14 @@ class TDoubleColumn:
                self.values = []
                (_etype86, _size83) = iprot.readListBegin()
                for _i87 in xrange(_size83):
    - _elem88 = iprot.readDouble();
    + _elem88 = iprot.readDouble()
                  self.values.append(_elem88)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2646,14 +2646,14 @@ class TStringColumn:
                self.values = []
                (_etype93, _size90) = iprot.readListBegin()
                for _i94 in xrange(_size90):
    - _elem95 = iprot.readString();
    + _elem95 = iprot.readString()
                  self.values.append(_elem95)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2736,14 +2736,14 @@ class TBinaryColumn:
                self.values = []
                (_etype100, _size97) = iprot.readListBegin()
                for _i101 in xrange(_size97):
    - _elem102 = iprot.readString();
    + _elem102 = iprot.readString()
                  self.values.append(_elem102)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2990,7 +2990,7 @@ class TRowSet:
              break
            if fid == 1:
              if ftype == TType.I64:
    - self.startRowOffset = iprot.readI64();
    + self.startRowOffset = iprot.readI64()
              else:
                iprot.skip(ftype)
            elif fid == 2:
    @@ -3109,7 +3109,7 @@ class TStatus:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.statusCode = iprot.readI32();
    + self.statusCode = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
    @@ -3117,24 +3117,24 @@ class TStatus:
                self.infoMessages = []
                (_etype121, _size118) = iprot.readListBegin()
                for _i122 in xrange(_size118):
    - _elem123 = iprot.readString();
    + _elem123 = iprot.readString()
                  self.infoMessages.append(_elem123)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.sqlState = iprot.readString();
    + self.sqlState = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.I32:
    - self.errorCode = iprot.readI32();
    + self.errorCode = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 5:
              if ftype == TType.STRING:
    - self.errorMessage = iprot.readString();
    + self.errorMessage = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -3227,12 +3227,12 @@ class THandleIdentifier:
              break
            if fid == 1:
              if ftype == TType.STRING:
    - self.guid = iprot.readString();
    + self.guid = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.secret = iprot.readString();
    + self.secret = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -3389,17 +3389,17 @@ class TOperationHandle:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I32:
    - self.operationType = iprot.readI32();
    + self.operationType = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.BOOL:
    - self.hasResultSet = iprot.readBool();
    + self.hasResultSet = iprot.readBool()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.DOUBLE:
    - self.modifiedRowCount = iprot.readDouble();
    + self.modifiedRowCount = iprot.readDouble()
              else:
                iprot.skip(ftype)
            else:
    @@ -3494,17 +3494,17 @@ class TOpenSessionReq:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.client_protocol = iprot.readI32();
    + self.client_protocol = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.username = iprot.readString();
    + self.username = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.password = iprot.readString();
    + self.password = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 4:
    @@ -3512,8 +3512,8 @@ class TOpenSessionReq:
                self.configuration = {}
                (_ktype126, _vtype127, _size125 ) = iprot.readMapBegin()
                for _i129 in xrange(_size125):
    - _key130 = iprot.readString();
    - _val131 = iprot.readString();
    + _key130 = iprot.readString()
    + _val131 = iprot.readString()
                  self.configuration[_key130] = _val131
                iprot.readMapEnd()
              else:
    @@ -3616,7 +3616,7 @@ class TOpenSessionResp:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I32:
    - self.serverProtocolVersion = iprot.readI32();
    + self.serverProtocolVersion = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 3:
    @@ -3630,8 +3630,8 @@ class TOpenSessionResp:
                self.configuration = {}
                (_ktype135, _vtype136, _size134 ) = iprot.readMapBegin()
                for _i138 in xrange(_size134):
    - _key139 = iprot.readString();
    - _val140 = iprot.readString();
    + _key139 = iprot.readString()
    + _val140 = iprot.readString()
                  self.configuration[_key139] = _val140
                iprot.readMapEnd()
              else:
    @@ -3872,32 +3872,32 @@ class TGetInfoValue:
              break
            if fid == 1:
              if ftype == TType.STRING:
    - self.stringValue = iprot.readString();
    + self.stringValue = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I16:
    - self.smallIntValue = iprot.readI16();
    + self.smallIntValue = iprot.readI16()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.I32:
    - self.integerBitmask = iprot.readI32();
    + self.integerBitmask = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.I32:
    - self.integerFlag = iprot.readI32();
    + self.integerFlag = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 5:
              if ftype == TType.I32:
    - self.binaryValue = iprot.readI32();
    + self.binaryValue = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 6:
              if ftype == TType.I64:
    - self.lenValue = iprot.readI64();
    + self.lenValue = iprot.readI64()
              else:
                iprot.skip(ftype)
            else:
    @@ -3996,7 +3996,7 @@ class TGetInfoReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I32:
    - self.infoType = iprot.readI32();
    + self.infoType = iprot.readI32()
              else:
                iprot.skip(ftype)
            else:
    @@ -4169,7 +4169,7 @@ class TExecuteStatementReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.statement = iprot.readString();
    + self.statement = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
    @@ -4177,15 +4177,15 @@ class TExecuteStatementReq:
                self.confOverlay = {}
                (_ktype144, _vtype145, _size143 ) = iprot.readMapBegin()
                for _i147 in xrange(_size143):
    - _key148 = iprot.readString();
    - _val149 = iprot.readString();
    + _key148 = iprot.readString()
    + _val149 = iprot.readString()
                  self.confOverlay[_key148] = _val149
                iprot.readMapEnd()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.BOOL:
    - self.runAsync = iprot.readBool();
    + self.runAsync = iprot.readBool()
              else:
                iprot.skip(ftype)
            else:
    @@ -4667,12 +4667,12 @@ class TGetSchemasReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.catalogName = iprot.readString();
    + self.catalogName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.schemaName = iprot.readString();
    + self.schemaName = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -4849,17 +4849,17 @@ class TGetTablesReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.catalogName = iprot.readString();
    + self.catalogName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.schemaName = iprot.readString();
    + self.schemaName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.STRING:
    - self.tableName = iprot.readString();
    + self.tableName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 5:
    @@ -4867,7 +4867,7 @@ class TGetTablesReq:
                self.tableTypes = []
                (_etype155, _size152) = iprot.readListBegin()
                for _i156 in xrange(_size152):
    - _elem157 = iprot.readString();
    + _elem157 = iprot.readString()
                  self.tableTypes.append(_elem157)
                iprot.readListEnd()
              else:
    @@ -5209,22 +5209,22 @@ class TGetColumnsReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.catalogName = iprot.readString();
    + self.catalogName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.schemaName = iprot.readString();
    + self.schemaName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.STRING:
    - self.tableName = iprot.readString();
    + self.tableName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 5:
              if ftype == TType.STRING:
    - self.columnName = iprot.readString();
    + self.columnName = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -5408,17 +5408,17 @@ class TGetFunctionsReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.catalogName = iprot.readString();
    + self.catalogName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.schemaName = iprot.readString();
    + self.schemaName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.STRING:
    - self.functionName = iprot.readString();
    + self.functionName = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -5670,22 +5670,22 @@ class TGetOperationStatusResp:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I32:
    - self.operationState = iprot.readI32();
    + self.operationState = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.sqlState = iprot.readString();
    + self.sqlState = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.I32:
    - self.errorCode = iprot.readI32();
    + self.errorCode = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 5:
              if ftype == TType.STRING:
    - self.errorMessage = iprot.readString();
    + self.errorMessage = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -6209,17 +6209,17 @@ class TFetchResultsReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I32:
    - self.orientation = iprot.readI32();
    + self.orientation = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.I64:
    - self.maxRows = iprot.readI64();
    + self.maxRows = iprot.readI64()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.I16:
    - self.fetchType = iprot.readI16();
    + self.fetchType = iprot.readI16()
              else:
                iprot.skip(ftype)
            else:
    @@ -6317,7 +6317,7 @@ class TFetchResultsResp:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.BOOL:
    - self.hasMoreRows = iprot.readBool();
    + self.hasMoreRows = iprot.readBool()
              else:
                iprot.skip(ftype)
            elif fid == 3:
    @@ -6412,12 +6412,12 @@ class TGetDelegationTokenReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.owner = iprot.readString();
    + self.owner = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.renewer = iprot.readString();
    + self.renewer = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -6507,7 +6507,7 @@ class TGetDelegationTokenResp:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.delegationToken = iprot.readString();
    + self.delegationToken = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -6588,7 +6588,7 @@ class TCancelDelegationTokenReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.delegationToken = iprot.readString();
    + self.delegationToken = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -6739,7 +6739,7 @@ class TRenewDelegationTokenReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.delegationToken = iprot.readString();
    + self.delegationToken = iprot.readString()
              else:
                iprot.skip(ftype)
            else:

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote b/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote
    index 747c2be..af2d93d 100755
    --- a/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote
    +++ b/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote
    @@ -1,6 +1,6 @@
      #!/usr/bin/env python
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
    @@ -77,6 +77,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help':
        print(' DropPartitionsResult drop_partitions_req(DropPartitionsRequest req)')
        print(' Partition get_partition(string db_name, string tbl_name, part_vals)')
        print(' Partition exchange_partition( partitionSpecs, string source_db, string source_table_name, string dest_db, string dest_table_name)')
    + print(' exchange_partitions( partitionSpecs, string source_db, string source_table_name, string dest_db, string dest_table_name)')
        print(' Partition get_partition_with_auth(string db_name, string tbl_name, part_vals, string user_name, group_names)')
        print(' Partition get_partition_by_name(string db_name, string tbl_name, string part_name)')
        print(' get_partitions(string db_name, string tbl_name, i16 max_parts)')
    @@ -166,8 +167,8 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help':
        print(' void setOption(string key, string value)')
        print(' string getOption(string key)')
        print(' getOptions()')
    + print(' string getCpuProfile(i32 profileDurationInSec)')
        print(' i64 aliveSince()')
    - print(' reflection_limited.Service getLimitedReflection()')
        print(' void reinitialize()')
        print(' void shutdown()')
        print('')
    @@ -544,6 +545,12 @@ elif cmd == 'exchange_partition':
          sys.exit(1)
        pp.pprint(client.exchange_partition(eval(args[0]),args[1],args[2],args[3],args[4],))

    +elif cmd == 'exchange_partitions':
    + if len(args) != 5:
    + print('exchange_partitions requires 5 args')
    + sys.exit(1)
    + pp.pprint(client.exchange_partitions(eval(args[0]),args[1],args[2],args[3],args[4],))
    +
      elif cmd == 'get_partition_with_auth':
        if len(args) != 5:
          print('get_partition_with_auth requires 5 args')
    @@ -1078,18 +1085,18 @@ elif cmd == 'getOptions':
          sys.exit(1)
        pp.pprint(client.getOptions())

    +elif cmd == 'getCpuProfile':
    + if len(args) != 1:
    + print('getCpuProfile requires 1 args')
    + sys.exit(1)
    + pp.pprint(client.getCpuProfile(eval(args[0]),))
    +
      elif cmd == 'aliveSince':
        if len(args) != 0:
          print('aliveSince requires 0 args')
          sys.exit(1)
        pp.pprint(client.aliveSince())

    -elif cmd == 'getLimitedReflection':
    - if len(args) != 0:
    - print('getLimitedReflection requires 0 args')
    - sys.exit(1)
    - pp.pprint(client.getLimitedReflection())
    -
      elif cmd == 'reinitialize':
        if len(args) != 0:
          print('reinitialize requires 0 args')
  • Gates at Jan 15, 2016 at 1:17 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-cpp/TCLIService.cpp
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/TCLIService.cpp b/service/src/gen/thrift/gen-cpp/TCLIService.cpp
    index 7dae2f8..7e2c028 100644
    --- a/service/src/gen/thrift/gen-cpp/TCLIService.cpp
    +++ b/service/src/gen/thrift/gen-cpp/TCLIService.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -15,6 +15,7 @@ TCLIService_OpenSession_args::~TCLIService_OpenSession_args() throw() {

      uint32_t TCLIService_OpenSession_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -55,7 +56,7 @@ uint32_t TCLIService_OpenSession_args::read(::apache::thrift::protocol::TProtoco

      uint32_t TCLIService_OpenSession_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_OpenSession_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -64,7 +65,6 @@ uint32_t TCLIService_OpenSession_args::write(::apache::thrift::protocol::TProtoc

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -75,7 +75,7 @@ TCLIService_OpenSession_pargs::~TCLIService_OpenSession_pargs() throw() {

      uint32_t TCLIService_OpenSession_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_OpenSession_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -84,7 +84,6 @@ uint32_t TCLIService_OpenSession_pargs::write(::apache::thrift::protocol::TProto

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -95,6 +94,7 @@ TCLIService_OpenSession_result::~TCLIService_OpenSession_result() throw() {

      uint32_t TCLIService_OpenSession_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -156,6 +156,7 @@ TCLIService_OpenSession_presult::~TCLIService_OpenSession_presult() throw() {

      uint32_t TCLIService_OpenSession_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -201,6 +202,7 @@ TCLIService_CloseSession_args::~TCLIService_CloseSession_args() throw() {

      uint32_t TCLIService_CloseSession_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -241,7 +243,7 @@ uint32_t TCLIService_CloseSession_args::read(::apache::thrift::protocol::TProtoc

      uint32_t TCLIService_CloseSession_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_CloseSession_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -250,7 +252,6 @@ uint32_t TCLIService_CloseSession_args::write(::apache::thrift::protocol::TProto

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -261,7 +262,7 @@ TCLIService_CloseSession_pargs::~TCLIService_CloseSession_pargs() throw() {

      uint32_t TCLIService_CloseSession_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_CloseSession_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -270,7 +271,6 @@ uint32_t TCLIService_CloseSession_pargs::write(::apache::thrift::protocol::TProt

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -281,6 +281,7 @@ TCLIService_CloseSession_result::~TCLIService_CloseSession_result() throw() {

      uint32_t TCLIService_CloseSession_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -342,6 +343,7 @@ TCLIService_CloseSession_presult::~TCLIService_CloseSession_presult() throw() {

      uint32_t TCLIService_CloseSession_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -387,6 +389,7 @@ TCLIService_GetInfo_args::~TCLIService_GetInfo_args() throw() {

      uint32_t TCLIService_GetInfo_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -427,7 +430,7 @@ uint32_t TCLIService_GetInfo_args::read(::apache::thrift::protocol::TProtocol* i

      uint32_t TCLIService_GetInfo_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetInfo_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -436,7 +439,6 @@ uint32_t TCLIService_GetInfo_args::write(::apache::thrift::protocol::TProtocol*

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -447,7 +449,7 @@ TCLIService_GetInfo_pargs::~TCLIService_GetInfo_pargs() throw() {

      uint32_t TCLIService_GetInfo_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetInfo_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -456,7 +458,6 @@ uint32_t TCLIService_GetInfo_pargs::write(::apache::thrift::protocol::TProtocol*

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -467,6 +468,7 @@ TCLIService_GetInfo_result::~TCLIService_GetInfo_result() throw() {

      uint32_t TCLIService_GetInfo_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -528,6 +530,7 @@ TCLIService_GetInfo_presult::~TCLIService_GetInfo_presult() throw() {

      uint32_t TCLIService_GetInfo_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -573,6 +576,7 @@ TCLIService_ExecuteStatement_args::~TCLIService_ExecuteStatement_args() throw()

      uint32_t TCLIService_ExecuteStatement_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -613,7 +617,7 @@ uint32_t TCLIService_ExecuteStatement_args::read(::apache::thrift::protocol::TPr

      uint32_t TCLIService_ExecuteStatement_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_ExecuteStatement_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -622,7 +626,6 @@ uint32_t TCLIService_ExecuteStatement_args::write(::apache::thrift::protocol::TP

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -633,7 +636,7 @@ TCLIService_ExecuteStatement_pargs::~TCLIService_ExecuteStatement_pargs() throw(

      uint32_t TCLIService_ExecuteStatement_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_ExecuteStatement_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -642,7 +645,6 @@ uint32_t TCLIService_ExecuteStatement_pargs::write(::apache::thrift::protocol::T

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -653,6 +655,7 @@ TCLIService_ExecuteStatement_result::~TCLIService_ExecuteStatement_result() thro

      uint32_t TCLIService_ExecuteStatement_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -714,6 +717,7 @@ TCLIService_ExecuteStatement_presult::~TCLIService_ExecuteStatement_presult() th

      uint32_t TCLIService_ExecuteStatement_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -759,6 +763,7 @@ TCLIService_GetTypeInfo_args::~TCLIService_GetTypeInfo_args() throw() {

      uint32_t TCLIService_GetTypeInfo_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -799,7 +804,7 @@ uint32_t TCLIService_GetTypeInfo_args::read(::apache::thrift::protocol::TProtoco

      uint32_t TCLIService_GetTypeInfo_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetTypeInfo_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -808,7 +813,6 @@ uint32_t TCLIService_GetTypeInfo_args::write(::apache::thrift::protocol::TProtoc

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -819,7 +823,7 @@ TCLIService_GetTypeInfo_pargs::~TCLIService_GetTypeInfo_pargs() throw() {

      uint32_t TCLIService_GetTypeInfo_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetTypeInfo_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -828,7 +832,6 @@ uint32_t TCLIService_GetTypeInfo_pargs::write(::apache::thrift::protocol::TProto

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -839,6 +842,7 @@ TCLIService_GetTypeInfo_result::~TCLIService_GetTypeInfo_result() throw() {

      uint32_t TCLIService_GetTypeInfo_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -900,6 +904,7 @@ TCLIService_GetTypeInfo_presult::~TCLIService_GetTypeInfo_presult() throw() {

      uint32_t TCLIService_GetTypeInfo_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -945,6 +950,7 @@ TCLIService_GetCatalogs_args::~TCLIService_GetCatalogs_args() throw() {

      uint32_t TCLIService_GetCatalogs_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -985,7 +991,7 @@ uint32_t TCLIService_GetCatalogs_args::read(::apache::thrift::protocol::TProtoco

      uint32_t TCLIService_GetCatalogs_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetCatalogs_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -994,7 +1000,6 @@ uint32_t TCLIService_GetCatalogs_args::write(::apache::thrift::protocol::TProtoc

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1005,7 +1010,7 @@ TCLIService_GetCatalogs_pargs::~TCLIService_GetCatalogs_pargs() throw() {

      uint32_t TCLIService_GetCatalogs_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetCatalogs_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1014,7 +1019,6 @@ uint32_t TCLIService_GetCatalogs_pargs::write(::apache::thrift::protocol::TProto

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1025,6 +1029,7 @@ TCLIService_GetCatalogs_result::~TCLIService_GetCatalogs_result() throw() {

      uint32_t TCLIService_GetCatalogs_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1086,6 +1091,7 @@ TCLIService_GetCatalogs_presult::~TCLIService_GetCatalogs_presult() throw() {

      uint32_t TCLIService_GetCatalogs_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1131,6 +1137,7 @@ TCLIService_GetSchemas_args::~TCLIService_GetSchemas_args() throw() {

      uint32_t TCLIService_GetSchemas_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1171,7 +1178,7 @@ uint32_t TCLIService_GetSchemas_args::read(::apache::thrift::protocol::TProtocol

      uint32_t TCLIService_GetSchemas_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetSchemas_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1180,7 +1187,6 @@ uint32_t TCLIService_GetSchemas_args::write(::apache::thrift::protocol::TProtoco

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1191,7 +1197,7 @@ TCLIService_GetSchemas_pargs::~TCLIService_GetSchemas_pargs() throw() {

      uint32_t TCLIService_GetSchemas_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetSchemas_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1200,7 +1206,6 @@ uint32_t TCLIService_GetSchemas_pargs::write(::apache::thrift::protocol::TProtoc

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1211,6 +1216,7 @@ TCLIService_GetSchemas_result::~TCLIService_GetSchemas_result() throw() {

      uint32_t TCLIService_GetSchemas_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1272,6 +1278,7 @@ TCLIService_GetSchemas_presult::~TCLIService_GetSchemas_presult() throw() {

      uint32_t TCLIService_GetSchemas_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1317,6 +1324,7 @@ TCLIService_GetTables_args::~TCLIService_GetTables_args() throw() {

      uint32_t TCLIService_GetTables_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1357,7 +1365,7 @@ uint32_t TCLIService_GetTables_args::read(::apache::thrift::protocol::TProtocol*

      uint32_t TCLIService_GetTables_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetTables_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1366,7 +1374,6 @@ uint32_t TCLIService_GetTables_args::write(::apache::thrift::protocol::TProtocol

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1377,7 +1384,7 @@ TCLIService_GetTables_pargs::~TCLIService_GetTables_pargs() throw() {

      uint32_t TCLIService_GetTables_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetTables_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1386,7 +1393,6 @@ uint32_t TCLIService_GetTables_pargs::write(::apache::thrift::protocol::TProtoco

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1397,6 +1403,7 @@ TCLIService_GetTables_result::~TCLIService_GetTables_result() throw() {

      uint32_t TCLIService_GetTables_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1458,6 +1465,7 @@ TCLIService_GetTables_presult::~TCLIService_GetTables_presult() throw() {

      uint32_t TCLIService_GetTables_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1503,6 +1511,7 @@ TCLIService_GetTableTypes_args::~TCLIService_GetTableTypes_args() throw() {

      uint32_t TCLIService_GetTableTypes_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1543,7 +1552,7 @@ uint32_t TCLIService_GetTableTypes_args::read(::apache::thrift::protocol::TProto

      uint32_t TCLIService_GetTableTypes_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetTableTypes_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1552,7 +1561,6 @@ uint32_t TCLIService_GetTableTypes_args::write(::apache::thrift::protocol::TProt

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1563,7 +1571,7 @@ TCLIService_GetTableTypes_pargs::~TCLIService_GetTableTypes_pargs() throw() {

      uint32_t TCLIService_GetTableTypes_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetTableTypes_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1572,7 +1580,6 @@ uint32_t TCLIService_GetTableTypes_pargs::write(::apache::thrift::protocol::TPro

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1583,6 +1590,7 @@ TCLIService_GetTableTypes_result::~TCLIService_GetTableTypes_result() throw() {

      uint32_t TCLIService_GetTableTypes_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1644,6 +1652,7 @@ TCLIService_GetTableTypes_presult::~TCLIService_GetTableTypes_presult() throw()

      uint32_t TCLIService_GetTableTypes_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1689,6 +1698,7 @@ TCLIService_GetColumns_args::~TCLIService_GetColumns_args() throw() {

      uint32_t TCLIService_GetColumns_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1729,7 +1739,7 @@ uint32_t TCLIService_GetColumns_args::read(::apache::thrift::protocol::TProtocol

      uint32_t TCLIService_GetColumns_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetColumns_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1738,7 +1748,6 @@ uint32_t TCLIService_GetColumns_args::write(::apache::thrift::protocol::TProtoco

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1749,7 +1758,7 @@ TCLIService_GetColumns_pargs::~TCLIService_GetColumns_pargs() throw() {

      uint32_t TCLIService_GetColumns_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetColumns_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1758,7 +1767,6 @@ uint32_t TCLIService_GetColumns_pargs::write(::apache::thrift::protocol::TProtoc

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1769,6 +1777,7 @@ TCLIService_GetColumns_result::~TCLIService_GetColumns_result() throw() {

      uint32_t TCLIService_GetColumns_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1830,6 +1839,7 @@ TCLIService_GetColumns_presult::~TCLIService_GetColumns_presult() throw() {

      uint32_t TCLIService_GetColumns_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1875,6 +1885,7 @@ TCLIService_GetFunctions_args::~TCLIService_GetFunctions_args() throw() {

      uint32_t TCLIService_GetFunctions_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1915,7 +1926,7 @@ uint32_t TCLIService_GetFunctions_args::read(::apache::thrift::protocol::TProtoc

      uint32_t TCLIService_GetFunctions_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetFunctions_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1924,7 +1935,6 @@ uint32_t TCLIService_GetFunctions_args::write(::apache::thrift::protocol::TProto

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1935,7 +1945,7 @@ TCLIService_GetFunctions_pargs::~TCLIService_GetFunctions_pargs() throw() {

      uint32_t TCLIService_GetFunctions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetFunctions_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1944,7 +1954,6 @@ uint32_t TCLIService_GetFunctions_pargs::write(::apache::thrift::protocol::TProt

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1955,6 +1964,7 @@ TCLIService_GetFunctions_result::~TCLIService_GetFunctions_result() throw() {

      uint32_t TCLIService_GetFunctions_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2016,6 +2026,7 @@ TCLIService_GetFunctions_presult::~TCLIService_GetFunctions_presult() throw() {

      uint32_t TCLIService_GetFunctions_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2061,6 +2072,7 @@ TCLIService_GetOperationStatus_args::~TCLIService_GetOperationStatus_args() thro

      uint32_t TCLIService_GetOperationStatus_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2101,7 +2113,7 @@ uint32_t TCLIService_GetOperationStatus_args::read(::apache::thrift::protocol::T

      uint32_t TCLIService_GetOperationStatus_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetOperationStatus_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2110,7 +2122,6 @@ uint32_t TCLIService_GetOperationStatus_args::write(::apache::thrift::protocol::

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2121,7 +2132,7 @@ TCLIService_GetOperationStatus_pargs::~TCLIService_GetOperationStatus_pargs() th

      uint32_t TCLIService_GetOperationStatus_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetOperationStatus_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2130,7 +2141,6 @@ uint32_t TCLIService_GetOperationStatus_pargs::write(::apache::thrift::protocol:

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2141,6 +2151,7 @@ TCLIService_GetOperationStatus_result::~TCLIService_GetOperationStatus_result()

      uint32_t TCLIService_GetOperationStatus_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2202,6 +2213,7 @@ TCLIService_GetOperationStatus_presult::~TCLIService_GetOperationStatus_presult(

      uint32_t TCLIService_GetOperationStatus_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2247,6 +2259,7 @@ TCLIService_CancelOperation_args::~TCLIService_CancelOperation_args() throw() {

      uint32_t TCLIService_CancelOperation_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2287,7 +2300,7 @@ uint32_t TCLIService_CancelOperation_args::read(::apache::thrift::protocol::TPro

      uint32_t TCLIService_CancelOperation_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_CancelOperation_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2296,7 +2309,6 @@ uint32_t TCLIService_CancelOperation_args::write(::apache::thrift::protocol::TPr

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2307,7 +2319,7 @@ TCLIService_CancelOperation_pargs::~TCLIService_CancelOperation_pargs() throw()

      uint32_t TCLIService_CancelOperation_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_CancelOperation_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2316,7 +2328,6 @@ uint32_t TCLIService_CancelOperation_pargs::write(::apache::thrift::protocol::TP

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2327,6 +2338,7 @@ TCLIService_CancelOperation_result::~TCLIService_CancelOperation_result() throw(

      uint32_t TCLIService_CancelOperation_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2388,6 +2400,7 @@ TCLIService_CancelOperation_presult::~TCLIService_CancelOperation_presult() thro

      uint32_t TCLIService_CancelOperation_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2433,6 +2446,7 @@ TCLIService_CloseOperation_args::~TCLIService_CloseOperation_args() throw() {

      uint32_t TCLIService_CloseOperation_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2473,7 +2487,7 @@ uint32_t TCLIService_CloseOperation_args::read(::apache::thrift::protocol::TProt

      uint32_t TCLIService_CloseOperation_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_CloseOperation_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2482,7 +2496,6 @@ uint32_t TCLIService_CloseOperation_args::write(::apache::thrift::protocol::TPro

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2493,7 +2506,7 @@ TCLIService_CloseOperation_pargs::~TCLIService_CloseOperation_pargs() throw() {

      uint32_t TCLIService_CloseOperation_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_CloseOperation_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2502,7 +2515,6 @@ uint32_t TCLIService_CloseOperation_pargs::write(::apache::thrift::protocol::TPr

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2513,6 +2525,7 @@ TCLIService_CloseOperation_result::~TCLIService_CloseOperation_result() throw()

      uint32_t TCLIService_CloseOperation_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2574,6 +2587,7 @@ TCLIService_CloseOperation_presult::~TCLIService_CloseOperation_presult() throw(

      uint32_t TCLIService_CloseOperation_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2619,6 +2633,7 @@ TCLIService_GetResultSetMetadata_args::~TCLIService_GetResultSetMetadata_args()

      uint32_t TCLIService_GetResultSetMetadata_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2659,7 +2674,7 @@ uint32_t TCLIService_GetResultSetMetadata_args::read(::apache::thrift::protocol:

      uint32_t TCLIService_GetResultSetMetadata_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetResultSetMetadata_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2668,7 +2683,6 @@ uint32_t TCLIService_GetResultSetMetadata_args::write(::apache::thrift::protocol

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2679,7 +2693,7 @@ TCLIService_GetResultSetMetadata_pargs::~TCLIService_GetResultSetMetadata_pargs(

      uint32_t TCLIService_GetResultSetMetadata_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetResultSetMetadata_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2688,7 +2702,6 @@ uint32_t TCLIService_GetResultSetMetadata_pargs::write(::apache::thrift::protoco

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2699,6 +2712,7 @@ TCLIService_GetResultSetMetadata_result::~TCLIService_GetResultSetMetadata_resul

      uint32_t TCLIService_GetResultSetMetadata_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2760,6 +2774,7 @@ TCLIService_GetResultSetMetadata_presult::~TCLIService_GetResultSetMetadata_pres

      uint32_t TCLIService_GetResultSetMetadata_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2805,6 +2820,7 @@ TCLIService_FetchResults_args::~TCLIService_FetchResults_args() throw() {

      uint32_t TCLIService_FetchResults_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2845,7 +2861,7 @@ uint32_t TCLIService_FetchResults_args::read(::apache::thrift::protocol::TProtoc

      uint32_t TCLIService_FetchResults_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_FetchResults_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2854,7 +2870,6 @@ uint32_t TCLIService_FetchResults_args::write(::apache::thrift::protocol::TProto

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2865,7 +2880,7 @@ TCLIService_FetchResults_pargs::~TCLIService_FetchResults_pargs() throw() {

      uint32_t TCLIService_FetchResults_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_FetchResults_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2874,7 +2889,6 @@ uint32_t TCLIService_FetchResults_pargs::write(::apache::thrift::protocol::TProt

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2885,6 +2899,7 @@ TCLIService_FetchResults_result::~TCLIService_FetchResults_result() throw() {

      uint32_t TCLIService_FetchResults_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2946,6 +2961,7 @@ TCLIService_FetchResults_presult::~TCLIService_FetchResults_presult() throw() {

      uint32_t TCLIService_FetchResults_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2991,6 +3007,7 @@ TCLIService_GetDelegationToken_args::~TCLIService_GetDelegationToken_args() thro

      uint32_t TCLIService_GetDelegationToken_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3031,7 +3048,7 @@ uint32_t TCLIService_GetDelegationToken_args::read(::apache::thrift::protocol::T

      uint32_t TCLIService_GetDelegationToken_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetDelegationToken_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -3040,7 +3057,6 @@ uint32_t TCLIService_GetDelegationToken_args::write(::apache::thrift::protocol::

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -3051,7 +3067,7 @@ TCLIService_GetDelegationToken_pargs::~TCLIService_GetDelegationToken_pargs() th

      uint32_t TCLIService_GetDelegationToken_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_GetDelegationToken_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -3060,7 +3076,6 @@ uint32_t TCLIService_GetDelegationToken_pargs::write(::apache::thrift::protocol:

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -3071,6 +3086,7 @@ TCLIService_GetDelegationToken_result::~TCLIService_GetDelegationToken_result()

      uint32_t TCLIService_GetDelegationToken_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3132,6 +3148,7 @@ TCLIService_GetDelegationToken_presult::~TCLIService_GetDelegationToken_presult(

      uint32_t TCLIService_GetDelegationToken_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3177,6 +3194,7 @@ TCLIService_CancelDelegationToken_args::~TCLIService_CancelDelegationToken_args(

      uint32_t TCLIService_CancelDelegationToken_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3217,7 +3235,7 @@ uint32_t TCLIService_CancelDelegationToken_args::read(::apache::thrift::protocol

      uint32_t TCLIService_CancelDelegationToken_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_CancelDelegationToken_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -3226,7 +3244,6 @@ uint32_t TCLIService_CancelDelegationToken_args::write(::apache::thrift::protoco

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -3237,7 +3254,7 @@ TCLIService_CancelDelegationToken_pargs::~TCLIService_CancelDelegationToken_parg

      uint32_t TCLIService_CancelDelegationToken_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_CancelDelegationToken_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -3246,7 +3263,6 @@ uint32_t TCLIService_CancelDelegationToken_pargs::write(::apache::thrift::protoc

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -3257,6 +3273,7 @@ TCLIService_CancelDelegationToken_result::~TCLIService_CancelDelegationToken_res

      uint32_t TCLIService_CancelDelegationToken_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3318,6 +3335,7 @@ TCLIService_CancelDelegationToken_presult::~TCLIService_CancelDelegationToken_pr

      uint32_t TCLIService_CancelDelegationToken_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3363,6 +3381,7 @@ TCLIService_RenewDelegationToken_args::~TCLIService_RenewDelegationToken_args()

      uint32_t TCLIService_RenewDelegationToken_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3403,7 +3422,7 @@ uint32_t TCLIService_RenewDelegationToken_args::read(::apache::thrift::protocol:

      uint32_t TCLIService_RenewDelegationToken_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_RenewDelegationToken_args");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -3412,7 +3431,6 @@ uint32_t TCLIService_RenewDelegationToken_args::write(::apache::thrift::protocol

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -3423,7 +3441,7 @@ TCLIService_RenewDelegationToken_pargs::~TCLIService_RenewDelegationToken_pargs(

      uint32_t TCLIService_RenewDelegationToken_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCLIService_RenewDelegationToken_pargs");

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -3432,7 +3450,6 @@ uint32_t TCLIService_RenewDelegationToken_pargs::write(::apache::thrift::protoco

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -3443,6 +3460,7 @@ TCLIService_RenewDelegationToken_result::~TCLIService_RenewDelegationToken_resul

      uint32_t TCLIService_RenewDelegationToken_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3504,6 +3522,7 @@ TCLIService_RenewDelegationToken_presult::~TCLIService_RenewDelegationToken_pres

      uint32_t TCLIService_RenewDelegationToken_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5695,5 +5714,1602 @@ void TCLIServiceProcessor::process_RenewDelegationToken(int32_t seqid, ::apache:
        ::boost::shared_ptr< ::apache::thrift::TProcessor > processor(new TCLIServiceProcessor(handler));
        return processor;
      }
    +
    +void TCLIServiceConcurrentClient::OpenSession(TOpenSessionResp& _return, const TOpenSessionReq& req)
    +{
    + int32_t seqid = send_OpenSession(req);
    + recv_OpenSession(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_OpenSession(const TOpenSessionReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("OpenSession", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_OpenSession_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_OpenSession(TOpenSessionResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("OpenSession") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_OpenSession_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "OpenSession failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::CloseSession(TCloseSessionResp& _return, const TCloseSessionReq& req)
    +{
    + int32_t seqid = send_CloseSession(req);
    + recv_CloseSession(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_CloseSession(const TCloseSessionReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("CloseSession", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_CloseSession_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_CloseSession(TCloseSessionResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("CloseSession") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_CloseSession_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "CloseSession failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetInfo(TGetInfoResp& _return, const TGetInfoReq& req)
    +{
    + int32_t seqid = send_GetInfo(req);
    + recv_GetInfo(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetInfo(const TGetInfoReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetInfo", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetInfo_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetInfo(TGetInfoResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetInfo") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetInfo_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetInfo failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::ExecuteStatement(TExecuteStatementResp& _return, const TExecuteStatementReq& req)
    +{
    + int32_t seqid = send_ExecuteStatement(req);
    + recv_ExecuteStatement(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_ExecuteStatement(const TExecuteStatementReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("ExecuteStatement", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_ExecuteStatement_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_ExecuteStatement(TExecuteStatementResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("ExecuteStatement") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_ExecuteStatement_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "ExecuteStatement failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetTypeInfo(TGetTypeInfoResp& _return, const TGetTypeInfoReq& req)
    +{
    + int32_t seqid = send_GetTypeInfo(req);
    + recv_GetTypeInfo(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetTypeInfo(const TGetTypeInfoReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetTypeInfo", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetTypeInfo_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetTypeInfo(TGetTypeInfoResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetTypeInfo") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetTypeInfo_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTypeInfo failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetCatalogs(TGetCatalogsResp& _return, const TGetCatalogsReq& req)
    +{
    + int32_t seqid = send_GetCatalogs(req);
    + recv_GetCatalogs(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetCatalogs(const TGetCatalogsReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetCatalogs", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetCatalogs_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetCatalogs(TGetCatalogsResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetCatalogs") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetCatalogs_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetCatalogs failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetSchemas(TGetSchemasResp& _return, const TGetSchemasReq& req)
    +{
    + int32_t seqid = send_GetSchemas(req);
    + recv_GetSchemas(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetSchemas(const TGetSchemasReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetSchemas", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetSchemas_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetSchemas(TGetSchemasResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetSchemas") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetSchemas_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetSchemas failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetTables(TGetTablesResp& _return, const TGetTablesReq& req)
    +{
    + int32_t seqid = send_GetTables(req);
    + recv_GetTables(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetTables(const TGetTablesReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetTables", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetTables_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetTables(TGetTablesResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetTables") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetTables_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTables failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetTableTypes(TGetTableTypesResp& _return, const TGetTableTypesReq& req)
    +{
    + int32_t seqid = send_GetTableTypes(req);
    + recv_GetTableTypes(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetTableTypes(const TGetTableTypesReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetTableTypes", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetTableTypes_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetTableTypes(TGetTableTypesResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetTableTypes") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetTableTypes_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTableTypes failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetColumns(TGetColumnsResp& _return, const TGetColumnsReq& req)
    +{
    + int32_t seqid = send_GetColumns(req);
    + recv_GetColumns(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetColumns(const TGetColumnsReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetColumns", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetColumns_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetColumns(TGetColumnsResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetColumns") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetColumns_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetColumns failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetFunctions(TGetFunctionsResp& _return, const TGetFunctionsReq& req)
    +{
    + int32_t seqid = send_GetFunctions(req);
    + recv_GetFunctions(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetFunctions(const TGetFunctionsReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetFunctions", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetFunctions_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetFunctions(TGetFunctionsResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetFunctions") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetFunctions_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetFunctions failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetOperationStatus(TGetOperationStatusResp& _return, const TGetOperationStatusReq& req)
    +{
    + int32_t seqid = send_GetOperationStatus(req);
    + recv_GetOperationStatus(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetOperationStatus(const TGetOperationStatusReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetOperationStatus", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetOperationStatus_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetOperationStatus(TGetOperationStatusResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetOperationStatus") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetOperationStatus_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetOperationStatus failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::CancelOperation(TCancelOperationResp& _return, const TCancelOperationReq& req)
    +{
    + int32_t seqid = send_CancelOperation(req);
    + recv_CancelOperation(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_CancelOperation(const TCancelOperationReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("CancelOperation", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_CancelOperation_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_CancelOperation(TCancelOperationResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("CancelOperation") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_CancelOperation_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "CancelOperation failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::CloseOperation(TCloseOperationResp& _return, const TCloseOperationReq& req)
    +{
    + int32_t seqid = send_CloseOperation(req);
    + recv_CloseOperation(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_CloseOperation(const TCloseOperationReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("CloseOperation", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_CloseOperation_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_CloseOperation(TCloseOperationResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("CloseOperation") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_CloseOperation_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "CloseOperation failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will tempo

    <TRUNCATED>
  • Gates at Jan 15, 2016 at 1:17 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-cpp/ThriftHive.cpp
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/ThriftHive.cpp b/service/src/gen/thrift/gen-cpp/ThriftHive.cpp
    index 8935c04..a5448f0 100644
    --- a/service/src/gen/thrift/gen-cpp/ThriftHive.cpp
    +++ b/service/src/gen/thrift/gen-cpp/ThriftHive.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -15,6 +15,7 @@ ThriftHive_execute_args::~ThriftHive_execute_args() throw() {

      uint32_t ThriftHive_execute_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -55,7 +56,7 @@ uint32_t ThriftHive_execute_args::read(::apache::thrift::protocol::TProtocol* ip

      uint32_t ThriftHive_execute_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_execute_args");

        xfer += oprot->writeFieldBegin("query", ::apache::thrift::protocol::T_STRING, 1);
    @@ -64,7 +65,6 @@ uint32_t ThriftHive_execute_args::write(::apache::thrift::protocol::TProtocol* o

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -75,7 +75,7 @@ ThriftHive_execute_pargs::~ThriftHive_execute_pargs() throw() {

      uint32_t ThriftHive_execute_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_execute_pargs");

        xfer += oprot->writeFieldBegin("query", ::apache::thrift::protocol::T_STRING, 1);
    @@ -84,7 +84,6 @@ uint32_t ThriftHive_execute_pargs::write(::apache::thrift::protocol::TProtocol*

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -95,6 +94,7 @@ ThriftHive_execute_result::~ThriftHive_execute_result() throw() {

      uint32_t ThriftHive_execute_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -156,6 +156,7 @@ ThriftHive_execute_presult::~ThriftHive_execute_presult() throw() {

      uint32_t ThriftHive_execute_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -201,6 +202,7 @@ ThriftHive_fetchOne_args::~ThriftHive_fetchOne_args() throw() {

      uint32_t ThriftHive_fetchOne_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -228,12 +230,11 @@ uint32_t ThriftHive_fetchOne_args::read(::apache::thrift::protocol::TProtocol* i

      uint32_t ThriftHive_fetchOne_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_fetchOne_args");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -244,12 +245,11 @@ ThriftHive_fetchOne_pargs::~ThriftHive_fetchOne_pargs() throw() {

      uint32_t ThriftHive_fetchOne_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_fetchOne_pargs");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -260,6 +260,7 @@ ThriftHive_fetchOne_result::~ThriftHive_fetchOne_result() throw() {

      uint32_t ThriftHive_fetchOne_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -333,6 +334,7 @@ ThriftHive_fetchOne_presult::~ThriftHive_fetchOne_presult() throw() {

      uint32_t ThriftHive_fetchOne_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -386,6 +388,7 @@ ThriftHive_fetchN_args::~ThriftHive_fetchN_args() throw() {

      uint32_t ThriftHive_fetchN_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -426,7 +429,7 @@ uint32_t ThriftHive_fetchN_args::read(::apache::thrift::protocol::TProtocol* ipr

      uint32_t ThriftHive_fetchN_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_fetchN_args");

        xfer += oprot->writeFieldBegin("numRows", ::apache::thrift::protocol::T_I32, 1);
    @@ -435,7 +438,6 @@ uint32_t ThriftHive_fetchN_args::write(::apache::thrift::protocol::TProtocol* op

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -446,7 +448,7 @@ ThriftHive_fetchN_pargs::~ThriftHive_fetchN_pargs() throw() {

      uint32_t ThriftHive_fetchN_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_fetchN_pargs");

        xfer += oprot->writeFieldBegin("numRows", ::apache::thrift::protocol::T_I32, 1);
    @@ -455,7 +457,6 @@ uint32_t ThriftHive_fetchN_pargs::write(::apache::thrift::protocol::TProtocol* o

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -466,6 +467,7 @@ ThriftHive_fetchN_result::~ThriftHive_fetchN_result() throw() {

      uint32_t ThriftHive_fetchN_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -559,6 +561,7 @@ ThriftHive_fetchN_presult::~ThriftHive_fetchN_presult() throw() {

      uint32_t ThriftHive_fetchN_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -624,6 +627,7 @@ ThriftHive_fetchAll_args::~ThriftHive_fetchAll_args() throw() {

      uint32_t ThriftHive_fetchAll_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -651,12 +655,11 @@ uint32_t ThriftHive_fetchAll_args::read(::apache::thrift::protocol::TProtocol* i

      uint32_t ThriftHive_fetchAll_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_fetchAll_args");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -667,12 +670,11 @@ ThriftHive_fetchAll_pargs::~ThriftHive_fetchAll_pargs() throw() {

      uint32_t ThriftHive_fetchAll_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_fetchAll_pargs");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -683,6 +685,7 @@ ThriftHive_fetchAll_result::~ThriftHive_fetchAll_result() throw() {

      uint32_t ThriftHive_fetchAll_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -776,6 +779,7 @@ ThriftHive_fetchAll_presult::~ThriftHive_fetchAll_presult() throw() {

      uint32_t ThriftHive_fetchAll_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -841,6 +845,7 @@ ThriftHive_getSchema_args::~ThriftHive_getSchema_args() throw() {

      uint32_t ThriftHive_getSchema_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -868,12 +873,11 @@ uint32_t ThriftHive_getSchema_args::read(::apache::thrift::protocol::TProtocol*

      uint32_t ThriftHive_getSchema_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getSchema_args");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -884,12 +888,11 @@ ThriftHive_getSchema_pargs::~ThriftHive_getSchema_pargs() throw() {

      uint32_t ThriftHive_getSchema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getSchema_pargs");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -900,6 +903,7 @@ ThriftHive_getSchema_result::~ThriftHive_getSchema_result() throw() {

      uint32_t ThriftHive_getSchema_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -973,6 +977,7 @@ ThriftHive_getSchema_presult::~ThriftHive_getSchema_presult() throw() {

      uint32_t ThriftHive_getSchema_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1026,6 +1031,7 @@ ThriftHive_getThriftSchema_args::~ThriftHive_getThriftSchema_args() throw() {

      uint32_t ThriftHive_getThriftSchema_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1053,12 +1059,11 @@ uint32_t ThriftHive_getThriftSchema_args::read(::apache::thrift::protocol::TProt

      uint32_t ThriftHive_getThriftSchema_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getThriftSchema_args");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1069,12 +1074,11 @@ ThriftHive_getThriftSchema_pargs::~ThriftHive_getThriftSchema_pargs() throw() {

      uint32_t ThriftHive_getThriftSchema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getThriftSchema_pargs");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1085,6 +1089,7 @@ ThriftHive_getThriftSchema_result::~ThriftHive_getThriftSchema_result() throw()

      uint32_t ThriftHive_getThriftSchema_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1158,6 +1163,7 @@ ThriftHive_getThriftSchema_presult::~ThriftHive_getThriftSchema_presult() throw(

      uint32_t ThriftHive_getThriftSchema_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1211,6 +1217,7 @@ ThriftHive_getClusterStatus_args::~ThriftHive_getClusterStatus_args() throw() {

      uint32_t ThriftHive_getClusterStatus_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1238,12 +1245,11 @@ uint32_t ThriftHive_getClusterStatus_args::read(::apache::thrift::protocol::TPro

      uint32_t ThriftHive_getClusterStatus_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getClusterStatus_args");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1254,12 +1260,11 @@ ThriftHive_getClusterStatus_pargs::~ThriftHive_getClusterStatus_pargs() throw()

      uint32_t ThriftHive_getClusterStatus_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getClusterStatus_pargs");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1270,6 +1275,7 @@ ThriftHive_getClusterStatus_result::~ThriftHive_getClusterStatus_result() throw(

      uint32_t ThriftHive_getClusterStatus_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1343,6 +1349,7 @@ ThriftHive_getClusterStatus_presult::~ThriftHive_getClusterStatus_presult() thro

      uint32_t ThriftHive_getClusterStatus_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1396,6 +1403,7 @@ ThriftHive_getQueryPlan_args::~ThriftHive_getQueryPlan_args() throw() {

      uint32_t ThriftHive_getQueryPlan_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1423,12 +1431,11 @@ uint32_t ThriftHive_getQueryPlan_args::read(::apache::thrift::protocol::TProtoco

      uint32_t ThriftHive_getQueryPlan_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getQueryPlan_args");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1439,12 +1446,11 @@ ThriftHive_getQueryPlan_pargs::~ThriftHive_getQueryPlan_pargs() throw() {

      uint32_t ThriftHive_getQueryPlan_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getQueryPlan_pargs");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1455,6 +1461,7 @@ ThriftHive_getQueryPlan_result::~ThriftHive_getQueryPlan_result() throw() {

      uint32_t ThriftHive_getQueryPlan_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1528,6 +1535,7 @@ ThriftHive_getQueryPlan_presult::~ThriftHive_getQueryPlan_presult() throw() {

      uint32_t ThriftHive_getQueryPlan_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1581,6 +1589,7 @@ ThriftHive_clean_args::~ThriftHive_clean_args() throw() {

      uint32_t ThriftHive_clean_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1608,12 +1617,11 @@ uint32_t ThriftHive_clean_args::read(::apache::thrift::protocol::TProtocol* ipro

      uint32_t ThriftHive_clean_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_clean_args");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1624,12 +1632,11 @@ ThriftHive_clean_pargs::~ThriftHive_clean_pargs() throw() {

      uint32_t ThriftHive_clean_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_clean_pargs");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1640,6 +1647,7 @@ ThriftHive_clean_result::~ThriftHive_clean_result() throw() {

      uint32_t ThriftHive_clean_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1683,6 +1691,7 @@ ThriftHive_clean_presult::~ThriftHive_clean_presult() throw() {

      uint32_t ThriftHive_clean_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2761,5 +2770,775 @@ void ThriftHiveProcessor::process_clean(int32_t seqid, ::apache::thrift::protoco
        ::boost::shared_ptr< ::apache::thrift::TProcessor > processor(new ThriftHiveProcessor(handler));
        return processor;
      }
    +
    +void ThriftHiveConcurrentClient::execute(const std::string& query)
    +{
    + int32_t seqid = send_execute(query);
    + recv_execute(seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_execute(const std::string& query)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("execute", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_execute_pargs args;
    + args.query = &query;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_execute(const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("execute") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_execute_presult result;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + sentry.commit();
    + return;
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::fetchOne(std::string& _return)
    +{
    + int32_t seqid = send_fetchOne();
    + recv_fetchOne(_return, seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_fetchOne()
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("fetchOne", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_fetchOne_pargs args;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_fetchOne(std::string& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("fetchOne") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_fetchOne_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "fetchOne failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::fetchN(std::vector<std::string> & _return, const int32_t numRows)
    +{
    + int32_t seqid = send_fetchN(numRows);
    + recv_fetchN(_return, seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_fetchN(const int32_t numRows)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("fetchN", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_fetchN_pargs args;
    + args.numRows = &numRows;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_fetchN(std::vector<std::string> & _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("fetchN") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_fetchN_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "fetchN failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::fetchAll(std::vector<std::string> & _return)
    +{
    + int32_t seqid = send_fetchAll();
    + recv_fetchAll(_return, seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_fetchAll()
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("fetchAll", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_fetchAll_pargs args;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_fetchAll(std::vector<std::string> & _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("fetchAll") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_fetchAll_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "fetchAll failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::getSchema( ::Apache::Hadoop::Hive::Schema& _return)
    +{
    + int32_t seqid = send_getSchema();
    + recv_getSchema(_return, seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_getSchema()
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("getSchema", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_getSchema_pargs args;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_getSchema( ::Apache::Hadoop::Hive::Schema& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("getSchema") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_getSchema_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getSchema failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::getThriftSchema( ::Apache::Hadoop::Hive::Schema& _return)
    +{
    + int32_t seqid = send_getThriftSchema();
    + recv_getThriftSchema(_return, seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_getThriftSchema()
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("getThriftSchema", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_getThriftSchema_pargs args;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_getThriftSchema( ::Apache::Hadoop::Hive::Schema& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("getThriftSchema") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_getThriftSchema_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getThriftSchema failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::getClusterStatus(HiveClusterStatus& _return)
    +{
    + int32_t seqid = send_getClusterStatus();
    + recv_getClusterStatus(_return, seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_getClusterStatus()
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("getClusterStatus", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_getClusterStatus_pargs args;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_getClusterStatus(HiveClusterStatus& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("getClusterStatus") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_getClusterStatus_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getClusterStatus failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _return)
    +{
    + int32_t seqid = send_getQueryPlan();
    + recv_getQueryPlan(_return, seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_getQueryPlan()
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("getQueryPlan", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_getQueryPlan_pargs args;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("getQueryPlan") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_getQueryPlan_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getQueryPlan failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::clean()
    +{
    + int32_t seqid = send_clean();
    + recv_clean(seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_clean()
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("clean", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_clean_pargs args;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_clean(const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("clean") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_clean_presult result;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + sentry.commit();
    + return;
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
      }}} // namespace


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-cpp/ThriftHive.h
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/ThriftHive.h b/service/src/gen/thrift/gen-cpp/ThriftHive.h
    index e610e50..902bd4b 100644
    --- a/service/src/gen/thrift/gen-cpp/ThriftHive.h
    +++ b/service/src/gen/thrift/gen-cpp/ThriftHive.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -8,11 +8,17 @@
      #define ThriftHive_H

      #include <thrift/TDispatchProcessor.h>
    +#include <thrift/async/TConcurrentClientSyncInfo.h>
      #include "hive_service_types.h"
      #include "ThriftHiveMetastore.h"

      namespace Apache { namespace Hadoop { namespace Hive {

    +#ifdef _WIN32
    + #pragma warning( push )
    + #pragma warning (disable : 4250 ) //inheriting methods via dominance
    +#endif
    +
      class ThriftHiveIf : virtual public ::Apache::Hadoop::Hive::ThriftHiveMetastoreIf {
       public:
        virtual ~ThriftHiveIf() {}
    @@ -91,9 +97,6 @@ typedef struct _ThriftHive_execute_args__isset {
      class ThriftHive_execute_args {
       public:

    - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
    - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
    -
        ThriftHive_execute_args(const ThriftHive_execute_args&);
        ThriftHive_execute_args& operator=(const ThriftHive_execute_args&);
        ThriftHive_execute_args() : query() {
    @@ -121,23 +124,18 @@ class ThriftHive_execute_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_args& obj);
      };


      class ThriftHive_execute_pargs {
       public:

    - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
    - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
    -

        virtual ~ThriftHive_execute_pargs() throw();
        const std::string* query;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_pargs& obj);
      };

      typedef struct _ThriftHive_execute_result__isset {
    @@ -148,9 +146,6 @@ typedef struct _ThriftHive_execute_result__isset {
      class ThriftHive_execute_result {
       public:

    - static const char* ascii_fingerprint; // = "6AC6FD61CA5E3524E0174B0B96D6F9C0";
    - static const uint8_t binary_fingerprint[16]; // = {0x6A,0xC6,0xFD,0x61,0xCA,0x5E,0x35,0x24,0xE0,0x17,0x4B,0x0B,0x96,0xD6,0xF9,0xC0};
    -
        ThriftHive_execute_result(const ThriftHive_execute_result&);
        ThriftHive_execute_result& operator=(const ThriftHive_execute_result&);
        ThriftHive_execute_result() {
    @@ -178,7 +173,6 @@ class ThriftHive_execute_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_result& obj);
      };

      typedef struct _ThriftHive_execute_presult__isset {
    @@ -189,9 +183,6 @@ typedef struct _ThriftHive_execute_presult__isset {
      class ThriftHive_execute_presult {
       public:

    - static const char* ascii_fingerprint; // = "6AC6FD61CA5E3524E0174B0B96D6F9C0";
    - static const uint8_t binary_fingerprint[16]; // = {0x6A,0xC6,0xFD,0x61,0xCA,0x5E,0x35,0x24,0xE0,0x17,0x4B,0x0B,0x96,0xD6,0xF9,0xC0};
    -

        virtual ~ThriftHive_execute_presult() throw();
        HiveServerException ex;
    @@ -200,16 +191,12 @@ class ThriftHive_execute_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_presult& obj);
      };


      class ThriftHive_fetchOne_args {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -
        ThriftHive_fetchOne_args(const ThriftHive_fetchOne_args&);
        ThriftHive_fetchOne_args& operator=(const ThriftHive_fetchOne_args&);
        ThriftHive_fetchOne_args() {
    @@ -230,22 +217,17 @@ class ThriftHive_fetchOne_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_args& obj);
      };


      class ThriftHive_fetchOne_pargs {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -

        virtual ~ThriftHive_fetchOne_pargs() throw();

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_pargs& obj);
      };

      typedef struct _ThriftHive_fetchOne_result__isset {
    @@ -257,9 +239,6 @@ typedef struct _ThriftHive_fetchOne_result__isset {
      class ThriftHive_fetchOne_result {
       public:

    - static const char* ascii_fingerprint; // = "BD5C3537D3AE5C0248BD3B45C053AE32";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0x5C,0x35,0x37,0xD3,0xAE,0x5C,0x02,0x48,0xBD,0x3B,0x45,0xC0,0x53,0xAE,0x32};
    -
        ThriftHive_fetchOne_result(const ThriftHive_fetchOne_result&);
        ThriftHive_fetchOne_result& operator=(const ThriftHive_fetchOne_result&);
        ThriftHive_fetchOne_result() : success() {
    @@ -292,7 +271,6 @@ class ThriftHive_fetchOne_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_result& obj);
      };

      typedef struct _ThriftHive_fetchOne_presult__isset {
    @@ -304,9 +282,6 @@ typedef struct _ThriftHive_fetchOne_presult__isset {
      class ThriftHive_fetchOne_presult {
       public:

    - static const char* ascii_fingerprint; // = "BD5C3537D3AE5C0248BD3B45C053AE32";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0x5C,0x35,0x37,0xD3,0xAE,0x5C,0x02,0x48,0xBD,0x3B,0x45,0xC0,0x53,0xAE,0x32};
    -

        virtual ~ThriftHive_fetchOne_presult() throw();
        std::string* success;
    @@ -316,7 +291,6 @@ class ThriftHive_fetchOne_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_presult& obj);
      };

      typedef struct _ThriftHive_fetchN_args__isset {
    @@ -327,9 +301,6 @@ typedef struct _ThriftHive_fetchN_args__isset {
      class ThriftHive_fetchN_args {
       public:

    - static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4";
    - static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};
    -
        ThriftHive_fetchN_args(const ThriftHive_fetchN_args&);
        ThriftHive_fetchN_args& operator=(const ThriftHive_fetchN_args&);
        ThriftHive_fetchN_args() : numRows(0) {
    @@ -357,23 +328,18 @@ class ThriftHive_fetchN_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_args& obj);
      };


      class ThriftHive_fetchN_pargs {
       public:

    - static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4";
    - static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};
    -

        virtual ~ThriftHive_fetchN_pargs() throw();
        const int32_t* numRows;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_pargs& obj);
      };

      typedef struct _ThriftHive_fetchN_result__isset {
    @@ -385,9 +351,6 @@ typedef struct _ThriftHive_fetchN_result__isset {
      class ThriftHive_fetchN_result {
       public:

    - static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D";
    - static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D};
    -
        ThriftHive_fetchN_result(const ThriftHive_fetchN_result&);
        ThriftHive_fetchN_result& operator=(const ThriftHive_fetchN_result&);
        ThriftHive_fetchN_result() {
    @@ -420,7 +383,6 @@ class ThriftHive_fetchN_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_result& obj);
      };

      typedef struct _ThriftHive_fetchN_presult__isset {
    @@ -432,9 +394,6 @@ typedef struct _ThriftHive_fetchN_presult__isset {
      class ThriftHive_fetchN_presult {
       public:

    - static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D";
    - static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D};
    -

        virtual ~ThriftHive_fetchN_presult() throw();
        std::vector<std::string> * success;
    @@ -444,16 +403,12 @@ class ThriftHive_fetchN_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_presult& obj);
      };


      class ThriftHive_fetchAll_args {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -
        ThriftHive_fetchAll_args(const ThriftHive_fetchAll_args&);
        ThriftHive_fetchAll_args& operator=(const ThriftHive_fetchAll_args&);
        ThriftHive_fetchAll_args() {
    @@ -474,22 +429,17 @@ class ThriftHive_fetchAll_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_args& obj);
      };


      class ThriftHive_fetchAll_pargs {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -

        virtual ~ThriftHive_fetchAll_pargs() throw();

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_pargs& obj);
      };

      typedef struct _ThriftHive_fetchAll_result__isset {
    @@ -501,9 +451,6 @@ typedef struct _ThriftHive_fetchAll_result__isset {
      class ThriftHive_fetchAll_result {
       public:

    - static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D";
    - static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D};
    -
        ThriftHive_fetchAll_result(const ThriftHive_fetchAll_result&);
        ThriftHive_fetchAll_result& operator=(const ThriftHive_fetchAll_result&);
        ThriftHive_fetchAll_result() {
    @@ -536,7 +483,6 @@ class ThriftHive_fetchAll_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_result& obj);
      };

      typedef struct _ThriftHive_fetchAll_presult__isset {
    @@ -548,9 +494,6 @@ typedef struct _ThriftHive_fetchAll_presult__isset {
      class ThriftHive_fetchAll_presult {
       public:

    - static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D";
    - static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D};
    -

        virtual ~ThriftHive_fetchAll_presult() throw();
        std::vector<std::string> * success;
    @@ -560,16 +503,12 @@ class ThriftHive_fetchAll_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_presult& obj);
      };


      class ThriftHive_getSchema_args {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -
        ThriftHive_getSchema_args(const ThriftHive_getSchema_args&);
        ThriftHive_getSchema_args& operator=(const ThriftHive_getSchema_args&);
        ThriftHive_getSchema_args() {
    @@ -590,22 +529,17 @@ class ThriftHive_getSchema_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_args& obj);
      };


      class ThriftHive_getSchema_pargs {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -

        virtual ~ThriftHive_getSchema_pargs() throw();

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_pargs& obj);
      };

      typedef struct _ThriftHive_getSchema_result__isset {
    @@ -617,9 +551,6 @@ typedef struct _ThriftHive_getSchema_result__isset {
      class ThriftHive_getSchema_result {
       public:

    - static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1";
    - static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1};
    -
        ThriftHive_getSchema_result(const ThriftHive_getSchema_result&);
        ThriftHive_getSchema_result& operator=(const ThriftHive_getSchema_result&);
        ThriftHive_getSchema_result() {
    @@ -652,7 +583,6 @@ class ThriftHive_getSchema_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_result& obj);
      };

      typedef struct _ThriftHive_getSchema_presult__isset {
    @@ -664,9 +594,6 @@ typedef struct _ThriftHive_getSchema_presult__isset {
      class ThriftHive_getSchema_presult {
       public:

    - static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1";
    - static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1};
    -

        virtual ~ThriftHive_getSchema_presult() throw();
         ::Apache::Hadoop::Hive::Schema* success;
    @@ -676,16 +603,12 @@ class ThriftHive_getSchema_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_presult& obj);
      };


      class ThriftHive_getThriftSchema_args {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -
        ThriftHive_getThriftSchema_args(const ThriftHive_getThriftSchema_args&);
        ThriftHive_getThriftSchema_args& operator=(const ThriftHive_getThriftSchema_args&);
        ThriftHive_getThriftSchema_args() {
    @@ -706,22 +629,17 @@ class ThriftHive_getThriftSchema_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_args& obj);
      };


      class ThriftHive_getThriftSchema_pargs {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -

        virtual ~ThriftHive_getThriftSchema_pargs() throw();

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_pargs& obj);
      };

      typedef struct _ThriftHive_getThriftSchema_result__isset {
    @@ -733,9 +651,6 @@ typedef struct _ThriftHive_getThriftSchema_result__isset {
      class ThriftHive_getThriftSchema_result {
       public:

    - static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1";
    - static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1};
    -
        ThriftHive_getThriftSchema_result(const ThriftHive_getThriftSchema_result&);
        ThriftHive_getThriftSchema_result& operator=(const ThriftHive_getThriftSchema_result&);
        ThriftHive_getThriftSchema_result() {
    @@ -768,7 +683,6 @@ class ThriftHive_getThriftSchema_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_result& obj);
      };

      typedef struct _ThriftHive_getThriftSchema_presult__isset {
    @@ -780,9 +694,6 @@ typedef struct _ThriftHive_getThriftSchema_presult__isset {
      class ThriftHive_getThriftSchema_presult {
       public:

    - static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1";
    - static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1};
    -

        virtual ~ThriftHive_getThriftSchema_presult() throw();
         ::Apache::Hadoop::Hive::Schema* success;
    @@ -792,16 +703,12 @@ class ThriftHive_getThriftSchema_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_presult& obj);
      };


      class ThriftHive_getClusterStatus_args {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -
        ThriftHive_getClusterStatus_args(const ThriftHive_getClusterStatus_args&);
        ThriftHive_getClusterStatus_args& operator=(const ThriftHive_getClusterStatus_args&);
        ThriftHive_getClusterStatus_args() {
    @@ -822,22 +729,17 @@ class ThriftHive_getClusterStatus_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_args& obj);
      };


      class ThriftHive_getClusterStatus_pargs {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -

        virtual ~ThriftHive_getClusterStatus_pargs() throw();

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_pargs& obj);
      };

      typedef struct _ThriftHive_getClusterStatus_result__isset {
    @@ -849,9 +751,6 @@ typedef struct _ThriftHive_getClusterStatus_result__isset {
      class ThriftHive_getClusterStatus_result {
       public:

    - static const char* ascii_fingerprint; // = "F486E00F8F0F2B6A17A0371997BB7B87";
    - static const uint8_t binary_fingerprint[16]; // = {0xF4,0x86,0xE0,0x0F,0x8F,0x0F,0x2B,0x6A,0x17,0xA0,0x37,0x19,0x97,0xBB,0x7B,0x87};
    -
        ThriftHive_getClusterStatus_result(const ThriftHive_getClusterStatus_result&);
        ThriftHive_getClusterStatus_result& operator=(const ThriftHive_getClusterStatus_result&);
        ThriftHive_getClusterStatus_result() {
    @@ -884,7 +783,6 @@ class ThriftHive_getClusterStatus_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_result& obj);
      };

      typedef struct _ThriftHive_getClusterStatus_presult__isset {
    @@ -896,9 +794,6 @@ typedef struct _ThriftHive_getClusterStatus_presult__isset {
      class ThriftHive_getClusterStatus_presult {
       public:

    - static const char* ascii_fingerprint; // = "F486E00F8F0F2B6A17A0371997BB7B87";
    - static const uint8_t binary_fingerprint[16]; // = {0xF4,0x86,0xE0,0x0F,0x8F,0x0F,0x2B,0x6A,0x17,0xA0,0x37,0x19,0x97,0xBB,0x7B,0x87};
    -

        virtual ~ThriftHive_getClusterStatus_presult() throw();
        HiveClusterStatus* success;
    @@ -908,16 +803,12 @@ class ThriftHive_getClusterStatus_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_presult& obj);
      };


      class ThriftHive_getQueryPlan_args {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -
        ThriftHive_getQueryPlan_args(const ThriftHive_getQueryPlan_args&);
        ThriftHive_getQueryPlan_args& operator=(const ThriftHive_getQueryPlan_args&);
        ThriftHive_getQueryPlan_args() {
    @@ -938,22 +829,17 @@ class ThriftHive_getQueryPlan_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_args& obj);
      };


      class ThriftHive_getQueryPlan_pargs {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -

        virtual ~ThriftHive_getQueryPlan_pargs() throw();

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_pargs& obj);
      };

      typedef struct _ThriftHive_getQueryPlan_result__isset {
    @@ -965,9 +851,6 @@ typedef struct _ThriftHive_getQueryPlan_result__isset {
      class ThriftHive_getQueryPlan_result {
       public:

    - static const char* ascii_fingerprint; // = "0263544CFF7194CEE7DC6128DD5941ED";
    - static const uint8_t binary_fingerprint[16]; // = {0x02,0x63,0x54,0x4C,0xFF,0x71,0x94,0xCE,0xE7,0xDC,0x61,0x28,0xDD,0x59,0x41,0xED};
    -
        ThriftHive_getQueryPlan_result(const ThriftHive_getQueryPlan_result&);
        ThriftHive_getQueryPlan_result& operator=(const ThriftHive_getQueryPlan_result&);
        ThriftHive_getQueryPlan_result() {
    @@ -1000,7 +883,6 @@ class ThriftHive_getQueryPlan_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_result& obj);
      };

      typedef struct _ThriftHive_getQueryPlan_presult__isset {
    @@ -1012,9 +894,6 @@ typedef struct _ThriftHive_getQueryPlan_presult__isset {
      class ThriftHive_getQueryPlan_presult {
       public:

    - static const char* ascii_fingerprint; // = "0263544CFF7194CEE7DC6128DD5941ED";
    - static const uint8_t binary_fingerprint[16]; // = {0x02,0x63,0x54,0x4C,0xFF,0x71,0x94,0xCE,0xE7,0xDC,0x61,0x28,0xDD,0x59,0x41,0xED};
    -

        virtual ~ThriftHive_getQueryPlan_presult() throw();
         ::Apache::Hadoop::Hive::QueryPlan* success;
    @@ -1024,16 +903,12 @@ class ThriftHive_getQueryPlan_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_presult& obj);
      };


      class ThriftHive_clean_args {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -
        ThriftHive_clean_args(const ThriftHive_clean_args&);
        ThriftHive_clean_args& operator=(const ThriftHive_clean_args&);
        ThriftHive_clean_args() {
    @@ -1054,31 +929,23 @@ class ThriftHive_clean_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_args& obj);
      };


      class ThriftHive_clean_pargs {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -

        virtual ~ThriftHive_clean_pargs() throw();

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_pargs& obj);
      };


      class ThriftHive_clean_result {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -
        ThriftHive_clean_result(const ThriftHive_clean_result&);
        ThriftHive_clean_result& operator=(const ThriftHive_clean_result&);
        ThriftHive_clean_result() {
    @@ -1099,22 +966,17 @@ class ThriftHive_clean_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_result& obj);
      };


      class ThriftHive_clean_presult {
       public:

    - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    -

        virtual ~ThriftHive_clean_presult() throw();

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_presult& obj);
      };

      class ThriftHiveClient : virtual public ThriftHiveIf, public ::Apache::Hadoop::Hive::ThriftHiveMetastoreClient {
    @@ -1310,6 +1172,53 @@ class ThriftHiveMultiface : virtual public ThriftHiveIf, public ::Apache::Hadoo

      };

    +// The 'concurrent' client is a thread safe client that correctly handles
    +// out of order responses. It is slower than the regular client, so should
    +// only be used when you need to share a connection among multiple threads
    +class ThriftHiveConcurrentClient : virtual public ThriftHiveIf, public ::Apache::Hadoop::Hive::ThriftHiveMetastoreConcurrentClient {
    + public:
    + ThriftHiveConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) :
    + ::Apache::Hadoop::Hive::ThriftHiveMetastoreConcurrentClient(prot, prot) {}
    + ThriftHiveConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) : ::Apache::Hadoop::Hive::ThriftHiveMetastoreConcurrentClient(iprot, oprot) {}
    + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() {
    + return piprot_;
    + }
    + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getOutputProtocol() {
    + return poprot_;
    + }
    + void execute(const std::string& query);
    + int32_t send_execute(const std::string& query);
    + void recv_execute(const int32_t seqid);
    + void fetchOne(std::string& _return);
    + int32_t send_fetchOne();
    + void recv_fetchOne(std::string& _return, const int32_t seqid);
    + void fetchN(std::vector<std::string> & _return, const int32_t numRows);
    + int32_t send_fetchN(const int32_t numRows);
    + void recv_fetchN(std::vector<std::string> & _return, const int32_t seqid);
    + void fetchAll(std::vector<std::string> & _return);
    + int32_t send_fetchAll();
    + void recv_fetchAll(std::vector<std::string> & _return, const int32_t seqid);
    + void getSchema( ::Apache::Hadoop::Hive::Schema& _return);
    + int32_t send_getSchema();
    + void recv_getSchema( ::Apache::Hadoop::Hive::Schema& _return, const int32_t seqid);
    + void getThriftSchema( ::Apache::Hadoop::Hive::Schema& _return);
    + int32_t send_getThriftSchema();
    + void recv_getThriftSchema( ::Apache::Hadoop::Hive::Schema& _return, const int32_t seqid);
    + void getClusterStatus(HiveClusterStatus& _return);
    + int32_t send_getClusterStatus();
    + void recv_getClusterStatus(HiveClusterStatus& _return, const int32_t seqid);
    + void getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _return);
    + int32_t send_getQueryPlan();
    + void recv_getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _return, const int32_t seqid);
    + void clean();
    + int32_t send_clean();
    + void recv_clean(const int32_t seqid);
    +};
    +
    +#ifdef _WIN32
    + #pragma warning( pop )
    +#endif
    +
      }}} // namespace

      #endif

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp b/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp
    index c3c8482..e2bbe71 100644
    --- a/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp
    +++ b/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-cpp/hive_service_constants.h
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/hive_service_constants.h b/service/src/gen/thrift/gen-cpp/hive_service_constants.h
    index 5878dbe..e0887f4 100644
    --- a/service/src/gen/thrift/gen-cpp/hive_service_constants.h
    +++ b/service/src/gen/thrift/gen-cpp/hive_service_constants.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-cpp/hive_service_types.cpp
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/hive_service_types.cpp b/service/src/gen/thrift/gen-cpp/hive_service_types.cpp
    index 4d6cf01..9ddf7c1 100644
    --- a/service/src/gen/thrift/gen-cpp/hive_service_types.cpp
    +++ b/service/src/gen/thrift/gen-cpp/hive_service_types.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -52,11 +52,9 @@ void HiveClusterStatus::__set_state(const JobTrackerState::type val) {
        this->state = val;
      }

    -const char* HiveClusterStatus::ascii_fingerprint = "D514EDCFFC86F64A2E924DCD16D4FAD8";
    -const uint8_t HiveClusterStatus::binary_fingerprint[16] = {0xD5,0x14,0xED,0xCF,0xFC,0x86,0xF6,0x4A,0x2E,0x92,0x4D,0xCD,0x16,0xD4,0xFA,0xD8};
    -
      uint32_t HiveClusterStatus::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -139,7 +137,7 @@ uint32_t HiveClusterStatus::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t HiveClusterStatus::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("HiveClusterStatus");

        xfer += oprot->writeFieldBegin("taskTrackers", ::apache::thrift::protocol::T_I32, 1);
    @@ -168,7 +166,6 @@ uint32_t HiveClusterStatus::write(::apache::thrift::protocol::TProtocol* oprot)

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -202,17 +199,16 @@ HiveClusterStatus& HiveClusterStatus::operator=(const HiveClusterStatus& other2)
        __isset = other2.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj) {
    - using apache::thrift::to_string;
    +void HiveClusterStatus::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "HiveClusterStatus(";
    - out << "taskTrackers=" << to_string(obj.taskTrackers);
    - out << ", " << "mapTasks=" << to_string(obj.mapTasks);
    - out << ", " << "reduceTasks=" << to_string(obj.reduceTasks);
    - out << ", " << "maxMapTasks=" << to_string(obj.maxMapTasks);
    - out << ", " << "maxReduceTasks=" << to_string(obj.maxReduceTasks);
    - out << ", " << "state=" << to_string(obj.state);
    + out << "taskTrackers=" << to_string(taskTrackers);
    + out << ", " << "mapTasks=" << to_string(mapTasks);
    + out << ", " << "reduceTasks=" << to_string(reduceTasks);
    + out << ", " << "maxMapTasks=" << to_string(maxMapTasks);
    + out << ", " << "maxReduceTasks=" << to_string(maxReduceTasks);
    + out << ", " << "state=" << to_string(state);
        out << ")";
    - return out;
      }


    @@ -232,11 +228,9 @@ void HiveServerException::__set_SQLState(const std::string& val) {
        this->SQLState = val;
      }

    -const char* HiveServerException::ascii_fingerprint = "70563A0628F75DF9555F4D24690B1E26";
    -const uint8_t HiveServerException::binary_fingerprint[16] = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26};
    -
      uint32_t HiveServerException::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -293,7 +287,7 @@ uint32_t HiveServerException::read(::apache::thrift::protocol::TProtocol* iprot)

      uint32_t HiveServerException::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("HiveServerException");

        xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
    @@ -310,7 +304,6 @@ uint32_t HiveServerException::write(::apache::thrift::protocol::TProtocol* oprot

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -335,14 +328,24 @@ HiveServerException& HiveServerException::operator=(const HiveServerException& o
        __isset = other4.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const HiveServerException& obj) {
    - using apache::thrift::to_string;
    +void HiveServerException::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "HiveServerException(";
    - out << "message=" << to_string(obj.message);
    - out << ", " << "errorCode=" << to_string(obj.errorCode);
    - out << ", " << "SQLState=" << to_string(obj.SQLState);
    + out << "message=" << to_string(message);
    + out << ", " << "errorCode=" << to_string(errorCode);
    + out << ", " << "SQLState=" << to_string(SQLState);
        out << ")";
    - return out;
    +}
    +
    +const char* HiveServerException::what() const throw() {
    + try {
    + std::stringstream ss;
    + ss << "TException - service has thrown: " << *this;
    + this->thriftTExceptionMessageHolder_ = ss.str();
    + return this->thriftTExceptionMessageHolder_.c_str();
    + } catch (const std::exception&) {
    + return "TException - service has thrown: HiveServerException";
    + }
      }

      }}} // namespace

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-cpp/hive_service_types.h
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/hive_service_types.h b/service/src/gen/thrift/gen-cpp/hive_service_types.h
    index 7fea88c..266f8ea 100644
    --- a/service/src/gen/thrift/gen-cpp/hive_service_types.h
    +++ b/service/src/gen/thrift/gen-cpp/hive_service_types.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -48,9 +48,6 @@ typedef struct _HiveClusterStatus__isset {
      class HiveClusterStatus {
       public:

    - static const char* ascii_fingerprint; // = "D514EDCFFC86F64A2E924DCD16D4FAD8";
    - static const uint8_t binary_fingerprint[16]; // = {0xD5,0x14,0xED,0xCF,0xFC,0x86,0xF6,0x4A,0x2E,0x92,0x4D,0xCD,0x16,0xD4,0xFA,0xD8};
    -
        HiveClusterStatus(const HiveClusterStatus&);
        HiveClusterStatus& operator=(const HiveClusterStatus&);
        HiveClusterStatus() : taskTrackers(0), mapTasks(0), reduceTasks(0), maxMapTasks(0), maxReduceTasks(0), state((JobTrackerState::type)0) {
    @@ -103,11 +100,17 @@ class HiveClusterStatus {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(HiveClusterStatus &a, HiveClusterStatus &b);

    +inline std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _HiveServerException__isset {
        _HiveServerException__isset() : message(false), errorCode(false), SQLState(false) {}
        bool message :1;
    @@ -118,9 +121,6 @@ typedef struct _HiveServerException__isset {
      class HiveServerException : public ::apache::thrift::TException {
       public:

    - static const char* ascii_fingerprint; // = "70563A0628F75DF9555F4D24690B1E26";
    - static const uint8_t binary_fingerprint[16]; // = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26};
    -
        HiveServerException(const HiveServerException&);
        HiveServerException& operator=(const HiveServerException&);
        HiveServerException() : message(), errorCode(0), SQLState() {
    @@ -158,11 +158,19 @@ class HiveServerException : public ::apache::thrift::TException {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const HiveServerException& obj);
    + virtual void printTo(std::ostream& out) const;
    + mutable std::string thriftTExceptionMessageHolder_;
    + const char* what() const throw();
      };

      void swap(HiveServerException &a, HiveServerException &b);

    +inline std::ostream& operator<<(std::ostream& out, const HiveServerException& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      }}} // namespace

      #endif

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java
    index d4b6972..e7651e0 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class HiveClusterStatus implements org.apache.thrift.TBase<HiveClusterStatus, HiveClusterStatus._Fields>, java.io.Serializable, Cloneable, Comparable<HiveClusterStatus> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HiveClusterStatus");

    @@ -417,19 +417,19 @@ public class HiveClusterStatus implements org.apache.thrift.TBase<HiveClusterSta
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case TASK_TRACKERS:
    - return Integer.valueOf(getTaskTrackers());
    + return getTaskTrackers();

          case MAP_TASKS:
    - return Integer.valueOf(getMapTasks());
    + return getMapTasks();

          case REDUCE_TASKS:
    - return Integer.valueOf(getReduceTasks());
    + return getReduceTasks();

          case MAX_MAP_TASKS:
    - return Integer.valueOf(getMaxMapTasks());
    + return getMaxMapTasks();

          case MAX_REDUCE_TASKS:
    - return Integer.valueOf(getMaxReduceTasks());
    + return getMaxReduceTasks();

          case STATE:
            return getState();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java
    index 760c81e..14becd1 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class HiveServerException extends TException implements org.apache.thrift.TBase<HiveServerException, HiveServerException._Fields>, java.io.Serializable, Cloneable, Comparable<HiveServerException> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HiveServerException");

    @@ -276,7 +276,7 @@ public class HiveServerException extends TException implements org.apache.thrift
            return getMessage();

          case ERROR_CODE:
    - return Integer.valueOf(getErrorCode());
    + return getErrorCode();

          case SQLSTATE:
            return getSQLState();
  • Gates at Jan 15, 2016 at 1:17 am
    HIVE-12832 Thrift and RDBMS schema changes for ACID fixes, branch-1 version.


    Project: http://git-wip-us.apache.org/repos/asf/hive/repo
    Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/92072ad2
    Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/92072ad2
    Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/92072ad2

    Branch: refs/heads/branch-1
    Commit: 92072ad2412c97e8db97e55d448b4073ceb621be
    Parents: 67be677
    Author: Alan Gates <gates@hortonworks.com>
    Authored: Thu Jan 14 17:15:40 2016 -0800
    Committer: Alan Gates <gates@hortonworks.com>
    Committed: Thu Jan 14 17:15:40 2016 -0800

    ----------------------------------------------------------------------
      .../org/apache/hive/beeline/HiveSchemaTool.java | 42 +-
      metastore/if/hive_metastore.thrift | 20 +
      .../upgrade/derby/023-HIVE-12807.derby.sql | 1 +
      .../upgrade/derby/024-HIVE-12814.derby.sql | 1 +
      .../upgrade/derby/025-HIVE-12816.derby.sql | 1 +
      .../upgrade/derby/026-HIVE-12818.derby.sql | 15 +
      .../upgrade/derby/027-HIVE-12819.derby.sql | 1 +
      .../upgrade/derby/028-HIVE-12821.derby.sql | 2 +
      .../upgrade/derby/029-HIVE-12822.derby.sql | 1 +
      .../upgrade/derby/030-HIVE-12823.derby.sql | 1 +
      .../upgrade/derby/031-HIVE-12831.derby.sql | 2 +
      .../upgrade/derby/032-HIVE-12832.derby.sql | 7 +
      .../upgrade/derby/hive-schema-1.3.0.derby.sql | 2 +-
      .../derby/hive-txn-schema-1.3.0.derby.sql | 119 +
      .../derby/upgrade-1.2.0-to-1.3.0.derby.sql | 10 +
      .../upgrade/mssql/008-HIVE-12807.mssql.sql | 1 +
      .../upgrade/mssql/009-HIVE-12814.mssql.sql | 1 +
      .../upgrade/mssql/010-HIVE-12816.mssql.sql | 1 +
      .../upgrade/mssql/011-HIVE-12818.mssql.sql | 21 +
      .../upgrade/mssql/012-HIVE-12819.mssql.sql | 1 +
      .../upgrade/mssql/013-HIVE-12821.mssql.sql | 2 +
      .../upgrade/mssql/014-HIVE-12822.mssql.sql | 1 +
      .../upgrade/mssql/015-HIVE-12823.mssql.sql | 1 +
      .../upgrade/mssql/016-HIVE-12831.mssql.sql | 2 +
      .../upgrade/mssql/017-HIVE-12832.mssql.sql | 10 +
      .../upgrade/mssql/hive-schema-1.3.0.mssql.sql | 40 +
      .../mssql/upgrade-1.2.0-to-1.3.0.mssql.sql | 10 +
      .../upgrade/mysql/023-HIVE-12807.mysql.sql | 1 +
      .../upgrade/mysql/024-HIVE-12814.mysql.sql | 1 +
      .../upgrade/mysql/025-HIVE-12816.mysql.sql | 1 +
      .../upgrade/mysql/026-HIVE-12818.mysql.sql | 17 +
      .../upgrade/mysql/027-HIVE-12819.mysql.sql | 1 +
      .../upgrade/mysql/028-HIVE-12821.mysql.sql | 2 +
      .../upgrade/mysql/029-HIVE-12822.mysql.sql | 1 +
      .../upgrade/mysql/030-HIVE-12823.mysql.sql | 1 +
      .../upgrade/mysql/031-HIVE-12831.mysql.sql | 2 +
      .../upgrade/mysql/032-HIVE-12832.mysql.sql | 7 +
      .../upgrade/mysql/hive-schema-1.3.0.mysql.sql | 2 +-
      .../mysql/hive-txn-schema-1.3.0.mysql.sql | 122 +
      .../mysql/upgrade-1.2.0-to-1.3.0.mysql.sql | 12 +
      .../upgrade/oracle/023-HIVE-12807.oracle.sql | 1 +
      .../upgrade/oracle/024-HIVE-12814.oracle.sql | 1 +
      .../upgrade/oracle/025-HIVE-12816.oracle.sql | 1 +
      .../upgrade/oracle/026-HIVE-12818.oracle.sql | 17 +
      .../upgrade/oracle/027-HIVE-12819.oracle.sql | 1 +
      .../upgrade/oracle/028-HIVE-12821.oracle.sql | 2 +
      .../upgrade/oracle/029-HIVE-12822.oracle.sql | 1 +
      .../upgrade/oracle/030-HIVE-12823.oracle.sql | 1 +
      .../upgrade/oracle/031-HIVE-12381.oracle.sql | 2 +
      .../upgrade/oracle/032-HIVE-12832.oracle.sql | 7 +
      .../upgrade/oracle/hive-schema-1.3.0.oracle.sql | 2 +-
      .../oracle/hive-txn-schema-1.3.0.oracle.sql | 120 +
      .../oracle/upgrade-1.2.0-to-1.3.0.oracle.sql | 11 +
      .../postgres/022-HIVE-12807.postgres.sql | 1 +
      .../postgres/023-HIVE-12814.postgres.sql | 1 +
      .../postgres/024-HIVE-12816.postgres.sql | 1 +
      .../postgres/025-HIVE-12818.postgres.sql | 17 +
      .../postgres/026-HIVE-12819.postgres.sql | 1 +
      .../postgres/027-HIVE-12821.postgres.sql | 2 +
      .../postgres/028-HIVE-12822.postgres.sql | 1 +
      .../postgres/029-HIVE-12823.postgres.sql | 1 +
      .../postgres/030-HIVE-12831.postgres.sql | 2 +
      .../postgres/031-HIVE-12832.postgres.sql | 7 +
      .../postgres/hive-schema-1.3.0.postgres.sql | 2 +-
      .../postgres/hive-txn-schema-1.3.0.postgres.sql | 121 +
      .../upgrade-1.2.0-to-1.3.0.postgres.sql | 10 +
      .../gen/thrift/gen-cpp/ThriftHiveMetastore.cpp | 12615 ++++++++++++++++-
      .../gen/thrift/gen-cpp/ThriftHiveMetastore.h | 2403 +---
      .../thrift/gen-cpp/hive_metastore_constants.cpp | 2 +-
      .../thrift/gen-cpp/hive_metastore_constants.h | 2 +-
      .../gen/thrift/gen-cpp/hive_metastore_types.cpp | 2580 ++--
      .../gen/thrift/gen-cpp/hive_metastore_types.h | 1435 +-
      .../hive/metastore/api/AbortTxnRequest.java | 6 +-
      .../metastore/api/AddDynamicPartitions.java | 6 +-
      .../metastore/api/AddPartitionsRequest.java | 8 +-
      .../hive/metastore/api/AddPartitionsResult.java | 4 +-
      .../hadoop/hive/metastore/api/AggrStats.java | 6 +-
      .../metastore/api/AlreadyExistsException.java | 4 +-
      .../metastore/api/BinaryColumnStatsData.java | 10 +-
      .../metastore/api/BooleanColumnStatsData.java | 10 +-
      .../hive/metastore/api/CheckLockRequest.java | 210 +-
      .../hive/metastore/api/ColumnStatistics.java | 4 +-
      .../metastore/api/ColumnStatisticsData.java | 2 +-
      .../metastore/api/ColumnStatisticsDesc.java | 8 +-
      .../hive/metastore/api/ColumnStatisticsObj.java | 4 +-
      .../hive/metastore/api/CommitTxnRequest.java | 6 +-
      .../hive/metastore/api/CompactionRequest.java | 4 +-
      .../hive/metastore/api/CompactionType.java | 2 +-
      .../api/ConfigValSecurityException.java | 4 +-
      .../api/CurrentNotificationEventId.java | 6 +-
      .../hadoop/hive/metastore/api/Database.java | 4 +-
      .../apache/hadoop/hive/metastore/api/Date.java | 6 +-
      .../hive/metastore/api/DateColumnStatsData.java | 8 +-
      .../hadoop/hive/metastore/api/Decimal.java | 6 +-
      .../metastore/api/DecimalColumnStatsData.java | 8 +-
      .../metastore/api/DoubleColumnStatsData.java | 12 +-
      .../hive/metastore/api/DropPartitionsExpr.java | 6 +-
      .../metastore/api/DropPartitionsRequest.java | 12 +-
      .../metastore/api/DropPartitionsResult.java | 4 +-
      .../hive/metastore/api/EnvironmentContext.java | 4 +-
      .../hive/metastore/api/EventRequestType.java | 2 +-
      .../hadoop/hive/metastore/api/FieldSchema.java | 4 +-
      .../hive/metastore/api/FireEventRequest.java | 6 +-
      .../metastore/api/FireEventRequestData.java | 2 +-
      .../hive/metastore/api/FireEventResponse.java | 4 +-
      .../hadoop/hive/metastore/api/Function.java | 6 +-
      .../hadoop/hive/metastore/api/FunctionType.java | 2 +-
      .../metastore/api/GetAllFunctionsResponse.java | 4 +-
      .../metastore/api/GetOpenTxnsInfoResponse.java | 6 +-
      .../hive/metastore/api/GetOpenTxnsResponse.java | 6 +-
      .../api/GetPrincipalsInRoleRequest.java | 4 +-
      .../api/GetPrincipalsInRoleResponse.java | 4 +-
      .../api/GetRoleGrantsForPrincipalRequest.java | 4 +-
      .../api/GetRoleGrantsForPrincipalResponse.java | 4 +-
      .../api/GrantRevokePrivilegeRequest.java | 6 +-
      .../api/GrantRevokePrivilegeResponse.java | 6 +-
      .../metastore/api/GrantRevokeRoleRequest.java | 6 +-
      .../metastore/api/GrantRevokeRoleResponse.java | 6 +-
      .../hive/metastore/api/GrantRevokeType.java | 2 +-
      .../hive/metastore/api/HeartbeatRequest.java | 8 +-
      .../metastore/api/HeartbeatTxnRangeRequest.java | 8 +-
      .../api/HeartbeatTxnRangeResponse.java | 4 +-
      .../hive/metastore/api/HiveObjectPrivilege.java | 4 +-
      .../hive/metastore/api/HiveObjectRef.java | 4 +-
      .../hive/metastore/api/HiveObjectType.java | 2 +-
      .../apache/hadoop/hive/metastore/api/Index.java | 10 +-
      .../api/IndexAlreadyExistsException.java | 4 +-
      .../metastore/api/InsertEventRequestData.java | 4 +-
      .../metastore/api/InvalidInputException.java | 4 +-
      .../metastore/api/InvalidObjectException.java | 4 +-
      .../api/InvalidOperationException.java | 4 +-
      .../api/InvalidPartitionException.java | 4 +-
      .../hive/metastore/api/LockComponent.java | 4 +-
      .../hadoop/hive/metastore/api/LockLevel.java | 2 +-
      .../hadoop/hive/metastore/api/LockRequest.java | 123 +-
      .../hadoop/hive/metastore/api/LockResponse.java | 6 +-
      .../hadoop/hive/metastore/api/LockState.java | 2 +-
      .../hadoop/hive/metastore/api/LockType.java | 2 +-
      .../hive/metastore/api/LongColumnStatsData.java | 12 +-
      .../hive/metastore/api/MetaException.java | 4 +-
      .../hive/metastore/api/NoSuchLockException.java | 4 +-
      .../metastore/api/NoSuchObjectException.java | 4 +-
      .../hive/metastore/api/NoSuchTxnException.java | 4 +-
      .../hive/metastore/api/NotificationEvent.java | 8 +-
      .../metastore/api/NotificationEventRequest.java | 8 +-
      .../api/NotificationEventResponse.java | 4 +-
      .../hive/metastore/api/OpenTxnRequest.java | 121 +-
      .../hive/metastore/api/OpenTxnsResponse.java | 4 +-
      .../apache/hadoop/hive/metastore/api/Order.java | 6 +-
      .../hadoop/hive/metastore/api/Partition.java | 8 +-
      .../hive/metastore/api/PartitionEventType.java | 2 +-
      .../api/PartitionListComposingSpec.java | 4 +-
      .../hive/metastore/api/PartitionSpec.java | 4 +-
      .../api/PartitionSpecWithSharedSD.java | 4 +-
      .../hive/metastore/api/PartitionWithoutSD.java | 8 +-
      .../metastore/api/PartitionsByExprRequest.java | 6 +-
      .../metastore/api/PartitionsByExprResult.java | 6 +-
      .../metastore/api/PartitionsStatsRequest.java | 4 +-
      .../metastore/api/PartitionsStatsResult.java | 4 +-
      .../metastore/api/PrincipalPrivilegeSet.java | 4 +-
      .../hive/metastore/api/PrincipalType.java | 2 +-
      .../hadoop/hive/metastore/api/PrivilegeBag.java | 4 +-
      .../hive/metastore/api/PrivilegeGrantInfo.java | 8 +-
      .../hive/metastore/api/RequestPartsSpec.java | 2 +-
      .../hadoop/hive/metastore/api/ResourceType.java | 2 +-
      .../hadoop/hive/metastore/api/ResourceUri.java | 4 +-
      .../apache/hadoop/hive/metastore/api/Role.java | 6 +-
      .../hive/metastore/api/RolePrincipalGrant.java | 8 +-
      .../hadoop/hive/metastore/api/Schema.java | 4 +-
      .../hadoop/hive/metastore/api/SerDeInfo.java | 4 +-
      .../api/SetPartitionsStatsRequest.java | 4 +-
      .../hive/metastore/api/ShowCompactRequest.java | 4 +-
      .../hive/metastore/api/ShowCompactResponse.java | 4 +-
      .../api/ShowCompactResponseElement.java | 427 +-
      .../hive/metastore/api/ShowLocksRequest.java | 433 +-
      .../hive/metastore/api/ShowLocksResponse.java | 4 +-
      .../metastore/api/ShowLocksResponseElement.java | 524 +-
      .../hadoop/hive/metastore/api/SkewedInfo.java | 4 +-
      .../hive/metastore/api/StorageDescriptor.java | 10 +-
      .../metastore/api/StringColumnStatsData.java | 12 +-
      .../apache/hadoop/hive/metastore/api/Table.java | 12 +-
      .../hive/metastore/api/TableStatsRequest.java | 4 +-
      .../hive/metastore/api/TableStatsResult.java | 4 +-
      .../hive/metastore/api/ThriftHiveMetastore.java | 98 +-
      .../hive/metastore/api/TxnAbortedException.java | 4 +-
      .../hadoop/hive/metastore/api/TxnInfo.java | 328 +-
      .../hive/metastore/api/TxnOpenException.java | 4 +-
      .../hadoop/hive/metastore/api/TxnState.java | 2 +-
      .../apache/hadoop/hive/metastore/api/Type.java | 4 +-
      .../hive/metastore/api/UnknownDBException.java | 4 +-
      .../api/UnknownPartitionException.java | 4 +-
      .../metastore/api/UnknownTableException.java | 4 +-
      .../hive/metastore/api/UnlockRequest.java | 6 +-
      .../hadoop/hive/metastore/api/Version.java | 4 +-
      .../metastore/api/hive_metastoreConstants.java | 2 +-
      .../gen-php/metastore/ThriftHiveMetastore.php | 2 +-
      .../src/gen/thrift/gen-php/metastore/Types.php | 466 +-
      .../hive_metastore/ThriftHiveMetastore-remote | 16 +-
      .../hive_metastore/ThriftHiveMetastore.py | 2619 +++-
      .../thrift/gen-py/hive_metastore/constants.py | 2 +-
      .../gen/thrift/gen-py/hive_metastore/ttypes.py | 826 +-
      .../thrift/gen-rb/hive_metastore_constants.rb | 2 +-
      .../gen/thrift/gen-rb/hive_metastore_types.rb | 55 +-
      .../gen/thrift/gen-rb/thrift_hive_metastore.rb | 2 +-
      pom.xml | 4 +-
      .../gen/thrift/gen-cpp/queryplan_constants.cpp | 2 +-
      ql/src/gen/thrift/gen-cpp/queryplan_constants.h | 2 +-
      ql/src/gen/thrift/gen-cpp/queryplan_types.cpp | 162 +-
      ql/src/gen/thrift/gen-cpp/queryplan_types.h | 79 +-
      .../hadoop/hive/ql/plan/api/Adjacency.java | 4 +-
      .../hadoop/hive/ql/plan/api/AdjacencyType.java | 2 +-
      .../apache/hadoop/hive/ql/plan/api/Graph.java | 4 +-
      .../hadoop/hive/ql/plan/api/NodeType.java | 2 +-
      .../hadoop/hive/ql/plan/api/Operator.java | 8 +-
      .../hadoop/hive/ql/plan/api/OperatorType.java | 2 +-
      .../apache/hadoop/hive/ql/plan/api/Query.java | 8 +-
      .../hadoop/hive/ql/plan/api/QueryPlan.java | 8 +-
      .../apache/hadoop/hive/ql/plan/api/Stage.java | 8 +-
      .../hadoop/hive/ql/plan/api/StageType.java | 2 +-
      .../apache/hadoop/hive/ql/plan/api/Task.java | 8 +-
      .../hadoop/hive/ql/plan/api/TaskType.java | 2 +-
      ql/src/gen/thrift/gen-php/Types.php | 4 +-
      ql/src/gen/thrift/gen-py/queryplan/constants.py | 2 +-
      ql/src/gen/thrift/gen-py/queryplan/ttypes.py | 80 +-
      ql/src/gen/thrift/gen-rb/queryplan_constants.rb | 2 +-
      ql/src/gen/thrift/gen-rb/queryplan_types.rb | 2 +-
      .../gen/thrift/gen-cpp/complex_constants.cpp | 2 +-
      .../src/gen/thrift/gen-cpp/complex_constants.h | 2 +-
      serde/src/gen/thrift/gen-cpp/complex_types.cpp | 94 +-
      serde/src/gen/thrift/gen-cpp/complex_types.h | 46 +-
      .../gen/thrift/gen-cpp/megastruct_constants.cpp | 2 +-
      .../gen/thrift/gen-cpp/megastruct_constants.h | 2 +-
      .../src/gen/thrift/gen-cpp/megastruct_types.cpp | 70 +-
      serde/src/gen/thrift/gen-cpp/megastruct_types.h | 24 +-
      .../src/gen/thrift/gen-cpp/serde_constants.cpp | 2 +-
      serde/src/gen/thrift/gen-cpp/serde_constants.h | 2 +-
      serde/src/gen/thrift/gen-cpp/serde_types.cpp | 2 +-
      serde/src/gen/thrift/gen-cpp/serde_types.h | 2 +-
      .../gen/thrift/gen-cpp/testthrift_constants.cpp | 2 +-
      .../gen/thrift/gen-cpp/testthrift_constants.h | 2 +-
      .../src/gen/thrift/gen-cpp/testthrift_types.cpp | 34 +-
      serde/src/gen/thrift/gen-cpp/testthrift_types.h | 24 +-
      .../hadoop/hive/serde/serdeConstants.java | 2 +-
      .../hadoop/hive/serde/test/InnerStruct.java | 6 +-
      .../hadoop/hive/serde/test/ThriftTestObj.java | 6 +-
      .../hadoop/hive/serde2/thrift/test/Complex.java | 6 +-
      .../hive/serde2/thrift/test/IntString.java | 8 +-
      .../hive/serde2/thrift/test/MegaStruct.java | 16 +-
      .../hive/serde2/thrift/test/MiniStruct.java | 4 +-
      .../hadoop/hive/serde2/thrift/test/MyEnum.java | 2 +-
      .../hive/serde2/thrift/test/PropValueUnion.java | 2 +-
      .../hive/serde2/thrift/test/SetIntString.java | 4 +-
      serde/src/gen/thrift/gen-php/Types.php | 4 +-
      .../org/apache/hadoop/hive/serde/Types.php | 2 +-
      .../src/gen/thrift/gen-py/complex/constants.py | 2 +-
      serde/src/gen/thrift/gen-py/complex/ttypes.py | 44 +-
      .../gen/thrift/gen-py/megastruct/constants.py | 2 +-
      .../src/gen/thrift/gen-py/megastruct/ttypes.py | 50 +-
      .../org_apache_hadoop_hive_serde/constants.py | 2 +-
      .../org_apache_hadoop_hive_serde/ttypes.py | 2 +-
      .../gen/thrift/gen-py/testthrift/constants.py | 2 +-
      .../src/gen/thrift/gen-py/testthrift/ttypes.py | 8 +-
      .../src/gen/thrift/gen-rb/complex_constants.rb | 2 +-
      serde/src/gen/thrift/gen-rb/complex_types.rb | 2 +-
      .../gen/thrift/gen-rb/megastruct_constants.rb | 2 +-
      serde/src/gen/thrift/gen-rb/megastruct_types.rb | 2 +-
      serde/src/gen/thrift/gen-rb/serde_constants.rb | 2 +-
      serde/src/gen/thrift/gen-rb/serde_types.rb | 2 +-
      .../gen/thrift/gen-rb/testthrift_constants.rb | 2 +-
      serde/src/gen/thrift/gen-rb/testthrift_types.rb | 2 +-
      service/src/gen/thrift/gen-cpp/TCLIService.cpp | 1770 ++-
      service/src/gen/thrift/gen-cpp/TCLIService.h | 409 +-
      .../thrift/gen-cpp/TCLIService_constants.cpp | 2 +-
      .../gen/thrift/gen-cpp/TCLIService_constants.h | 2 +-
      .../gen/thrift/gen-cpp/TCLIService_types.cpp | 1226 +-
      .../src/gen/thrift/gen-cpp/TCLIService_types.h | 816 +-
      service/src/gen/thrift/gen-cpp/ThriftHive.cpp | 853 +-
      service/src/gen/thrift/gen-cpp/ThriftHive.h | 199 +-
      .../thrift/gen-cpp/hive_service_constants.cpp | 2 +-
      .../gen/thrift/gen-cpp/hive_service_constants.h | 2 +-
      .../gen/thrift/gen-cpp/hive_service_types.cpp | 55 +-
      .../src/gen/thrift/gen-cpp/hive_service_types.h | 26 +-
      .../hadoop/hive/service/HiveClusterStatus.java | 14 +-
      .../hive/service/HiveServerException.java | 6 +-
      .../hadoop/hive/service/JobTrackerState.java | 2 +-
      .../apache/hadoop/hive/service/ThriftHive.java | 6 +-
      .../service/cli/thrift/TArrayTypeEntry.java | 6 +-
      .../hive/service/cli/thrift/TBinaryColumn.java | 6 +-
      .../hive/service/cli/thrift/TBoolColumn.java | 4 +-
      .../hive/service/cli/thrift/TBoolValue.java | 6 +-
      .../hive/service/cli/thrift/TByteColumn.java | 4 +-
      .../hive/service/cli/thrift/TByteValue.java | 6 +-
      .../hive/service/cli/thrift/TCLIService.java | 4 +-
      .../cli/thrift/TCLIServiceConstants.java | 2 +-
      .../cli/thrift/TCancelDelegationTokenReq.java | 4 +-
      .../cli/thrift/TCancelDelegationTokenResp.java | 4 +-
      .../service/cli/thrift/TCancelOperationReq.java | 4 +-
      .../cli/thrift/TCancelOperationResp.java | 4 +-
      .../service/cli/thrift/TCloseOperationReq.java | 4 +-
      .../service/cli/thrift/TCloseOperationResp.java | 4 +-
      .../service/cli/thrift/TCloseSessionReq.java | 4 +-
      .../service/cli/thrift/TCloseSessionResp.java | 4 +-
      .../apache/hive/service/cli/thrift/TColumn.java | 2 +-
      .../hive/service/cli/thrift/TColumnDesc.java | 6 +-
      .../hive/service/cli/thrift/TColumnValue.java | 2 +-
      .../hive/service/cli/thrift/TDoubleColumn.java | 4 +-
      .../hive/service/cli/thrift/TDoubleValue.java | 6 +-
      .../cli/thrift/TExecuteStatementReq.java | 6 +-
      .../cli/thrift/TExecuteStatementResp.java | 4 +-
      .../service/cli/thrift/TFetchOrientation.java | 2 +-
      .../service/cli/thrift/TFetchResultsReq.java | 8 +-
      .../service/cli/thrift/TFetchResultsResp.java | 6 +-
      .../service/cli/thrift/TGetCatalogsReq.java | 4 +-
      .../service/cli/thrift/TGetCatalogsResp.java | 4 +-
      .../hive/service/cli/thrift/TGetColumnsReq.java | 4 +-
      .../service/cli/thrift/TGetColumnsResp.java | 4 +-
      .../cli/thrift/TGetDelegationTokenReq.java | 4 +-
      .../cli/thrift/TGetDelegationTokenResp.java | 4 +-
      .../service/cli/thrift/TGetFunctionsReq.java | 4 +-
      .../service/cli/thrift/TGetFunctionsResp.java | 4 +-
      .../hive/service/cli/thrift/TGetInfoReq.java | 4 +-
      .../hive/service/cli/thrift/TGetInfoResp.java | 4 +-
      .../hive/service/cli/thrift/TGetInfoType.java | 2 +-
      .../hive/service/cli/thrift/TGetInfoValue.java | 2 +-
      .../cli/thrift/TGetOperationStatusReq.java | 4 +-
      .../cli/thrift/TGetOperationStatusResp.java | 6 +-
      .../cli/thrift/TGetResultSetMetadataReq.java | 4 +-
      .../cli/thrift/TGetResultSetMetadataResp.java | 4 +-
      .../hive/service/cli/thrift/TGetSchemasReq.java | 4 +-
      .../service/cli/thrift/TGetSchemasResp.java | 4 +-
      .../service/cli/thrift/TGetTableTypesReq.java | 4 +-
      .../service/cli/thrift/TGetTableTypesResp.java | 4 +-
      .../hive/service/cli/thrift/TGetTablesReq.java | 4 +-
      .../hive/service/cli/thrift/TGetTablesResp.java | 4 +-
      .../service/cli/thrift/TGetTypeInfoReq.java | 4 +-
      .../service/cli/thrift/TGetTypeInfoResp.java | 4 +-
      .../service/cli/thrift/THandleIdentifier.java | 4 +-
      .../hive/service/cli/thrift/TI16Column.java | 4 +-
      .../hive/service/cli/thrift/TI16Value.java | 6 +-
      .../hive/service/cli/thrift/TI32Column.java | 4 +-
      .../hive/service/cli/thrift/TI32Value.java | 6 +-
      .../hive/service/cli/thrift/TI64Column.java | 4 +-
      .../hive/service/cli/thrift/TI64Value.java | 6 +-
      .../hive/service/cli/thrift/TMapTypeEntry.java | 8 +-
      .../service/cli/thrift/TOpenSessionReq.java | 4 +-
      .../service/cli/thrift/TOpenSessionResp.java | 4 +-
      .../service/cli/thrift/TOperationHandle.java | 8 +-
      .../service/cli/thrift/TOperationState.java | 2 +-
      .../hive/service/cli/thrift/TOperationType.java | 2 +-
      .../service/cli/thrift/TPrimitiveTypeEntry.java | 4 +-
      .../service/cli/thrift/TProtocolVersion.java | 2 +-
      .../cli/thrift/TRenewDelegationTokenReq.java | 4 +-
      .../cli/thrift/TRenewDelegationTokenResp.java | 4 +-
      .../apache/hive/service/cli/thrift/TRow.java | 4 +-
      .../apache/hive/service/cli/thrift/TRowSet.java | 6 +-
      .../hive/service/cli/thrift/TSessionHandle.java | 4 +-
      .../apache/hive/service/cli/thrift/TStatus.java | 6 +-
      .../hive/service/cli/thrift/TStatusCode.java | 2 +-
      .../hive/service/cli/thrift/TStringColumn.java | 4 +-
      .../hive/service/cli/thrift/TStringValue.java | 4 +-
      .../service/cli/thrift/TStructTypeEntry.java | 4 +-
      .../hive/service/cli/thrift/TTableSchema.java | 4 +-
      .../hive/service/cli/thrift/TTypeDesc.java | 4 +-
      .../hive/service/cli/thrift/TTypeEntry.java | 2 +-
      .../apache/hive/service/cli/thrift/TTypeId.java | 2 +-
      .../service/cli/thrift/TTypeQualifierValue.java | 2 +-
      .../service/cli/thrift/TTypeQualifiers.java | 4 +-
      .../service/cli/thrift/TUnionTypeEntry.java | 4 +-
      .../cli/thrift/TUserDefinedTypeEntry.java | 4 +-
      service/src/gen/thrift/gen-php/TCLIService.php | 3 +-
      service/src/gen/thrift/gen-php/ThriftHive.php | 3 +-
      service/src/gen/thrift/gen-php/Types.php | 4 +-
      .../gen-py/TCLIService/TCLIService-remote | 2 +-
      .../thrift/gen-py/TCLIService/TCLIService.py | 269 +-
      .../gen/thrift/gen-py/TCLIService/constants.py | 2 +-
      .../src/gen/thrift/gen-py/TCLIService/ttypes.py | 190 +-
      .../gen-py/hive_service/ThriftHive-remote | 23 +-
      .../thrift/gen-py/hive_service/ThriftHive.py | 135 +-
      .../gen/thrift/gen-py/hive_service/constants.py | 2 +-
      .../gen/thrift/gen-py/hive_service/ttypes.py | 20 +-
      .../gen/thrift/gen-rb/hive_service_constants.rb | 2 +-
      .../src/gen/thrift/gen-rb/hive_service_types.rb | 2 +-
      .../src/gen/thrift/gen-rb/t_c_l_i_service.rb | 2 +-
      .../thrift/gen-rb/t_c_l_i_service_constants.rb | 2 +-
      .../gen/thrift/gen-rb/t_c_l_i_service_types.rb | 2 +-
      service/src/gen/thrift/gen-rb/thrift_hive.rb | 2 +-
      386 files changed, 25883 insertions(+), 8112 deletions(-)
    ----------------------------------------------------------------------


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java
    ----------------------------------------------------------------------
    diff --git a/beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java b/beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java
    index 79ecad3..7bdb9b7 100644
    --- a/beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java
    +++ b/beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java
    @@ -17,18 +17,6 @@
       */
      package org.apache.hive.beeline;

    -import java.io.BufferedWriter;
    -import java.io.File;
    -import java.io.FileWriter;
    -import java.io.IOException;
    -import java.io.PrintStream;
    -import java.sql.Connection;
    -import java.sql.ResultSet;
    -import java.sql.SQLException;
    -import java.sql.Statement;
    -import java.util.ArrayList;
    -import java.util.List;
    -
      import org.apache.commons.cli.CommandLine;
      import org.apache.commons.cli.CommandLineParser;
      import org.apache.commons.cli.GnuParser;
    @@ -39,6 +27,7 @@ import org.apache.commons.cli.OptionGroup;
      import org.apache.commons.cli.Options;
      import org.apache.commons.cli.ParseException;
      import org.apache.commons.io.output.NullOutputStream;
    +import org.apache.commons.lang.StringUtils;
      import org.apache.hadoop.hive.conf.HiveConf;
      import org.apache.hadoop.hive.conf.HiveConf.ConfVars;
      import org.apache.hadoop.hive.metastore.HiveMetaException;
    @@ -46,6 +35,22 @@ import org.apache.hadoop.hive.metastore.MetaStoreSchemaInfo;
      import org.apache.hadoop.hive.metastore.api.MetaException;
      import org.apache.hadoop.hive.shims.ShimLoader;
      import org.apache.hive.beeline.HiveSchemaHelper.NestedScriptParser;
    +import org.slf4j.Logger;
    +import org.slf4j.LoggerFactory;
    +
    +import java.io.BufferedReader;
    +import java.io.BufferedWriter;
    +import java.io.File;
    +import java.io.FileReader;
    +import java.io.FileWriter;
    +import java.io.IOException;
    +import java.io.PrintStream;
    +import java.sql.Connection;
    +import java.sql.ResultSet;
    +import java.sql.SQLException;
    +import java.sql.Statement;
    +import java.util.ArrayList;
    +import java.util.List;

      public class HiveSchemaTool {
        private String userName = null;
    @@ -57,6 +62,8 @@ public class HiveSchemaTool {
        private final String dbType;
        private final MetaStoreSchemaInfo metaStoreSchemaInfo;

    + static final private Logger LOG = LoggerFactory.getLogger(HiveSchemaTool.class.getName());
    +
        public HiveSchemaTool(String dbType) throws HiveMetaException {
          this(System.getenv("HIVE_HOME"), new HiveConf(HiveSchemaTool.class), dbType);
        }
    @@ -349,6 +356,16 @@ public class HiveSchemaTool {
          argList.add("-f");
          argList.add(sqlScriptFile);

    + if (LOG.isDebugEnabled()) {
    + LOG.debug("Going to invoke file that contains:");
    + FileReader fr = new FileReader(sqlScriptFile);
    + BufferedReader reader = new BufferedReader(fr);
    + String line;
    + while ((line = reader.readLine()) != null) {
    + LOG.debug("script: " + line);
    + }
    + }
    +
          // run the script using Beeline
          BeeLine beeLine = new BeeLine();
          if (!verbose) {
    @@ -360,6 +377,7 @@ public class HiveSchemaTool {
          // We can be pretty sure that an entire line can be processed as a single command since
          // we always add a line separator at the end while calling dbCommandParser.buildCommand.
          beeLine.getOpts().setEntireLineAsCommand(true);
    + LOG.debug("Going to run command <" + StringUtils.join(argList, " ") + ">");
          int status = beeLine.begin(argList.toArray(new String[0]), null);
          if (status != 0) {
            throw new IOException("Schema script failed, errorcode " + status);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/if/hive_metastore.thrift
    ----------------------------------------------------------------------
    diff --git a/metastore/if/hive_metastore.thrift b/metastore/if/hive_metastore.thrift
    index c58c3a8..f84b2a9 100755
    --- a/metastore/if/hive_metastore.thrift
    +++ b/metastore/if/hive_metastore.thrift
    @@ -543,6 +543,9 @@ struct TxnInfo {
          2: required TxnState state,
          3: required string user, // used in 'show transactions' to help admins find who has open transactions
          4: required string hostname, // used in 'show transactions' to help admins find who has open transactions
    + 5: optional string agentInfo = "Unknown",
    + 6: optional i32 heartbeatCount=0,
    + 7: optional string metaInfo,
      }

      struct GetOpenTxnsInfoResponse {
    @@ -559,6 +562,7 @@ struct OpenTxnRequest {
          1: required i32 num_txns,
          2: required string user,
          3: required string hostname,
    + 4: optional string agentInfo = "Unknown",
      }

      struct OpenTxnsResponse {
    @@ -586,6 +590,7 @@ struct LockRequest {
          2: optional i64 txnid,
          3: required string user, // used in 'show locks' to help admins find who has open locks
          4: required string hostname, // used in 'show locks' to help admins find who has open locks
    + 5: optional string agentInfo = "Unknown",
      }

      struct LockResponse {
    @@ -595,6 +600,8 @@ struct LockResponse {

      struct CheckLockRequest {
          1: required i64 lockid,
    + 2: optional i64 txnid,
    + 3: optional i64 elapsed_ms,
      }

      struct UnlockRequest {
    @@ -602,6 +609,10 @@ struct UnlockRequest {
      }

      struct ShowLocksRequest {
    + 1: optional string dbname,
    + 2: optional string tablename,
    + 3: optional string partname,
    + 4: optional bool isExtended=false,
      }

      struct ShowLocksResponseElement {
    @@ -616,6 +627,11 @@ struct ShowLocksResponseElement {
          9: optional i64 acquiredat,
          10: required string user,
          11: required string hostname,
    + 12: optional i32 heartbeatCount = 0,
    + 13: optional string agentInfo,
    + 14: optional i64 blockedByExtId,
    + 15: optional i64 blockedByIntId,
    + 16: optional i64 lockIdInternal,
      }

      struct ShowLocksResponse {
    @@ -657,6 +673,10 @@ struct ShowCompactResponseElement {
          6: optional string workerid,
          7: optional i64 start,
          8: optional string runAs,
    + 9: optional i64 hightestTxnId, // Highest Txn ID handled by this compaction
    + 10: optional string metaInfo,
    + 11: optional i64 endTime,
    + 12: optional string hadoopJobId = "None",
      }

      struct ShowCompactResponse {

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/derby/023-HIVE-12807.derby.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/derby/023-HIVE-12807.derby.sql b/metastore/scripts/upgrade/derby/023-HIVE-12807.derby.sql
    new file mode 100644
    index 0000000..3dfc6fe
    --- /dev/null
    +++ b/metastore/scripts/upgrade/derby/023-HIVE-12807.derby.sql
    @@ -0,0 +1 @@
    +ALTER TABLE "COMPACTION_QUEUE" ADD "CQ_HIGHEST_TXN_ID" bigint;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/derby/024-HIVE-12814.derby.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/derby/024-HIVE-12814.derby.sql b/metastore/scripts/upgrade/derby/024-HIVE-12814.derby.sql
    new file mode 100644
    index 0000000..a451846
    --- /dev/null
    +++ b/metastore/scripts/upgrade/derby/024-HIVE-12814.derby.sql
    @@ -0,0 +1 @@
    +ALTER TABLE "COMPACTION_QUEUE" ADD "CQ_META_INFO" varchar(2048) for bit data;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/derby/025-HIVE-12816.derby.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/derby/025-HIVE-12816.derby.sql b/metastore/scripts/upgrade/derby/025-HIVE-12816.derby.sql
    new file mode 100644
    index 0000000..2a78bf1
    --- /dev/null
    +++ b/metastore/scripts/upgrade/derby/025-HIVE-12816.derby.sql
    @@ -0,0 +1 @@
    +ALTER TABLE "COMPACTION_QUEUE" ADD "CQ_HADOOP_JOB_ID" VARCHAR(32);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/derby/026-HIVE-12818.derby.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/derby/026-HIVE-12818.derby.sql b/metastore/scripts/upgrade/derby/026-HIVE-12818.derby.sql
    new file mode 100644
    index 0000000..4e3c82b
    --- /dev/null
    +++ b/metastore/scripts/upgrade/derby/026-HIVE-12818.derby.sql
    @@ -0,0 +1,15 @@
    +CREATE TABLE COMPLETED_COMPACTIONS (
    + CC_ID bigint PRIMARY KEY,
    + CC_DATABASE varchar(128) NOT NULL,
    + CC_TABLE varchar(128) NOT NULL,
    + CC_PARTITION varchar(767),
    + CC_STATE char(1) NOT NULL,
    + CC_TYPE char(1) NOT NULL,
    + CC_WORKER_ID varchar(128),
    + CC_START bigint,
    + CC_END bigint,
    + CC_RUN_AS varchar(128),
    + CC_HIGHEST_TXN_ID bigint,
    + CC_META_INFO varchar(2048) for bit data,
    + CC_HADOOP_JOB_ID varchar(32)
    +);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/derby/027-HIVE-12819.derby.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/derby/027-HIVE-12819.derby.sql b/metastore/scripts/upgrade/derby/027-HIVE-12819.derby.sql
    new file mode 100644
    index 0000000..69b8a3a
    --- /dev/null
    +++ b/metastore/scripts/upgrade/derby/027-HIVE-12819.derby.sql
    @@ -0,0 +1 @@
    +ALTER TABLE "TXNS" ADD "TXN_AGENT_INFO" varchar(128);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/derby/028-HIVE-12821.derby.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/derby/028-HIVE-12821.derby.sql b/metastore/scripts/upgrade/derby/028-HIVE-12821.derby.sql
    new file mode 100644
    index 0000000..0c10245
    --- /dev/null
    +++ b/metastore/scripts/upgrade/derby/028-HIVE-12821.derby.sql
    @@ -0,0 +1,2 @@
    +ALTER TABLE "TXNS" ADD "TXN_HEARTBEAT_COUNT" INTEGER;
    +ALTER TABLE "HIVE_LOCKS" ADD "HL_HEARTBEAT_COUNT" INTEGER;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/derby/029-HIVE-12822.derby.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/derby/029-HIVE-12822.derby.sql b/metastore/scripts/upgrade/derby/029-HIVE-12822.derby.sql
    new file mode 100644
    index 0000000..9f9423e
    --- /dev/null
    +++ b/metastore/scripts/upgrade/derby/029-HIVE-12822.derby.sql
    @@ -0,0 +1 @@
    +ALTER TABLE "TXNS" ADD "TXN_META_INFO" varchar(128);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/derby/030-HIVE-12823.derby.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/derby/030-HIVE-12823.derby.sql b/metastore/scripts/upgrade/derby/030-HIVE-12823.derby.sql
    new file mode 100644
    index 0000000..b7fbc71
    --- /dev/null
    +++ b/metastore/scripts/upgrade/derby/030-HIVE-12823.derby.sql
    @@ -0,0 +1 @@
    +ALTER TABLE "HIVE_LOCKS" ADD "HL_AGENT_INFO" varchar(128);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/derby/031-HIVE-12831.derby.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/derby/031-HIVE-12831.derby.sql b/metastore/scripts/upgrade/derby/031-HIVE-12831.derby.sql
    new file mode 100644
    index 0000000..890fa1a
    --- /dev/null
    +++ b/metastore/scripts/upgrade/derby/031-HIVE-12831.derby.sql
    @@ -0,0 +1,2 @@
    +ALTER TABLE "HIVE_LOCKS" ADD "HL_BLOCKEDBY_EXT_ID" bigint;
    +ALTER TABLE "HIVE_LOCKS" ADD "HL_BLOCKEDBY_INT_ID" bigint;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/derby/032-HIVE-12832.derby.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/derby/032-HIVE-12832.derby.sql b/metastore/scripts/upgrade/derby/032-HIVE-12832.derby.sql
    new file mode 100644
    index 0000000..0e5515c
    --- /dev/null
    +++ b/metastore/scripts/upgrade/derby/032-HIVE-12832.derby.sql
    @@ -0,0 +1,7 @@
    +CREATE TABLE AUX_TABLE (
    + MT_KEY1 varchar(128) NOT NULL,
    + MT_KEY2 bigint NOT NULL,
    + MT_COMMENT varchar(255),
    + PRIMARY KEY(MT_KEY1, MT_KEY2)
    +);
    +

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/derby/hive-schema-1.3.0.derby.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/derby/hive-schema-1.3.0.derby.sql b/metastore/scripts/upgrade/derby/hive-schema-1.3.0.derby.sql
    index c50375f..3235489 100644
    --- a/metastore/scripts/upgrade/derby/hive-schema-1.3.0.derby.sql
    +++ b/metastore/scripts/upgrade/derby/hive-schema-1.3.0.derby.sql
    @@ -327,7 +327,7 @@ ALTER TABLE "APP"."SDS" ADD CONSTRAINT "SQL110318025505550" CHECK (IS_COMPRESSED
      -- ----------------------------
      -- Transaction and Lock Tables
      -- ----------------------------
    -RUN 'hive-txn-schema-0.13.0.derby.sql';
    +RUN 'hive-txn-schema-1.3.0.derby.sql';

      -- -----------------------------------------------------------------
      -- Record schema version. Should be the last step in the init script

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/derby/hive-txn-schema-1.3.0.derby.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/derby/hive-txn-schema-1.3.0.derby.sql b/metastore/scripts/upgrade/derby/hive-txn-schema-1.3.0.derby.sql
    new file mode 100644
    index 0000000..13f3340
    --- /dev/null
    +++ b/metastore/scripts/upgrade/derby/hive-txn-schema-1.3.0.derby.sql
    @@ -0,0 +1,119 @@
    +-- Licensed to the Apache Software Foundation (ASF) under one or more
    +-- contributor license agreements. See the NOTICE file distributed with
    +-- this work for additional information regarding copyright ownership.
    +-- The ASF licenses this file to You under the Apache License, Version 2.0
    +-- (the License); you may not use this file except in compliance with
    +-- the License. You may obtain a copy of the License at
    +--
    +-- http://www.apache.org/licenses/LICENSE-2.0
    +--
    +-- Unless required by applicable law or agreed to in writing, software
    +-- distributed under the License is distributed on an AS IS BASIS,
    +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +-- See the License for the specific language governing permissions and
    +-- limitations under the License.
    +
    +--
    +-- Tables for transaction management
    +--
    +CREATE TABLE TXNS (
    + TXN_ID bigint PRIMARY KEY,
    + TXN_STATE char(1) NOT NULL,
    + TXN_STARTED bigint NOT NULL,
    + TXN_LAST_HEARTBEAT bigint NOT NULL,
    + TXN_USER varchar(128) NOT NULL,
    + TXN_HOST varchar(128) NOT NULL,
    + TXN_AGENT_INFO varchar(128),
    + TXN_META_INFO varchar(128),
    + TXN_HEARTBEAT_COUNT integer
    +);
    +
    +CREATE TABLE TXN_COMPONENTS (
    + TC_TXNID bigint REFERENCES TXNS (TXN_ID),
    + TC_DATABASE varchar(128) NOT NULL,
    + TC_TABLE varchar(128),
    + TC_PARTITION varchar(767)
    +);
    +
    +CREATE TABLE COMPLETED_TXN_COMPONENTS (
    + CTC_TXNID bigint,
    + CTC_DATABASE varchar(128) NOT NULL,
    + CTC_TABLE varchar(128),
    + CTC_PARTITION varchar(767)
    +);
    +
    +CREATE TABLE NEXT_TXN_ID (
    + NTXN_NEXT bigint NOT NULL
    +);
    +INSERT INTO NEXT_TXN_ID VALUES(1);
    +
    +CREATE TABLE HIVE_LOCKS (
    + HL_LOCK_EXT_ID bigint NOT NULL,
    + HL_LOCK_INT_ID bigint NOT NULL,
    + HL_TXNID bigint,
    + HL_DB varchar(128) NOT NULL,
    + HL_TABLE varchar(128),
    + HL_PARTITION varchar(767),
    + HL_LOCK_STATE char(1) NOT NULL,
    + HL_LOCK_TYPE char(1) NOT NULL,
    + HL_LAST_HEARTBEAT bigint NOT NULL,
    + HL_ACQUIRED_AT bigint,
    + HL_USER varchar(128) NOT NULL,
    + HL_HOST varchar(128) NOT NULL,
    + HL_HEARTBEAT_COUNT integer,
    + HL_AGENT_INFO varchar(128),
    + HL_BLOCKEDBY_EXT_ID bigint,
    + HL_BLOCKEDBY_INT_ID bigint,
    + PRIMARY KEY(HL_LOCK_EXT_ID, HL_LOCK_INT_ID)
    +);
    +
    +CREATE INDEX HL_TXNID_INDEX ON HIVE_LOCKS (HL_TXNID);
    +
    +CREATE TABLE NEXT_LOCK_ID (
    + NL_NEXT bigint NOT NULL
    +);
    +INSERT INTO NEXT_LOCK_ID VALUES(1);
    +
    +CREATE TABLE COMPACTION_QUEUE (
    + CQ_ID bigint PRIMARY KEY,
    + CQ_DATABASE varchar(128) NOT NULL,
    + CQ_TABLE varchar(128) NOT NULL,
    + CQ_PARTITION varchar(767),
    + CQ_STATE char(1) NOT NULL,
    + CQ_TYPE char(1) NOT NULL,
    + CQ_WORKER_ID varchar(128),
    + CQ_START bigint,
    + CQ_RUN_AS varchar(128),
    + CQ_HIGHEST_TXN_ID bigint,
    + CQ_META_INFO varchar(2048) for bit data,
    + CQ_HADOOP_JOB_ID varchar(32)
    +);
    +
    +CREATE TABLE NEXT_COMPACTION_QUEUE_ID (
    + NCQ_NEXT bigint NOT NULL
    +);
    +INSERT INTO NEXT_COMPACTION_QUEUE_ID VALUES(1);
    +
    +CREATE TABLE COMPLETED_COMPACTIONS (
    + CC_ID bigint PRIMARY KEY,
    + CC_DATABASE varchar(128) NOT NULL,
    + CC_TABLE varchar(128) NOT NULL,
    + CC_PARTITION varchar(767),
    + CC_STATE char(1) NOT NULL,
    + CC_TYPE char(1) NOT NULL,
    + CC_WORKER_ID varchar(128),
    + CC_START bigint,
    + CC_END bigint,
    + CC_RUN_AS varchar(128),
    + CC_HIGHEST_TXN_ID bigint,
    + CC_META_INFO varchar(2048) for bit data,
    + CC_HADOOP_JOB_ID varchar(32)
    +);
    +
    +CREATE TABLE AUX_TABLE (
    + MT_KEY1 varchar(128) NOT NULL,
    + MT_KEY2 bigint NOT NULL,
    + MT_COMMENT varchar(255),
    + PRIMARY KEY(MT_KEY1, MT_KEY2)
    +);
    +

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/derby/upgrade-1.2.0-to-1.3.0.derby.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/derby/upgrade-1.2.0-to-1.3.0.derby.sql b/metastore/scripts/upgrade/derby/upgrade-1.2.0-to-1.3.0.derby.sql
    index dee744b..6d4e591 100644
    --- a/metastore/scripts/upgrade/derby/upgrade-1.2.0-to-1.3.0.derby.sql
    +++ b/metastore/scripts/upgrade/derby/upgrade-1.2.0-to-1.3.0.derby.sql
    @@ -1,3 +1,13 @@
      -- Upgrade MetaStore schema from 1.2.0 to 1.3.0

    +RUN '023-HIVE-12807.derby.sql';
    +RUN '024-HIVE-12814.derby.sql';
    +RUN '025-HIVE-12816.derby.sql';
    +RUN '026-HIVE-12818.derby.sql';
    +RUN '027-HIVE-12819.derby.sql';
    +RUN '028-HIVE-12821.derby.sql';
    +RUN '029-HIVE-12822.derby.sql';
    +RUN '030-HIVE-12823.derby.sql';
    +RUN '031-HIVE-12831.derby.sql';
    +RUN '032-HIVE-12832.derby.sql';
      UPDATE "APP".VERSION SET SCHEMA_VERSION='1.3.0', VERSION_COMMENT='Hive release version 1.3.0' where VER_ID=1;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mssql/008-HIVE-12807.mssql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mssql/008-HIVE-12807.mssql.sql b/metastore/scripts/upgrade/mssql/008-HIVE-12807.mssql.sql
    new file mode 100644
    index 0000000..e2d7615
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mssql/008-HIVE-12807.mssql.sql
    @@ -0,0 +1 @@
    +ALTER TABLE COMPACTION_QUEUE ADD CQ_HIGHEST_TXN_ID bigint NULL;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mssql/009-HIVE-12814.mssql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mssql/009-HIVE-12814.mssql.sql b/metastore/scripts/upgrade/mssql/009-HIVE-12814.mssql.sql
    new file mode 100644
    index 0000000..0088290
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mssql/009-HIVE-12814.mssql.sql
    @@ -0,0 +1 @@
    +ALTER TABLE COMPACTION_QUEUE ADD CQ_META_INFO varbinary(2048) NULL;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mssql/010-HIVE-12816.mssql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mssql/010-HIVE-12816.mssql.sql b/metastore/scripts/upgrade/mssql/010-HIVE-12816.mssql.sql
    new file mode 100644
    index 0000000..0c0342f
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mssql/010-HIVE-12816.mssql.sql
    @@ -0,0 +1 @@
    +ALTER TABLE COMPACTION_QUEUE ADD CQ_HADOOP_JOB_ID nvarchar(32) NULL;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mssql/011-HIVE-12818.mssql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mssql/011-HIVE-12818.mssql.sql b/metastore/scripts/upgrade/mssql/011-HIVE-12818.mssql.sql
    new file mode 100644
    index 0000000..74ac5bf
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mssql/011-HIVE-12818.mssql.sql
    @@ -0,0 +1,21 @@
    +CREATE TABLE COMPLETED_COMPACTIONS (
    + CC_ID bigint NOT NULL,
    + CC_DATABASE nvarchar(128) NOT NULL,
    + CC_TABLE nvarchar(128) NOT NULL,
    + CC_PARTITION nvarchar(767) NULL,
    + CC_STATE char(1) NOT NULL,
    + CC_TYPE char(1) NOT NULL,
    + CC_WORKER_ID nvarchar(128) NULL,
    + CC_START bigint NULL,
    + CC_END bigint NULL,
    + CC_RUN_AS nvarchar(128) NULL,
    + CC_HIGHEST_TXN_ID bigint NULL,
    + CC_META_INFO varbinary(2048) NULL,
    + CC_HADOOP_JOB_ID nvarchar(128) NULL,
    +PRIMARY KEY CLUSTERED
    +(
    + CC_ID ASC
    +)
    +);
    +
    +

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mssql/012-HIVE-12819.mssql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mssql/012-HIVE-12819.mssql.sql b/metastore/scripts/upgrade/mssql/012-HIVE-12819.mssql.sql
    new file mode 100644
    index 0000000..778cbd5
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mssql/012-HIVE-12819.mssql.sql
    @@ -0,0 +1 @@
    +ALTER TABLE TXNS ADD TXN_AGENT_INFO nvarchar(128) NULL;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mssql/013-HIVE-12821.mssql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mssql/013-HIVE-12821.mssql.sql b/metastore/scripts/upgrade/mssql/013-HIVE-12821.mssql.sql
    new file mode 100644
    index 0000000..3b8a610
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mssql/013-HIVE-12821.mssql.sql
    @@ -0,0 +1,2 @@
    +ALTER TABLE TXNS ADD TXN_HEARTBEAT_COUNT int NULL;
    +ALTER TABLE HIVE_LOCKS ADD HL_HEARTBEAT_COUNT int NULL;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mssql/014-HIVE-12822.mssql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mssql/014-HIVE-12822.mssql.sql b/metastore/scripts/upgrade/mssql/014-HIVE-12822.mssql.sql
    new file mode 100644
    index 0000000..b82d0ec
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mssql/014-HIVE-12822.mssql.sql
    @@ -0,0 +1 @@
    +ALTER TABLE TXNS ADD TXN_META_INFO nvarchar(128) NULL;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mssql/015-HIVE-12823.mssql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mssql/015-HIVE-12823.mssql.sql b/metastore/scripts/upgrade/mssql/015-HIVE-12823.mssql.sql
    new file mode 100644
    index 0000000..d125b24
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mssql/015-HIVE-12823.mssql.sql
    @@ -0,0 +1 @@
    +ALTER TABLE HIVE_LOCKS ADD HL_AGENT_INFO nvarchar(128) NULL;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mssql/016-HIVE-12831.mssql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mssql/016-HIVE-12831.mssql.sql b/metastore/scripts/upgrade/mssql/016-HIVE-12831.mssql.sql
    new file mode 100644
    index 0000000..9f37461
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mssql/016-HIVE-12831.mssql.sql
    @@ -0,0 +1,2 @@
    +ALTER TABLE HIVE_LOCKS ADD HL_BLOCKEDBY_EXT_ID bigint NULL;
    +ALTER TABLE HIVE_LOCKS ADD HL_BLOCKEDBY_INT_ID bigint NULL;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mssql/017-HIVE-12832.mssql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mssql/017-HIVE-12832.mssql.sql b/metastore/scripts/upgrade/mssql/017-HIVE-12832.mssql.sql
    new file mode 100644
    index 0000000..7adfe2e
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mssql/017-HIVE-12832.mssql.sql
    @@ -0,0 +1,10 @@
    +CREATE TABLE AUX_TABLE (
    + MT_KEY1 nvarchar(128) NOT NULL,
    + MT_KEY2 bigint NOT NULL,
    + MT_COMMENT nvarchar(255) NULL,
    + PRIMARY KEY CLUSTERED
    +(
    + MT_KEY1 ASC,
    + MT_KEY2 ASC
    +)
    +);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mssql/hive-schema-1.3.0.mssql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mssql/hive-schema-1.3.0.mssql.sql b/metastore/scripts/upgrade/mssql/hive-schema-1.3.0.mssql.sql
    index 7165edd..33c5ff6 100644
    --- a/metastore/scripts/upgrade/mssql/hive-schema-1.3.0.mssql.sql
    +++ b/metastore/scripts/upgrade/mssql/hive-schema-1.3.0.mssql.sql
    @@ -866,12 +866,35 @@ CREATE TABLE COMPACTION_QUEUE(
       CQ_WORKER_ID nvarchar(128) NULL,
       CQ_START bigint NULL,
       CQ_RUN_AS nvarchar(128) NULL,
    + CQ_HIGHEST_TXN_ID bigint NULL,
    + CQ_META_INFO varbinary(2048) NULL,
    + CQ_HADOOP_JOB_ID nvarchar(128) NULL,
      PRIMARY KEY CLUSTERED
      (
       CQ_ID ASC
      )
      );

    +CREATE TABLE COMPLETED_COMPACTIONS (
    + CC_ID bigint NOT NULL,
    + CC_DATABASE nvarchar(128) NOT NULL,
    + CC_TABLE nvarchar(128) NOT NULL,
    + CC_PARTITION nvarchar(767) NULL,
    + CC_STATE char(1) NOT NULL,
    + CC_TYPE char(1) NOT NULL,
    + CC_WORKER_ID nvarchar(128) NULL,
    + CC_START bigint NULL,
    + CC_END bigint NULL,
    + CC_RUN_AS nvarchar(128) NULL,
    + CC_HIGHEST_TXN_ID bigint NULL,
    + CC_META_INFO varbinary(2048) NULL,
    + CC_HADOOP_JOB_ID nvarchar(128) NULL,
    +PRIMARY KEY CLUSTERED
    +(
    + CC_ID ASC
    +)
    +);
    +
      CREATE TABLE COMPLETED_TXN_COMPONENTS(
       CTC_TXNID bigint NULL,
       CTC_DATABASE nvarchar(128) NOT NULL,
    @@ -892,6 +915,10 @@ CREATE TABLE HIVE_LOCKS(
       HL_ACQUIRED_AT bigint NULL,
       HL_USER nvarchar(128) NOT NULL,
       HL_HOST nvarchar(128) NOT NULL,
    + HL_HEARTBEAT_COUNT int NULL,
    + HL_AGENT_INFO nvarchar(128) NULL,
    + HL_BLOCKEDBY_EXT_ID bigint NULL,
    + HL_BLOCKEDBY_INT_ID bigint NULL,
      PRIMARY KEY CLUSTERED
      (
       HL_LOCK_EXT_ID ASC,
    @@ -924,6 +951,9 @@ CREATE TABLE TXNS(
       TXN_LAST_HEARTBEAT bigint NOT NULL,
       TXN_USER nvarchar(128) NOT NULL,
       TXN_HOST nvarchar(128) NOT NULL,
    + TXN_AGENT_INFO nvarchar(128) NULL,
    + TXN_META_INFO nvarchar(128) NULL,
    + TXN_HEARTBEAT_COUNT int NULL,
      PRIMARY KEY CLUSTERED
      (
       TXN_ID ASC
    @@ -939,6 +969,16 @@ CREATE TABLE TXN_COMPONENTS(

      ALTER TABLE TXN_COMPONENTS WITH CHECK ADD FOREIGN KEY(TC_TXNID) REFERENCES TXNS (TXN_ID);

    +CREATE TABLE AUX_TABLE (
    + MT_KEY1 nvarchar(128) NOT NULL,
    + MT_KEY2 bigint NOT NULL,
    + MT_COMMENT nvarchar(255) NULL,
    + PRIMARY KEY CLUSTERED
    +(
    + MT_KEY1 ASC,
    + MT_KEY2 ASC
    +)
    +);


      -- -----------------------------------------------------------------

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mssql/upgrade-1.2.0-to-1.3.0.mssql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mssql/upgrade-1.2.0-to-1.3.0.mssql.sql b/metastore/scripts/upgrade/mssql/upgrade-1.2.0-to-1.3.0.mssql.sql
    index fd12a92..b4de8ce 100644
    --- a/metastore/scripts/upgrade/mssql/upgrade-1.2.0-to-1.3.0.mssql.sql
    +++ b/metastore/scripts/upgrade/mssql/upgrade-1.2.0-to-1.3.0.mssql.sql
    @@ -1,5 +1,15 @@
      SELECT 'Upgrading MetaStore schema from 1.2.0 to 1.3.0' AS MESSAGE;

    +:r 008-HIVE-12807.mssql.sql;
    +:r 009-HIVE-12814.mssql.sql;
    +:r 010-HIVE-12816.mssql.sql;
    +:r 011-HIVE-12818.mssql.sql;
    +:r 012-HIVE-12819.mssql.sql;
    +:r 013-HIVE-12821.mssql.sql;
    +:r 014-HIVE-12822.mssql.sql;
    +:r 015-HIVE-12823.mssql.sql;
    +:r 016-HIVE-12831.mssql.sql;
    +:r 017-HIVE-12832.mssql.sql;

      UPDATE VERSION SET SCHEMA_VERSION='1.3.0', VERSION_COMMENT='Hive release version 1.3.0' where VER_ID=1;
      SELECT 'Finished upgrading MetaStore schema from 1.2.0 to 1.3.0' AS MESSAGE;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mysql/023-HIVE-12807.mysql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mysql/023-HIVE-12807.mysql.sql b/metastore/scripts/upgrade/mysql/023-HIVE-12807.mysql.sql
    new file mode 100644
    index 0000000..31a2dd1
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mysql/023-HIVE-12807.mysql.sql
    @@ -0,0 +1 @@
    +ALTER TABLE `COMPACTION_QUEUE` ADD `CQ_HIGHEST_TXN_ID` bigint;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mysql/024-HIVE-12814.mysql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mysql/024-HIVE-12814.mysql.sql b/metastore/scripts/upgrade/mysql/024-HIVE-12814.mysql.sql
    new file mode 100644
    index 0000000..5d5f3ca
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mysql/024-HIVE-12814.mysql.sql
    @@ -0,0 +1 @@
    +ALTER TABLE `COMPACTION_QUEUE` ADD `CQ_META_INFO` varbinary(2048);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mysql/025-HIVE-12816.mysql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mysql/025-HIVE-12816.mysql.sql b/metastore/scripts/upgrade/mysql/025-HIVE-12816.mysql.sql
    new file mode 100644
    index 0000000..87e48b4
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mysql/025-HIVE-12816.mysql.sql
    @@ -0,0 +1 @@
    +ALTER TABLE `COMPACTION_QUEUE` ADD `CQ_HADOOP_JOB_ID` varchar(32);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mysql/026-HIVE-12818.mysql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mysql/026-HIVE-12818.mysql.sql b/metastore/scripts/upgrade/mysql/026-HIVE-12818.mysql.sql
    new file mode 100644
    index 0000000..e241eee
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mysql/026-HIVE-12818.mysql.sql
    @@ -0,0 +1,17 @@
    +CREATE TABLE COMPLETED_COMPACTIONS (
    + CC_ID bigint PRIMARY KEY,
    + CC_DATABASE varchar(128) NOT NULL,
    + CC_TABLE varchar(128) NOT NULL,
    + CC_PARTITION varchar(767),
    + CC_STATE char(1) NOT NULL,
    + CC_TYPE char(1) NOT NULL,
    + CC_WORKER_ID varchar(128),
    + CC_START bigint,
    + CC_END bigint,
    + CC_RUN_AS varchar(128),
    + CC_HIGHEST_TXN_ID bigint,
    + CC_META_INFO varbinary(2048),
    + CC_HADOOP_JOB_ID varchar(32)
    +) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    +
    +

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mysql/027-HIVE-12819.mysql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mysql/027-HIVE-12819.mysql.sql b/metastore/scripts/upgrade/mysql/027-HIVE-12819.mysql.sql
    new file mode 100644
    index 0000000..f1e25d5
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mysql/027-HIVE-12819.mysql.sql
    @@ -0,0 +1 @@
    +ALTER TABLE `TXNS` ADD `TXN_AGENT_INFO` varchar(128);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mysql/028-HIVE-12821.mysql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mysql/028-HIVE-12821.mysql.sql b/metastore/scripts/upgrade/mysql/028-HIVE-12821.mysql.sql
    new file mode 100644
    index 0000000..a951021
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mysql/028-HIVE-12821.mysql.sql
    @@ -0,0 +1,2 @@
    +ALTER TABLE `TXNS` ADD `TXN_HEARTBEAT_COUNT` int;
    +ALTER TABLE `HIVE_LOCKS` ADD `HL_HEARTBEAT_COUNT` int;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mysql/029-HIVE-12822.mysql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mysql/029-HIVE-12822.mysql.sql b/metastore/scripts/upgrade/mysql/029-HIVE-12822.mysql.sql
    new file mode 100644
    index 0000000..ffd0bab
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mysql/029-HIVE-12822.mysql.sql
    @@ -0,0 +1 @@
    +ALTER TABLE `TXNS` ADD `TXN_META_INFO` varchar(128);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mysql/030-HIVE-12823.mysql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mysql/030-HIVE-12823.mysql.sql b/metastore/scripts/upgrade/mysql/030-HIVE-12823.mysql.sql
    new file mode 100644
    index 0000000..42c9b17
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mysql/030-HIVE-12823.mysql.sql
    @@ -0,0 +1 @@
    +ALTER TABLE `HIVE_LOCKS` ADD `HL_AGENT_INFO` varchar(128);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mysql/031-HIVE-12831.mysql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mysql/031-HIVE-12831.mysql.sql b/metastore/scripts/upgrade/mysql/031-HIVE-12831.mysql.sql
    new file mode 100644
    index 0000000..0b19bba
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mysql/031-HIVE-12831.mysql.sql
    @@ -0,0 +1,2 @@
    +ALTER TABLE `HIVE_LOCKS` ADD `HL_BLOCKEDBY_EXT_ID` bigint;
    +ALTER TABLE `HIVE_LOCKS` ADD `HL_BLOCKEDBY_INT_ID` bigint;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mysql/032-HIVE-12832.mysql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mysql/032-HIVE-12832.mysql.sql b/metastore/scripts/upgrade/mysql/032-HIVE-12832.mysql.sql
    new file mode 100644
    index 0000000..98c7706
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mysql/032-HIVE-12832.mysql.sql
    @@ -0,0 +1,7 @@
    +CREATE TABLE AUX_TABLE (
    + MT_KEY1 varchar(128) NOT NULL,
    + MT_KEY2 bigint NOT NULL,
    + MT_COMMENT varchar(255),
    + PRIMARY KEY(MT_KEY1, MT_KEY2)
    +) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    +

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mysql/hive-schema-1.3.0.mysql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mysql/hive-schema-1.3.0.mysql.sql b/metastore/scripts/upgrade/mysql/hive-schema-1.3.0.mysql.sql
    index 71de138..25723e2 100644
    --- a/metastore/scripts/upgrade/mysql/hive-schema-1.3.0.mysql.sql
    +++ b/metastore/scripts/upgrade/mysql/hive-schema-1.3.0.mysql.sql
    @@ -813,7 +813,7 @@ CREATE TABLE IF NOT EXISTS `NOTIFICATION_SEQUENCE`
      -- ----------------------------
      -- Transaction and Lock Tables
      -- ----------------------------
    -SOURCE hive-txn-schema-0.13.0.mysql.sql;
    +SOURCE hive-txn-schema-1.3.0.mysql.sql;

      -- -----------------------------------------------------------------
      -- Record schema version. Should be the last step in the init script

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mysql/hive-txn-schema-1.3.0.mysql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mysql/hive-txn-schema-1.3.0.mysql.sql b/metastore/scripts/upgrade/mysql/hive-txn-schema-1.3.0.mysql.sql
    new file mode 100644
    index 0000000..ea42757
    --- /dev/null
    +++ b/metastore/scripts/upgrade/mysql/hive-txn-schema-1.3.0.mysql.sql
    @@ -0,0 +1,122 @@
    +-- Licensed to the Apache Software Foundation (ASF) under one or more
    +-- contributor license agreements. See the NOTICE file distributed with
    +-- this work for additional information regarding copyright ownership.
    +-- The ASF licenses this file to You under the Apache License, Version 2.0
    +-- (the "License"); you may not use this file except in compliance with
    +-- the License. You may obtain a copy of the License at
    +--
    +-- http://www.apache.org/licenses/LICENSE-2.0
    +--
    +-- Unless required by applicable law or agreed to in writing, software
    +-- distributed under the License is distributed on an "AS IS" BASIS,
    +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +-- See the License for the specific language governing permissions and
    +-- limitations under the License.
    +
    +--
    +-- Tables for transaction management
    +--
    +
    +CREATE TABLE TXNS (
    + TXN_ID bigint PRIMARY KEY,
    + TXN_STATE char(1) NOT NULL,
    + TXN_STARTED bigint NOT NULL,
    + TXN_LAST_HEARTBEAT bigint NOT NULL,
    + TXN_USER varchar(128) NOT NULL,
    + TXN_HOST varchar(128) NOT NULL,
    + TXN_AGENT_INFO varchar(128),
    + TXN_META_INFO varchar(128),
    + TXN_HEARTBEAT_COUNT int
    +) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    +
    +CREATE TABLE TXN_COMPONENTS (
    + TC_TXNID bigint,
    + TC_DATABASE varchar(128) NOT NULL,
    + TC_TABLE varchar(128),
    + TC_PARTITION varchar(767),
    + FOREIGN KEY (TC_TXNID) REFERENCES TXNS (TXN_ID)
    +) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    +
    +CREATE TABLE COMPLETED_TXN_COMPONENTS (
    + CTC_TXNID bigint,
    + CTC_DATABASE varchar(128) NOT NULL,
    + CTC_TABLE varchar(128),
    + CTC_PARTITION varchar(767)
    +) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    +
    +CREATE TABLE NEXT_TXN_ID (
    + NTXN_NEXT bigint NOT NULL
    +) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    +INSERT INTO NEXT_TXN_ID VALUES(1);
    +
    +CREATE TABLE HIVE_LOCKS (
    + HL_LOCK_EXT_ID bigint NOT NULL,
    + HL_LOCK_INT_ID bigint NOT NULL,
    + HL_TXNID bigint,
    + HL_DB varchar(128) NOT NULL,
    + HL_TABLE varchar(128),
    + HL_PARTITION varchar(767),
    + HL_LOCK_STATE char(1) not null,
    + HL_LOCK_TYPE char(1) not null,
    + HL_LAST_HEARTBEAT bigint NOT NULL,
    + HL_ACQUIRED_AT bigint,
    + HL_USER varchar(128) NOT NULL,
    + HL_HOST varchar(128) NOT NULL,
    + HL_HEARTBEAT_COUNT int,
    + HL_AGENT_INFO varchar(128),
    + HL_BLOCKEDBY_EXT_ID bigint,
    + HL_BLOCKEDBY_INT_ID bigint,
    + PRIMARY KEY(HL_LOCK_EXT_ID, HL_LOCK_INT_ID),
    + KEY HIVE_LOCK_TXNID_INDEX (HL_TXNID)
    +) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    +
    +CREATE INDEX HL_TXNID_IDX ON HIVE_LOCKS (HL_TXNID);
    +
    +CREATE TABLE NEXT_LOCK_ID (
    + NL_NEXT bigint NOT NULL
    +) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    +INSERT INTO NEXT_LOCK_ID VALUES(1);
    +
    +CREATE TABLE COMPACTION_QUEUE (
    + CQ_ID bigint PRIMARY KEY,
    + CQ_DATABASE varchar(128) NOT NULL,
    + CQ_TABLE varchar(128) NOT NULL,
    + CQ_PARTITION varchar(767),
    + CQ_STATE char(1) NOT NULL,
    + CQ_TYPE char(1) NOT NULL,
    + CQ_WORKER_ID varchar(128),
    + CQ_START bigint,
    + CQ_RUN_AS varchar(128),
    + CQ_HIGHEST_TXN_ID bigint,
    + CQ_META_INFO varbinary(2048),
    + CQ_HADOOP_JOB_ID varchar(32)
    +) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    +
    +CREATE TABLE COMPLETED_COMPACTIONS (
    + CC_ID bigint PRIMARY KEY,
    + CC_DATABASE varchar(128) NOT NULL,
    + CC_TABLE varchar(128) NOT NULL,
    + CC_PARTITION varchar(767),
    + CC_STATE char(1) NOT NULL,
    + CC_TYPE char(1) NOT NULL,
    + CC_WORKER_ID varchar(128),
    + CC_START bigint,
    + CC_END bigint,
    + CC_RUN_AS varchar(128),
    + CC_HIGHEST_TXN_ID bigint,
    + CC_META_INFO varbinary(2048),
    + CC_HADOOP_JOB_ID varchar(32)
    +) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    +
    +CREATE TABLE NEXT_COMPACTION_QUEUE_ID (
    + NCQ_NEXT bigint NOT NULL
    +) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    +INSERT INTO NEXT_COMPACTION_QUEUE_ID VALUES(1);
    +
    +CREATE TABLE AUX_TABLE (
    + MT_KEY1 varchar(128) NOT NULL,
    + MT_KEY2 bigint NOT NULL,
    + MT_COMMENT varchar(255),
    + PRIMARY KEY(MT_KEY1, MT_KEY2)
    +) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    +

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/mysql/upgrade-1.2.0-to-1.3.0.mysql.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/mysql/upgrade-1.2.0-to-1.3.0.mysql.sql b/metastore/scripts/upgrade/mysql/upgrade-1.2.0-to-1.3.0.mysql.sql
    index 44a9946..f385549 100644
    --- a/metastore/scripts/upgrade/mysql/upgrade-1.2.0-to-1.3.0.mysql.sql
    +++ b/metastore/scripts/upgrade/mysql/upgrade-1.2.0-to-1.3.0.mysql.sql
    @@ -1,4 +1,16 @@
      SELECT 'Upgrading MetaStore schema from 1.2.0 to 1.3.0' AS ' ';
    +
      SOURCE 021-HIVE-7018.mysql.sql;
    +SOURCE 023-HIVE-12807.mysql.sql;
    +SOURCE 024-HIVE-12814.mysql.sql;
    +SOURCE 025-HIVE-12816.mysql.sql;
    +SOURCE 026-HIVE-12818.mysql.sql;
    +SOURCE 027-HIVE-12819.mysql.sql;
    +SOURCE 028-HIVE-12821.mysql.sql;
    +SOURCE 029-HIVE-12822.mysql.sql;
    +SOURCE 030-HIVE-12823.mysql.sql;
    +SOURCE 031-HIVE-12831.mysql.sql;
    +SOURCE 032-HIVE-12832.mysql.sql;
    +
      UPDATE VERSION SET SCHEMA_VERSION='1.3.0', VERSION_COMMENT='Hive release version 1.3.0' where VER_ID=1;
      SELECT 'Finished upgrading MetaStore schema from 1.2.0 to 1.3.0' AS ' ';

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/oracle/023-HIVE-12807.oracle.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/oracle/023-HIVE-12807.oracle.sql b/metastore/scripts/upgrade/oracle/023-HIVE-12807.oracle.sql
    new file mode 100644
    index 0000000..0313e96
    --- /dev/null
    +++ b/metastore/scripts/upgrade/oracle/023-HIVE-12807.oracle.sql
    @@ -0,0 +1 @@
    +ALTER TABLE COMPACTION_QUEUE ADD CQ_HIGHEST_TXN_ID NUMBER(19);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/oracle/024-HIVE-12814.oracle.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/oracle/024-HIVE-12814.oracle.sql b/metastore/scripts/upgrade/oracle/024-HIVE-12814.oracle.sql
    new file mode 100644
    index 0000000..d9a5575
    --- /dev/null
    +++ b/metastore/scripts/upgrade/oracle/024-HIVE-12814.oracle.sql
    @@ -0,0 +1 @@
    +ALTER TABLE COMPACTION_QUEUE ADD CQ_META_INFO BLOB;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/oracle/025-HIVE-12816.oracle.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/oracle/025-HIVE-12816.oracle.sql b/metastore/scripts/upgrade/oracle/025-HIVE-12816.oracle.sql
    new file mode 100644
    index 0000000..9a96d8c
    --- /dev/null
    +++ b/metastore/scripts/upgrade/oracle/025-HIVE-12816.oracle.sql
    @@ -0,0 +1 @@
    +ALTER TABLE COMPACTION_QUEUE ADD CQ_HADOOP_JOB_ID varchar2(32);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/oracle/026-HIVE-12818.oracle.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/oracle/026-HIVE-12818.oracle.sql b/metastore/scripts/upgrade/oracle/026-HIVE-12818.oracle.sql
    new file mode 100644
    index 0000000..9ecb43e
    --- /dev/null
    +++ b/metastore/scripts/upgrade/oracle/026-HIVE-12818.oracle.sql
    @@ -0,0 +1,17 @@
    +CREATE TABLE COMPLETED_COMPACTIONS (
    + CC_ID NUMBER(19) PRIMARY KEY,
    + CC_DATABASE varchar(128) NOT NULL,
    + CC_TABLE varchar(128) NOT NULL,
    + CC_PARTITION varchar(767),
    + CC_STATE char(1) NOT NULL,
    + CC_TYPE char(1) NOT NULL,
    + CC_WORKER_ID varchar(128),
    + CC_START NUMBER(19),
    + CC_END NUMBER(19),
    + CC_RUN_AS varchar(128),
    + CC_HIGHEST_TXN_ID NUMBER(19),
    + CC_META_INFO BLOB,
    + CC_HADOOP_JOB_ID varchar2(32)
    +) ROWDEPENDENCIES;
    +
    +

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/oracle/027-HIVE-12819.oracle.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/oracle/027-HIVE-12819.oracle.sql b/metastore/scripts/upgrade/oracle/027-HIVE-12819.oracle.sql
    new file mode 100644
    index 0000000..0d74a98
    --- /dev/null
    +++ b/metastore/scripts/upgrade/oracle/027-HIVE-12819.oracle.sql
    @@ -0,0 +1 @@
    +ALTER TABLE TXNS ADD TXN_AGENT_INFO varchar2(128);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/oracle/028-HIVE-12821.oracle.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/oracle/028-HIVE-12821.oracle.sql b/metastore/scripts/upgrade/oracle/028-HIVE-12821.oracle.sql
    new file mode 100644
    index 0000000..152d2ab
    --- /dev/null
    +++ b/metastore/scripts/upgrade/oracle/028-HIVE-12821.oracle.sql
    @@ -0,0 +1,2 @@
    +ALTER TABLE TXNS ADD TXN_HEARTBEAT_COUNT number(10);
    +ALTER TABLE HIVE_LOCKS ADD HL_HEARTBEAT_COUNT number(10);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/oracle/029-HIVE-12822.oracle.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/oracle/029-HIVE-12822.oracle.sql b/metastore/scripts/upgrade/oracle/029-HIVE-12822.oracle.sql
    new file mode 100644
    index 0000000..63c0d77
    --- /dev/null
    +++ b/metastore/scripts/upgrade/oracle/029-HIVE-12822.oracle.sql
    @@ -0,0 +1 @@
    +ALTER TABLE TXNS ADD TXN_META_INFO varchar2(128);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/oracle/030-HIVE-12823.oracle.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/oracle/030-HIVE-12823.oracle.sql b/metastore/scripts/upgrade/oracle/030-HIVE-12823.oracle.sql
    new file mode 100644
    index 0000000..f938603
    --- /dev/null
    +++ b/metastore/scripts/upgrade/oracle/030-HIVE-12823.oracle.sql
    @@ -0,0 +1 @@
    +ALTER TABLE HIVE_LOCKS ADD HL_AGENT_INFO varchar2(128);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/oracle/031-HIVE-12381.oracle.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/oracle/031-HIVE-12381.oracle.sql b/metastore/scripts/upgrade/oracle/031-HIVE-12381.oracle.sql
    new file mode 100644
    index 0000000..35a9b9d
    --- /dev/null
    +++ b/metastore/scripts/upgrade/oracle/031-HIVE-12381.oracle.sql
    @@ -0,0 +1,2 @@
    +ALTER TABLE HIVE_LOCKS ADD HL_BLOCKEDBY_EXT_ID number(19);
    +ALTER TABLE HIVE_LOCKS ADD HL_BLOCKEDBY_INT_ID number(19);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/oracle/032-HIVE-12832.oracle.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/oracle/032-HIVE-12832.oracle.sql b/metastore/scripts/upgrade/oracle/032-HIVE-12832.oracle.sql
    new file mode 100644
    index 0000000..2b58d2e
    --- /dev/null
    +++ b/metastore/scripts/upgrade/oracle/032-HIVE-12832.oracle.sql
    @@ -0,0 +1,7 @@
    +CREATE TABLE AUX_TABLE (
    + MT_KEY1 varchar2(128) NOT NULL,
    + MT_KEY2 number(19) NOT NULL,
    + MT_COMMENT varchar2(255),
    + PRIMARY KEY(MT_KEY1, MT_KEY2)
    +);
    +

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/oracle/hive-schema-1.3.0.oracle.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/oracle/hive-schema-1.3.0.oracle.sql b/metastore/scripts/upgrade/oracle/hive-schema-1.3.0.oracle.sql
    index 7605bc7..b42a291 100644
    --- a/metastore/scripts/upgrade/oracle/hive-schema-1.3.0.oracle.sql
    +++ b/metastore/scripts/upgrade/oracle/hive-schema-1.3.0.oracle.sql
    @@ -780,7 +780,7 @@ CREATE INDEX FUNC_RU_N49 ON FUNC_RU (FUNC_ID);
      ------------------------------
      -- Transaction and lock tables
      ------------------------------
    -@hive-txn-schema-0.13.0.oracle.sql;
    +@hive-txn-schema-1.3.0.oracle.sql;

      -- -----------------------------------------------------------------
      -- Record schema version. Should be the last step in the init script

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/oracle/hive-txn-schema-1.3.0.oracle.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/oracle/hive-txn-schema-1.3.0.oracle.sql b/metastore/scripts/upgrade/oracle/hive-txn-schema-1.3.0.oracle.sql
    new file mode 100644
    index 0000000..788741a
    --- /dev/null
    +++ b/metastore/scripts/upgrade/oracle/hive-txn-schema-1.3.0.oracle.sql
    @@ -0,0 +1,120 @@
    +-- Licensed to the Apache Software Foundation (ASF) under one or more
    +-- contributor license agreements. See the NOTICE file distributed with
    +-- this work for additional information regarding copyright ownership.
    +-- The ASF licenses this file to You under the Apache License, Version 2.0
    +-- (the License); you may not use this file except in compliance with
    +-- the License. You may obtain a copy of the License at
    +--
    +-- http://www.apache.org/licenses/LICENSE-2.0
    +--
    +-- Unless required by applicable law or agreed to in writing, software
    +-- distributed under the License is distributed on an AS IS BASIS,
    +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +-- See the License for the specific language governing permissions and
    +-- limitations under the License.
    +
    +--
    +-- Tables for transaction management
    +--
    +
    +CREATE TABLE TXNS (
    + TXN_ID NUMBER(19) PRIMARY KEY,
    + TXN_STATE char(1) NOT NULL,
    + TXN_STARTED NUMBER(19) NOT NULL,
    + TXN_LAST_HEARTBEAT NUMBER(19) NOT NULL,
    + TXN_USER varchar(128) NOT NULL,
    + TXN_HOST varchar(128) NOT NULL,
    + TXN_AGENT_INFO varchar2(128),
    + TXN_META_INFO varchar2(128),
    + TXN_HEARTBEAT_COUNT number(10)
    +) ROWDEPENDENCIES;
    +
    +CREATE TABLE TXN_COMPONENTS (
    + TC_TXNID NUMBER(19) REFERENCES TXNS (TXN_ID),
    + TC_DATABASE VARCHAR2(128) NOT NULL,
    + TC_TABLE VARCHAR2(128),
    + TC_PARTITION VARCHAR2(767) NULL
    +) ROWDEPENDENCIES;
    +
    +CREATE TABLE COMPLETED_TXN_COMPONENTS (
    + CTC_TXNID NUMBER(19),
    + CTC_DATABASE varchar(128) NOT NULL,
    + CTC_TABLE varchar(128),
    + CTC_PARTITION varchar(767)
    +) ROWDEPENDENCIES;
    +
    +CREATE TABLE NEXT_TXN_ID (
    + NTXN_NEXT NUMBER(19) NOT NULL
    +);
    +INSERT INTO NEXT_TXN_ID VALUES(1);
    +
    +CREATE TABLE HIVE_LOCKS (
    + HL_LOCK_EXT_ID NUMBER(19) NOT NULL,
    + HL_LOCK_INT_ID NUMBER(19) NOT NULL,
    + HL_TXNID NUMBER(19),
    + HL_DB VARCHAR2(128) NOT NULL,
    + HL_TABLE VARCHAR2(128),
    + HL_PARTITION VARCHAR2(767),
    + HL_LOCK_STATE CHAR(1) NOT NULL,
    + HL_LOCK_TYPE CHAR(1) NOT NULL,
    + HL_LAST_HEARTBEAT NUMBER(19) NOT NULL,
    + HL_ACQUIRED_AT NUMBER(19),
    + HL_USER varchar(128) NOT NULL,
    + HL_HOST varchar(128) NOT NULL,
    + HL_HEARTBEAT_COUNT number(10),
    + HL_AGENT_INFO varchar2(128),
    + HL_BLOCKEDBY_EXT_ID number(19),
    + HL_BLOCKEDBY_INT_ID number(19),
    + PRIMARY KEY(HL_LOCK_EXT_ID, HL_LOCK_INT_ID)
    +) ROWDEPENDENCIES;
    +
    +CREATE INDEX HL_TXNID_INDEX ON HIVE_LOCKS (HL_TXNID);
    +
    +CREATE TABLE NEXT_LOCK_ID (
    + NL_NEXT NUMBER(19) NOT NULL
    +);
    +INSERT INTO NEXT_LOCK_ID VALUES(1);
    +
    +CREATE TABLE COMPACTION_QUEUE (
    + CQ_ID NUMBER(19) PRIMARY KEY,
    + CQ_DATABASE varchar(128) NOT NULL,
    + CQ_TABLE varchar(128) NOT NULL,
    + CQ_PARTITION varchar(767),
    + CQ_STATE char(1) NOT NULL,
    + CQ_TYPE char(1) NOT NULL,
    + CQ_WORKER_ID varchar(128),
    + CQ_START NUMBER(19),
    + CQ_RUN_AS varchar(128),
    + CQ_HIGHEST_TXN_ID NUMBER(19),
    + CQ_META_INFO BLOB,
    + CQ_HADOOP_JOB_ID varchar2(32)
    +) ROWDEPENDENCIES;
    +
    +CREATE TABLE NEXT_COMPACTION_QUEUE_ID (
    + NCQ_NEXT NUMBER(19) NOT NULL
    +);
    +INSERT INTO NEXT_COMPACTION_QUEUE_ID VALUES(1);
    +
    +CREATE TABLE COMPLETED_COMPACTIONS (
    + CC_ID NUMBER(19) PRIMARY KEY,
    + CC_DATABASE varchar(128) NOT NULL,
    + CC_TABLE varchar(128) NOT NULL,
    + CC_PARTITION varchar(767),
    + CC_STATE char(1) NOT NULL,
    + CC_TYPE char(1) NOT NULL,
    + CC_WORKER_ID varchar(128),
    + CC_START NUMBER(19),
    + CC_END NUMBER(19),
    + CC_RUN_AS varchar(128),
    + CC_HIGHEST_TXN_ID NUMBER(19),
    + CC_META_INFO BLOB,
    + CC_HADOOP_JOB_ID varchar2(32)
    +) ROWDEPENDENCIES;
    +
    +CREATE TABLE AUX_TABLE (
    + MT_KEY1 varchar2(128) NOT NULL,
    + MT_KEY2 number(19) NOT NULL,
    + MT_COMMENT varchar2(255),
    + PRIMARY KEY(MT_KEY1, MT_KEY2)
    +);
    +

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/oracle/upgrade-1.2.0-to-1.3.0.oracle.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/oracle/upgrade-1.2.0-to-1.3.0.oracle.sql b/metastore/scripts/upgrade/oracle/upgrade-1.2.0-to-1.3.0.oracle.sql
    index f072a1c..55e272a 100644
    --- a/metastore/scripts/upgrade/oracle/upgrade-1.2.0-to-1.3.0.oracle.sql
    +++ b/metastore/scripts/upgrade/oracle/upgrade-1.2.0-to-1.3.0.oracle.sql
    @@ -1,4 +1,15 @@
      SELECT 'Upgrading MetaStore schema from 1.2.0 to 1.3.0' AS Status from dual;

    +@023-hive-12807.oracle.sql;
    +@024-hive-12814.oracle.sql;
    +@025-hive-12816.oracle.sql;
    +@026-hive-12818.oracle.sql;
    +@027-hive-12819.oracle.sql;
    +@028-hive-12821.oracle.sql;
    +@029-hive-12822.oracle.sql;
    +@030-hive-12823.oracle.sql;
    +@031-hive-12381.oracle.sql;
    +@032-hive-12832.oracle.sql;
    +
      UPDATE VERSION SET SCHEMA_VERSION='1.3.0', VERSION_COMMENT='Hive release version 1.3.0' where VER_ID=1;
      SELECT 'Finished upgrading MetaStore schema from 1.2.0 to 1.3.0' AS Status from dual;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/postgres/022-HIVE-12807.postgres.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/postgres/022-HIVE-12807.postgres.sql b/metastore/scripts/upgrade/postgres/022-HIVE-12807.postgres.sql
    new file mode 100644
    index 0000000..d4c7a18
    --- /dev/null
    +++ b/metastore/scripts/upgrade/postgres/022-HIVE-12807.postgres.sql
    @@ -0,0 +1 @@
    +ALTER TABLE COMPACTION_QUEUE ADD COLUMN CQ_HIGHEST_TXN_ID bigint;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/postgres/023-HIVE-12814.postgres.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/postgres/023-HIVE-12814.postgres.sql b/metastore/scripts/upgrade/postgres/023-HIVE-12814.postgres.sql
    new file mode 100644
    index 0000000..37ef99e
    --- /dev/null
    +++ b/metastore/scripts/upgrade/postgres/023-HIVE-12814.postgres.sql
    @@ -0,0 +1 @@
    +ALTER TABLE COMPACTION_QUEUE ADD COLUMN CQ_META_INFO bytea;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/postgres/024-HIVE-12816.postgres.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/postgres/024-HIVE-12816.postgres.sql b/metastore/scripts/upgrade/postgres/024-HIVE-12816.postgres.sql
    new file mode 100644
    index 0000000..fa987d9
    --- /dev/null
    +++ b/metastore/scripts/upgrade/postgres/024-HIVE-12816.postgres.sql
    @@ -0,0 +1 @@
    +ALTER TABLE COMPACTION_QUEUE ADD COLUMN CQ_HADOOP_JOB_ID varchar(32);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/postgres/025-HIVE-12818.postgres.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/postgres/025-HIVE-12818.postgres.sql b/metastore/scripts/upgrade/postgres/025-HIVE-12818.postgres.sql
    new file mode 100644
    index 0000000..5eb2f26
    --- /dev/null
    +++ b/metastore/scripts/upgrade/postgres/025-HIVE-12818.postgres.sql
    @@ -0,0 +1,17 @@
    +CREATE TABLE COMPLETED_COMPACTIONS (
    + CC_ID bigint PRIMARY KEY,
    + CC_DATABASE varchar(128) NOT NULL,
    + CC_TABLE varchar(128) NOT NULL,
    + CC_PARTITION varchar(767),
    + CC_STATE char(1) NOT NULL,
    + CC_TYPE char(1) NOT NULL,
    + CC_WORKER_ID varchar(128),
    + CC_START bigint,
    + CC_END bigint,
    + CC_RUN_AS varchar(128),
    + CC_HIGHEST_TXN_ID bigint,
    + CC_META_INFO bytea,
    + CC_HADOOP_JOB_ID varchar(32)
    +);
    +
    +

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/postgres/026-HIVE-12819.postgres.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/postgres/026-HIVE-12819.postgres.sql b/metastore/scripts/upgrade/postgres/026-HIVE-12819.postgres.sql
    new file mode 100644
    index 0000000..eceb910
    --- /dev/null
    +++ b/metastore/scripts/upgrade/postgres/026-HIVE-12819.postgres.sql
    @@ -0,0 +1 @@
    +ALTER TABLE TXNS ADD COLUMN TXN_AGENT_INFO varchar(128);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/postgres/027-HIVE-12821.postgres.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/postgres/027-HIVE-12821.postgres.sql b/metastore/scripts/upgrade/postgres/027-HIVE-12821.postgres.sql
    new file mode 100644
    index 0000000..ba5a51a
    --- /dev/null
    +++ b/metastore/scripts/upgrade/postgres/027-HIVE-12821.postgres.sql
    @@ -0,0 +1,2 @@
    +ALTER TABLE TXNS ADD COLUMN TXN_HEARTBEAT_COUNT integer;
    +ALTER TABLE HIVE_LOCKS ADD COLUMN HL_HEARTBEAT_COUNT integer;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/postgres/028-HIVE-12822.postgres.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/postgres/028-HIVE-12822.postgres.sql b/metastore/scripts/upgrade/postgres/028-HIVE-12822.postgres.sql
    new file mode 100644
    index 0000000..f4e9742
    --- /dev/null
    +++ b/metastore/scripts/upgrade/postgres/028-HIVE-12822.postgres.sql
    @@ -0,0 +1 @@
    +ALTER TABLE TXNS ADD COLUMN TXN_META_INFO varchar(128);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/postgres/029-HIVE-12823.postgres.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/postgres/029-HIVE-12823.postgres.sql b/metastore/scripts/upgrade/postgres/029-HIVE-12823.postgres.sql
    new file mode 100644
    index 0000000..f7a980b
    --- /dev/null
    +++ b/metastore/scripts/upgrade/postgres/029-HIVE-12823.postgres.sql
    @@ -0,0 +1 @@
    +ALTER TABLE HIVE_LOCKS ADD COLUMN HL_AGENT_INFO varchar(128);

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/postgres/030-HIVE-12831.postgres.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/postgres/030-HIVE-12831.postgres.sql b/metastore/scripts/upgrade/postgres/030-HIVE-12831.postgres.sql
    new file mode 100644
    index 0000000..3f314e8
    --- /dev/null
    +++ b/metastore/scripts/upgrade/postgres/030-HIVE-12831.postgres.sql
    @@ -0,0 +1,2 @@
    +ALTER TABLE HIVE_LOCKS ADD COLUMN HL_BLOCKEDBY_EXT_ID bigint;
    +ALTER TABLE HIVE_LOCKS ADD COLUMN HL_BLOCKEDBY_INT_ID bigint;

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/postgres/031-HIVE-12832.postgres.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/postgres/031-HIVE-12832.postgres.sql b/metastore/scripts/upgrade/postgres/031-HIVE-12832.postgres.sql
    new file mode 100644
    index 0000000..0e5515c
    --- /dev/null
    +++ b/metastore/scripts/upgrade/postgres/031-HIVE-12832.postgres.sql
    @@ -0,0 +1,7 @@
    +CREATE TABLE AUX_TABLE (
    + MT_KEY1 varchar(128) NOT NULL,
    + MT_KEY2 bigint NOT NULL,
    + MT_COMMENT varchar(255),
    + PRIMARY KEY(MT_KEY1, MT_KEY2)
    +);
    +

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/postgres/hive-schema-1.3.0.postgres.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/postgres/hive-schema-1.3.0.postgres.sql b/metastore/scripts/upgrade/postgres/hive-schema-1.3.0.postgres.sql
    index 3ab5b3e..06fac4a 100644
    --- a/metastore/scripts/upgrade/postgres/hive-schema-1.3.0.postgres.sql
    +++ b/metastore/scripts/upgrade/postgres/hive-schema-1.3.0.postgres.sql
    @@ -1449,7 +1449,7 @@ GRANT ALL ON SCHEMA public TO PUBLIC;
      ------------------------------
      -- Transaction and lock tables
      ------------------------------
    -\i hive-txn-schema-0.13.0.postgres.sql;
    +\i hive-txn-schema-1.3.0.postgres.sql;

      -- -----------------------------------------------------------------
      -- Record schema version. Should be the last step in the init script

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/postgres/hive-txn-schema-1.3.0.postgres.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/postgres/hive-txn-schema-1.3.0.postgres.sql b/metastore/scripts/upgrade/postgres/hive-txn-schema-1.3.0.postgres.sql
    new file mode 100644
    index 0000000..b2fc1a8
    --- /dev/null
    +++ b/metastore/scripts/upgrade/postgres/hive-txn-schema-1.3.0.postgres.sql
    @@ -0,0 +1,121 @@
    +-- Licensed to the Apache Software Foundation (ASF) under one or more
    +-- contributor license agreements. See the NOTICE file distributed with
    +-- this work for additional information regarding copyright ownership.
    +-- The ASF licenses this file to You under the Apache License, Version 2.0
    +-- (the "License"); you may not use this file except in compliance with
    +-- the License. You may obtain a copy of the License at
    +--
    +-- http://www.apache.org/licenses/LICENSE-2.0
    +--
    +-- Unless required by applicable law or agreed to in writing, software
    +-- distributed under the License is distributed on an "AS IS" BASIS,
    +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +-- See the License for the specific language governing permissions and
    +-- limitations under the License.
    +
    +--
    +-- Tables for transaction management
    +--
    +
    +CREATE TABLE TXNS (
    + TXN_ID bigint PRIMARY KEY,
    + TXN_STATE char(1) NOT NULL,
    + TXN_STARTED bigint NOT NULL,
    + TXN_LAST_HEARTBEAT bigint NOT NULL,
    + TXN_USER varchar(128) NOT NULL,
    + TXN_HOST varchar(128) NOT NULL,
    + TXN_AGENT_INFO varchar(128),
    + TXN_META_INFO varchar(128),
    + TXN_HEARTBEAT_COUNT integer
    +);
    +
    +CREATE TABLE TXN_COMPONENTS (
    + TC_TXNID bigint REFERENCES TXNS (TXN_ID),
    + TC_DATABASE varchar(128) NOT NULL,
    + TC_TABLE varchar(128),
    + TC_PARTITION varchar(767) DEFAULT NULL
    +);
    +
    +CREATE TABLE COMPLETED_TXN_COMPONENTS (
    + CTC_TXNID bigint,
    + CTC_DATABASE varchar(128) NOT NULL,
    + CTC_TABLE varchar(128),
    + CTC_PARTITION varchar(767)
    +);
    +
    +CREATE TABLE NEXT_TXN_ID (
    + NTXN_NEXT bigint NOT NULL
    +);
    +INSERT INTO NEXT_TXN_ID VALUES(1);
    +
    +CREATE TABLE HIVE_LOCKS (
    + HL_LOCK_EXT_ID bigint NOT NULL,
    + HL_LOCK_INT_ID bigint NOT NULL,
    + HL_TXNID bigint,
    + HL_DB varchar(128) NOT NULL,
    + HL_TABLE varchar(128),
    + HL_PARTITION varchar(767) DEFAULT NULL,
    + HL_LOCK_STATE char(1) NOT NULL,
    + HL_LOCK_TYPE char(1) NOT NULL,
    + HL_LAST_HEARTBEAT bigint NOT NULL,
    + HL_ACQUIRED_AT bigint,
    + HL_USER varchar(128) NOT NULL,
    + HL_HOST varchar(128) NOT NULL,
    + HL_HEARTBEAT_COUNT integer,
    + HL_AGENT_INFO varchar(128),
    + HL_BLOCKEDBY_EXT_ID bigint,
    + HL_BLOCKEDBY_INT_ID bigint,
    + PRIMARY KEY(HL_LOCK_EXT_ID, HL_LOCK_INT_ID)
    +);
    +
    +CREATE INDEX HL_TXNID_INDEX ON HIVE_LOCKS USING hash (HL_TXNID);
    +
    +CREATE TABLE NEXT_LOCK_ID (
    + NL_NEXT bigint NOT NULL
    +);
    +INSERT INTO NEXT_LOCK_ID VALUES(1);
    +
    +CREATE TABLE COMPACTION_QUEUE (
    + CQ_ID bigint PRIMARY KEY,
    + CQ_DATABASE varchar(128) NOT NULL,
    + CQ_TABLE varchar(128) NOT NULL,
    + CQ_PARTITION varchar(767),
    + CQ_STATE char(1) NOT NULL,
    + CQ_TYPE char(1) NOT NULL,
    + CQ_WORKER_ID varchar(128),
    + CQ_START bigint,
    + CQ_RUN_AS varchar(128),
    + CQ_HIGHEST_TXN_ID bigint,
    + CQ_META_INFO bytea,
    + CQ_HADOOP_JOB_ID varchar(32)
    +);
    +
    +CREATE TABLE NEXT_COMPACTION_QUEUE_ID (
    + NCQ_NEXT bigint NOT NULL
    +);
    +INSERT INTO NEXT_COMPACTION_QUEUE_ID VALUES(1);
    +
    +CREATE TABLE COMPLETED_COMPACTIONS (
    + CC_ID bigint PRIMARY KEY,
    + CC_DATABASE varchar(128) NOT NULL,
    + CC_TABLE varchar(128) NOT NULL,
    + CC_PARTITION varchar(767),
    + CC_STATE char(1) NOT NULL,
    + CC_TYPE char(1) NOT NULL,
    + CC_WORKER_ID varchar(128),
    + CC_START bigint,
    + CC_END bigint,
    + CC_RUN_AS varchar(128),
    + CC_HIGHEST_TXN_ID bigint,
    + CC_META_INFO bytea,
    + CC_HADOOP_JOB_ID varchar(32)
    +);
    +
    +CREATE TABLE AUX_TABLE (
    + MT_KEY1 varchar(128) NOT NULL,
    + MT_KEY2 bigint NOT NULL,
    + MT_COMMENT varchar(255),
    + PRIMARY KEY(MT_KEY1, MT_KEY2)
    +);
    +
    +

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/metastore/scripts/upgrade/postgres/upgrade-1.2.0-to-1.3.0.postgres.sql
    ----------------------------------------------------------------------
    diff --git a/metastore/scripts/upgrade/postgres/upgrade-1.2.0-to-1.3.0.postgres.sql b/metastore/scripts/upgrade/postgres/upgrade-1.2.0-to-1.3.0.postgres.sql
    index cdd3792..6b4123b 100644
    --- a/metastore/scripts/upgrade/postgres/upgrade-1.2.0-to-1.3.0.postgres.sql
    +++ b/metastore/scripts/upgrade/postgres/upgrade-1.2.0-to-1.3.0.postgres.sql
    @@ -1,5 +1,15 @@
      SELECT 'Upgrading MetaStore schema from 1.2.0 to 1.3.0';

    +\i 022-HIVE-12807.postgres.sql;
    +\i 023-HIVE-12814.postgres.sql;
    +\i 024-HIVE-12816.postgres.sql;
    +\i 025-HIVE-12818.postgres.sql;
    +\i 026-HIVE-12819.postgres.sql;
    +\i 027-HIVE-12821.postgres.sql;
    +\i 028-HIVE-12822.postgres.sql;
    +\i 029-HIVE-12823.postgres.sql;
    +\i 030-HIVE-12831.postgres.sql;
    +\i 031-HIVE-12832.postgres.sql;

      UPDATE "VERSION" SET "SCHEMA_VERSION"='1.3.0', "VERSION_COMMENT"='Hive release version 1.3.0' where "VER_ID"=1;
      SELECT 'Finished upgrading MetaStore schema from 1.2.0 to 1.3.0';
  • Gates at Jan 15, 2016 at 1:17 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-cpp/TCLIService.h
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/TCLIService.h b/service/src/gen/thrift/gen-cpp/TCLIService.h
    index 29a9f4a..2ea80c7 100644
    --- a/service/src/gen/thrift/gen-cpp/TCLIService.h
    +++ b/service/src/gen/thrift/gen-cpp/TCLIService.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -8,10 +8,16 @@
      #define TCLIService_H

      #include <thrift/TDispatchProcessor.h>
    +#include <thrift/async/TConcurrentClientSyncInfo.h>
      #include "TCLIService_types.h"

      namespace apache { namespace hive { namespace service { namespace cli { namespace thrift {

    +#ifdef _WIN32
    + #pragma warning( push )
    + #pragma warning (disable : 4250 ) //inheriting methods via dominance
    +#endif
    +
      class TCLIServiceIf {
       public:
        virtual ~TCLIServiceIf() {}
    @@ -130,9 +136,6 @@ typedef struct _TCLIService_OpenSession_args__isset {
      class TCLIService_OpenSession_args {
       public:

    - static const char* ascii_fingerprint; // = "657FF0677838A57698AD9D58A923940A";
    - static const uint8_t binary_fingerprint[16]; // = {0x65,0x7F,0xF0,0x67,0x78,0x38,0xA5,0x76,0x98,0xAD,0x9D,0x58,0xA9,0x23,0x94,0x0A};
    -
        TCLIService_OpenSession_args(const TCLIService_OpenSession_args&);
        TCLIService_OpenSession_args& operator=(const TCLIService_OpenSession_args&);
        TCLIService_OpenSession_args() {
    @@ -160,23 +163,18 @@ class TCLIService_OpenSession_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_args& obj);
      };


      class TCLIService_OpenSession_pargs {
       public:

    - static const char* ascii_fingerprint; // = "657FF0677838A57698AD9D58A923940A";
    - static const uint8_t binary_fingerprint[16]; // = {0x65,0x7F,0xF0,0x67,0x78,0x38,0xA5,0x76,0x98,0xAD,0x9D,0x58,0xA9,0x23,0x94,0x0A};
    -

        virtual ~TCLIService_OpenSession_pargs() throw();
        const TOpenSessionReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_pargs& obj);
      };

      typedef struct _TCLIService_OpenSession_result__isset {
    @@ -187,9 +185,6 @@ typedef struct _TCLIService_OpenSession_result__isset {
      class TCLIService_OpenSession_result {
       public:

    - static const char* ascii_fingerprint; // = "C55268D57D6DC6A256619A7DB419699E";
    - static const uint8_t binary_fingerprint[16]; // = {0xC5,0x52,0x68,0xD5,0x7D,0x6D,0xC6,0xA2,0x56,0x61,0x9A,0x7D,0xB4,0x19,0x69,0x9E};
    -
        TCLIService_OpenSession_result(const TCLIService_OpenSession_result&);
        TCLIService_OpenSession_result& operator=(const TCLIService_OpenSession_result&);
        TCLIService_OpenSession_result() {
    @@ -217,7 +212,6 @@ class TCLIService_OpenSession_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_result& obj);
      };

      typedef struct _TCLIService_OpenSession_presult__isset {
    @@ -228,9 +222,6 @@ typedef struct _TCLIService_OpenSession_presult__isset {
      class TCLIService_OpenSession_presult {
       public:

    - static const char* ascii_fingerprint; // = "C55268D57D6DC6A256619A7DB419699E";
    - static const uint8_t binary_fingerprint[16]; // = {0xC5,0x52,0x68,0xD5,0x7D,0x6D,0xC6,0xA2,0x56,0x61,0x9A,0x7D,0xB4,0x19,0x69,0x9E};
    -

        virtual ~TCLIService_OpenSession_presult() throw();
        TOpenSessionResp* success;
    @@ -239,7 +230,6 @@ class TCLIService_OpenSession_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_presult& obj);
      };

      typedef struct _TCLIService_CloseSession_args__isset {
    @@ -250,9 +240,6 @@ typedef struct _TCLIService_CloseSession_args__isset {
      class TCLIService_CloseSession_args {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -
        TCLIService_CloseSession_args(const TCLIService_CloseSession_args&);
        TCLIService_CloseSession_args& operator=(const TCLIService_CloseSession_args&);
        TCLIService_CloseSession_args() {
    @@ -280,23 +267,18 @@ class TCLIService_CloseSession_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_args& obj);
      };


      class TCLIService_CloseSession_pargs {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -

        virtual ~TCLIService_CloseSession_pargs() throw();
        const TCloseSessionReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_pargs& obj);
      };

      typedef struct _TCLIService_CloseSession_result__isset {
    @@ -307,9 +289,6 @@ typedef struct _TCLIService_CloseSession_result__isset {
      class TCLIService_CloseSession_result {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -
        TCLIService_CloseSession_result(const TCLIService_CloseSession_result&);
        TCLIService_CloseSession_result& operator=(const TCLIService_CloseSession_result&);
        TCLIService_CloseSession_result() {
    @@ -337,7 +316,6 @@ class TCLIService_CloseSession_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_result& obj);
      };

      typedef struct _TCLIService_CloseSession_presult__isset {
    @@ -348,9 +326,6 @@ typedef struct _TCLIService_CloseSession_presult__isset {
      class TCLIService_CloseSession_presult {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -

        virtual ~TCLIService_CloseSession_presult() throw();
        TCloseSessionResp* success;
    @@ -359,7 +334,6 @@ class TCLIService_CloseSession_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_presult& obj);
      };

      typedef struct _TCLIService_GetInfo_args__isset {
    @@ -370,9 +344,6 @@ typedef struct _TCLIService_GetInfo_args__isset {
      class TCLIService_GetInfo_args {
       public:

    - static const char* ascii_fingerprint; // = "482A174DD6064955A19F28C5395E27FA";
    - static const uint8_t binary_fingerprint[16]; // = {0x48,0x2A,0x17,0x4D,0xD6,0x06,0x49,0x55,0xA1,0x9F,0x28,0xC5,0x39,0x5E,0x27,0xFA};
    -
        TCLIService_GetInfo_args(const TCLIService_GetInfo_args&);
        TCLIService_GetInfo_args& operator=(const TCLIService_GetInfo_args&);
        TCLIService_GetInfo_args() {
    @@ -400,23 +371,18 @@ class TCLIService_GetInfo_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_args& obj);
      };


      class TCLIService_GetInfo_pargs {
       public:

    - static const char* ascii_fingerprint; // = "482A174DD6064955A19F28C5395E27FA";
    - static const uint8_t binary_fingerprint[16]; // = {0x48,0x2A,0x17,0x4D,0xD6,0x06,0x49,0x55,0xA1,0x9F,0x28,0xC5,0x39,0x5E,0x27,0xFA};
    -

        virtual ~TCLIService_GetInfo_pargs() throw();
        const TGetInfoReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_pargs& obj);
      };

      typedef struct _TCLIService_GetInfo_result__isset {
    @@ -427,9 +393,6 @@ typedef struct _TCLIService_GetInfo_result__isset {
      class TCLIService_GetInfo_result {
       public:

    - static const char* ascii_fingerprint; // = "95AE9E06990A55202EF5D96DABE20D75";
    - static const uint8_t binary_fingerprint[16]; // = {0x95,0xAE,0x9E,0x06,0x99,0x0A,0x55,0x20,0x2E,0xF5,0xD9,0x6D,0xAB,0xE2,0x0D,0x75};
    -
        TCLIService_GetInfo_result(const TCLIService_GetInfo_result&);
        TCLIService_GetInfo_result& operator=(const TCLIService_GetInfo_result&);
        TCLIService_GetInfo_result() {
    @@ -457,7 +420,6 @@ class TCLIService_GetInfo_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_result& obj);
      };

      typedef struct _TCLIService_GetInfo_presult__isset {
    @@ -468,9 +430,6 @@ typedef struct _TCLIService_GetInfo_presult__isset {
      class TCLIService_GetInfo_presult {
       public:

    - static const char* ascii_fingerprint; // = "95AE9E06990A55202EF5D96DABE20D75";
    - static const uint8_t binary_fingerprint[16]; // = {0x95,0xAE,0x9E,0x06,0x99,0x0A,0x55,0x20,0x2E,0xF5,0xD9,0x6D,0xAB,0xE2,0x0D,0x75};
    -

        virtual ~TCLIService_GetInfo_presult() throw();
        TGetInfoResp* success;
    @@ -479,7 +438,6 @@ class TCLIService_GetInfo_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_presult& obj);
      };

      typedef struct _TCLIService_ExecuteStatement_args__isset {
    @@ -490,9 +448,6 @@ typedef struct _TCLIService_ExecuteStatement_args__isset {
      class TCLIService_ExecuteStatement_args {
       public:

    - static const char* ascii_fingerprint; // = "BD5534ACDA7A523F638927AC476C2173";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0x55,0x34,0xAC,0xDA,0x7A,0x52,0x3F,0x63,0x89,0x27,0xAC,0x47,0x6C,0x21,0x73};
    -
        TCLIService_ExecuteStatement_args(const TCLIService_ExecuteStatement_args&);
        TCLIService_ExecuteStatement_args& operator=(const TCLIService_ExecuteStatement_args&);
        TCLIService_ExecuteStatement_args() {
    @@ -520,23 +475,18 @@ class TCLIService_ExecuteStatement_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_args& obj);
      };


      class TCLIService_ExecuteStatement_pargs {
       public:

    - static const char* ascii_fingerprint; // = "BD5534ACDA7A523F638927AC476C2173";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0x55,0x34,0xAC,0xDA,0x7A,0x52,0x3F,0x63,0x89,0x27,0xAC,0x47,0x6C,0x21,0x73};
    -

        virtual ~TCLIService_ExecuteStatement_pargs() throw();
        const TExecuteStatementReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_pargs& obj);
      };

      typedef struct _TCLIService_ExecuteStatement_result__isset {
    @@ -547,9 +497,6 @@ typedef struct _TCLIService_ExecuteStatement_result__isset {
      class TCLIService_ExecuteStatement_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_ExecuteStatement_result(const TCLIService_ExecuteStatement_result&);
        TCLIService_ExecuteStatement_result& operator=(const TCLIService_ExecuteStatement_result&);
        TCLIService_ExecuteStatement_result() {
    @@ -577,7 +524,6 @@ class TCLIService_ExecuteStatement_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_result& obj);
      };

      typedef struct _TCLIService_ExecuteStatement_presult__isset {
    @@ -588,9 +534,6 @@ typedef struct _TCLIService_ExecuteStatement_presult__isset {
      class TCLIService_ExecuteStatement_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_ExecuteStatement_presult() throw();
        TExecuteStatementResp* success;
    @@ -599,7 +542,6 @@ class TCLIService_ExecuteStatement_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_presult& obj);
      };

      typedef struct _TCLIService_GetTypeInfo_args__isset {
    @@ -610,9 +552,6 @@ typedef struct _TCLIService_GetTypeInfo_args__isset {
      class TCLIService_GetTypeInfo_args {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -
        TCLIService_GetTypeInfo_args(const TCLIService_GetTypeInfo_args&);
        TCLIService_GetTypeInfo_args& operator=(const TCLIService_GetTypeInfo_args&);
        TCLIService_GetTypeInfo_args() {
    @@ -640,23 +579,18 @@ class TCLIService_GetTypeInfo_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_args& obj);
      };


      class TCLIService_GetTypeInfo_pargs {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -

        virtual ~TCLIService_GetTypeInfo_pargs() throw();
        const TGetTypeInfoReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_pargs& obj);
      };

      typedef struct _TCLIService_GetTypeInfo_result__isset {
    @@ -667,9 +601,6 @@ typedef struct _TCLIService_GetTypeInfo_result__isset {
      class TCLIService_GetTypeInfo_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_GetTypeInfo_result(const TCLIService_GetTypeInfo_result&);
        TCLIService_GetTypeInfo_result& operator=(const TCLIService_GetTypeInfo_result&);
        TCLIService_GetTypeInfo_result() {
    @@ -697,7 +628,6 @@ class TCLIService_GetTypeInfo_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_result& obj);
      };

      typedef struct _TCLIService_GetTypeInfo_presult__isset {
    @@ -708,9 +638,6 @@ typedef struct _TCLIService_GetTypeInfo_presult__isset {
      class TCLIService_GetTypeInfo_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_GetTypeInfo_presult() throw();
        TGetTypeInfoResp* success;
    @@ -719,7 +646,6 @@ class TCLIService_GetTypeInfo_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_presult& obj);
      };

      typedef struct _TCLIService_GetCatalogs_args__isset {
    @@ -730,9 +656,6 @@ typedef struct _TCLIService_GetCatalogs_args__isset {
      class TCLIService_GetCatalogs_args {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -
        TCLIService_GetCatalogs_args(const TCLIService_GetCatalogs_args&);
        TCLIService_GetCatalogs_args& operator=(const TCLIService_GetCatalogs_args&);
        TCLIService_GetCatalogs_args() {
    @@ -760,23 +683,18 @@ class TCLIService_GetCatalogs_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_args& obj);
      };


      class TCLIService_GetCatalogs_pargs {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -

        virtual ~TCLIService_GetCatalogs_pargs() throw();
        const TGetCatalogsReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_pargs& obj);
      };

      typedef struct _TCLIService_GetCatalogs_result__isset {
    @@ -787,9 +705,6 @@ typedef struct _TCLIService_GetCatalogs_result__isset {
      class TCLIService_GetCatalogs_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_GetCatalogs_result(const TCLIService_GetCatalogs_result&);
        TCLIService_GetCatalogs_result& operator=(const TCLIService_GetCatalogs_result&);
        TCLIService_GetCatalogs_result() {
    @@ -817,7 +732,6 @@ class TCLIService_GetCatalogs_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_result& obj);
      };

      typedef struct _TCLIService_GetCatalogs_presult__isset {
    @@ -828,9 +742,6 @@ typedef struct _TCLIService_GetCatalogs_presult__isset {
      class TCLIService_GetCatalogs_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_GetCatalogs_presult() throw();
        TGetCatalogsResp* success;
    @@ -839,7 +750,6 @@ class TCLIService_GetCatalogs_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_presult& obj);
      };

      typedef struct _TCLIService_GetSchemas_args__isset {
    @@ -850,9 +760,6 @@ typedef struct _TCLIService_GetSchemas_args__isset {
      class TCLIService_GetSchemas_args {
       public:

    - static const char* ascii_fingerprint; // = "34B9FACB4B4C34ABAEDCF0A2B60345DE";
    - static const uint8_t binary_fingerprint[16]; // = {0x34,0xB9,0xFA,0xCB,0x4B,0x4C,0x34,0xAB,0xAE,0xDC,0xF0,0xA2,0xB6,0x03,0x45,0xDE};
    -
        TCLIService_GetSchemas_args(const TCLIService_GetSchemas_args&);
        TCLIService_GetSchemas_args& operator=(const TCLIService_GetSchemas_args&);
        TCLIService_GetSchemas_args() {
    @@ -880,23 +787,18 @@ class TCLIService_GetSchemas_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_args& obj);
      };


      class TCLIService_GetSchemas_pargs {
       public:

    - static const char* ascii_fingerprint; // = "34B9FACB4B4C34ABAEDCF0A2B60345DE";
    - static const uint8_t binary_fingerprint[16]; // = {0x34,0xB9,0xFA,0xCB,0x4B,0x4C,0x34,0xAB,0xAE,0xDC,0xF0,0xA2,0xB6,0x03,0x45,0xDE};
    -

        virtual ~TCLIService_GetSchemas_pargs() throw();
        const TGetSchemasReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_pargs& obj);
      };

      typedef struct _TCLIService_GetSchemas_result__isset {
    @@ -907,9 +809,6 @@ typedef struct _TCLIService_GetSchemas_result__isset {
      class TCLIService_GetSchemas_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_GetSchemas_result(const TCLIService_GetSchemas_result&);
        TCLIService_GetSchemas_result& operator=(const TCLIService_GetSchemas_result&);
        TCLIService_GetSchemas_result() {
    @@ -937,7 +836,6 @@ class TCLIService_GetSchemas_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_result& obj);
      };

      typedef struct _TCLIService_GetSchemas_presult__isset {
    @@ -948,9 +846,6 @@ typedef struct _TCLIService_GetSchemas_presult__isset {
      class TCLIService_GetSchemas_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_GetSchemas_presult() throw();
        TGetSchemasResp* success;
    @@ -959,7 +854,6 @@ class TCLIService_GetSchemas_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_presult& obj);
      };

      typedef struct _TCLIService_GetTables_args__isset {
    @@ -970,9 +864,6 @@ typedef struct _TCLIService_GetTables_args__isset {
      class TCLIService_GetTables_args {
       public:

    - static const char* ascii_fingerprint; // = "58075D8350502C9B1F3532079C1CF7A6";
    - static const uint8_t binary_fingerprint[16]; // = {0x58,0x07,0x5D,0x83,0x50,0x50,0x2C,0x9B,0x1F,0x35,0x32,0x07,0x9C,0x1C,0xF7,0xA6};
    -
        TCLIService_GetTables_args(const TCLIService_GetTables_args&);
        TCLIService_GetTables_args& operator=(const TCLIService_GetTables_args&);
        TCLIService_GetTables_args() {
    @@ -1000,23 +891,18 @@ class TCLIService_GetTables_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_args& obj);
      };


      class TCLIService_GetTables_pargs {
       public:

    - static const char* ascii_fingerprint; // = "58075D8350502C9B1F3532079C1CF7A6";
    - static const uint8_t binary_fingerprint[16]; // = {0x58,0x07,0x5D,0x83,0x50,0x50,0x2C,0x9B,0x1F,0x35,0x32,0x07,0x9C,0x1C,0xF7,0xA6};
    -

        virtual ~TCLIService_GetTables_pargs() throw();
        const TGetTablesReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_pargs& obj);
      };

      typedef struct _TCLIService_GetTables_result__isset {
    @@ -1027,9 +913,6 @@ typedef struct _TCLIService_GetTables_result__isset {
      class TCLIService_GetTables_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_GetTables_result(const TCLIService_GetTables_result&);
        TCLIService_GetTables_result& operator=(const TCLIService_GetTables_result&);
        TCLIService_GetTables_result() {
    @@ -1057,7 +940,6 @@ class TCLIService_GetTables_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_result& obj);
      };

      typedef struct _TCLIService_GetTables_presult__isset {
    @@ -1068,9 +950,6 @@ typedef struct _TCLIService_GetTables_presult__isset {
      class TCLIService_GetTables_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_GetTables_presult() throw();
        TGetTablesResp* success;
    @@ -1079,7 +958,6 @@ class TCLIService_GetTables_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_presult& obj);
      };

      typedef struct _TCLIService_GetTableTypes_args__isset {
    @@ -1090,9 +968,6 @@ typedef struct _TCLIService_GetTableTypes_args__isset {
      class TCLIService_GetTableTypes_args {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -
        TCLIService_GetTableTypes_args(const TCLIService_GetTableTypes_args&);
        TCLIService_GetTableTypes_args& operator=(const TCLIService_GetTableTypes_args&);
        TCLIService_GetTableTypes_args() {
    @@ -1120,23 +995,18 @@ class TCLIService_GetTableTypes_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_args& obj);
      };


      class TCLIService_GetTableTypes_pargs {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -

        virtual ~TCLIService_GetTableTypes_pargs() throw();
        const TGetTableTypesReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_pargs& obj);
      };

      typedef struct _TCLIService_GetTableTypes_result__isset {
    @@ -1147,9 +1017,6 @@ typedef struct _TCLIService_GetTableTypes_result__isset {
      class TCLIService_GetTableTypes_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_GetTableTypes_result(const TCLIService_GetTableTypes_result&);
        TCLIService_GetTableTypes_result& operator=(const TCLIService_GetTableTypes_result&);
        TCLIService_GetTableTypes_result() {
    @@ -1177,7 +1044,6 @@ class TCLIService_GetTableTypes_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_result& obj);
      };

      typedef struct _TCLIService_GetTableTypes_presult__isset {
    @@ -1188,9 +1054,6 @@ typedef struct _TCLIService_GetTableTypes_presult__isset {
      class TCLIService_GetTableTypes_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_GetTableTypes_presult() throw();
        TGetTableTypesResp* success;
    @@ -1199,7 +1062,6 @@ class TCLIService_GetTableTypes_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_presult& obj);
      };

      typedef struct _TCLIService_GetColumns_args__isset {
    @@ -1210,9 +1072,6 @@ typedef struct _TCLIService_GetColumns_args__isset {
      class TCLIService_GetColumns_args {
       public:

    - static const char* ascii_fingerprint; // = "7894A0356591B039C72040E21BAAC3E3";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x94,0xA0,0x35,0x65,0x91,0xB0,0x39,0xC7,0x20,0x40,0xE2,0x1B,0xAA,0xC3,0xE3};
    -
        TCLIService_GetColumns_args(const TCLIService_GetColumns_args&);
        TCLIService_GetColumns_args& operator=(const TCLIService_GetColumns_args&);
        TCLIService_GetColumns_args() {
    @@ -1240,23 +1099,18 @@ class TCLIService_GetColumns_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_args& obj);
      };


      class TCLIService_GetColumns_pargs {
       public:

    - static const char* ascii_fingerprint; // = "7894A0356591B039C72040E21BAAC3E3";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x94,0xA0,0x35,0x65,0x91,0xB0,0x39,0xC7,0x20,0x40,0xE2,0x1B,0xAA,0xC3,0xE3};
    -

        virtual ~TCLIService_GetColumns_pargs() throw();
        const TGetColumnsReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_pargs& obj);
      };

      typedef struct _TCLIService_GetColumns_result__isset {
    @@ -1267,9 +1121,6 @@ typedef struct _TCLIService_GetColumns_result__isset {
      class TCLIService_GetColumns_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_GetColumns_result(const TCLIService_GetColumns_result&);
        TCLIService_GetColumns_result& operator=(const TCLIService_GetColumns_result&);
        TCLIService_GetColumns_result() {
    @@ -1297,7 +1148,6 @@ class TCLIService_GetColumns_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_result& obj);
      };

      typedef struct _TCLIService_GetColumns_presult__isset {
    @@ -1308,9 +1158,6 @@ typedef struct _TCLIService_GetColumns_presult__isset {
      class TCLIService_GetColumns_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_GetColumns_presult() throw();
        TGetColumnsResp* success;
    @@ -1319,7 +1166,6 @@ class TCLIService_GetColumns_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_presult& obj);
      };

      typedef struct _TCLIService_GetFunctions_args__isset {
    @@ -1330,9 +1176,6 @@ typedef struct _TCLIService_GetFunctions_args__isset {
      class TCLIService_GetFunctions_args {
       public:

    - static const char* ascii_fingerprint; // = "AC28BA383D0EC96F55B7C42FA3E1AF52";
    - static const uint8_t binary_fingerprint[16]; // = {0xAC,0x28,0xBA,0x38,0x3D,0x0E,0xC9,0x6F,0x55,0xB7,0xC4,0x2F,0xA3,0xE1,0xAF,0x52};
    -
        TCLIService_GetFunctions_args(const TCLIService_GetFunctions_args&);
        TCLIService_GetFunctions_args& operator=(const TCLIService_GetFunctions_args&);
        TCLIService_GetFunctions_args() {
    @@ -1360,23 +1203,18 @@ class TCLIService_GetFunctions_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_args& obj);
      };


      class TCLIService_GetFunctions_pargs {
       public:

    - static const char* ascii_fingerprint; // = "AC28BA383D0EC96F55B7C42FA3E1AF52";
    - static const uint8_t binary_fingerprint[16]; // = {0xAC,0x28,0xBA,0x38,0x3D,0x0E,0xC9,0x6F,0x55,0xB7,0xC4,0x2F,0xA3,0xE1,0xAF,0x52};
    -

        virtual ~TCLIService_GetFunctions_pargs() throw();
        const TGetFunctionsReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_pargs& obj);
      };

      typedef struct _TCLIService_GetFunctions_result__isset {
    @@ -1387,9 +1225,6 @@ typedef struct _TCLIService_GetFunctions_result__isset {
      class TCLIService_GetFunctions_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_GetFunctions_result(const TCLIService_GetFunctions_result&);
        TCLIService_GetFunctions_result& operator=(const TCLIService_GetFunctions_result&);
        TCLIService_GetFunctions_result() {
    @@ -1417,7 +1252,6 @@ class TCLIService_GetFunctions_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_result& obj);
      };

      typedef struct _TCLIService_GetFunctions_presult__isset {
    @@ -1428,9 +1262,6 @@ typedef struct _TCLIService_GetFunctions_presult__isset {
      class TCLIService_GetFunctions_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_GetFunctions_presult() throw();
        TGetFunctionsResp* success;
    @@ -1439,7 +1270,6 @@ class TCLIService_GetFunctions_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_presult& obj);
      };

      typedef struct _TCLIService_GetOperationStatus_args__isset {
    @@ -1450,9 +1280,6 @@ typedef struct _TCLIService_GetOperationStatus_args__isset {
      class TCLIService_GetOperationStatus_args {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -
        TCLIService_GetOperationStatus_args(const TCLIService_GetOperationStatus_args&);
        TCLIService_GetOperationStatus_args& operator=(const TCLIService_GetOperationStatus_args&);
        TCLIService_GetOperationStatus_args() {
    @@ -1480,23 +1307,18 @@ class TCLIService_GetOperationStatus_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_args& obj);
      };


      class TCLIService_GetOperationStatus_pargs {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -

        virtual ~TCLIService_GetOperationStatus_pargs() throw();
        const TGetOperationStatusReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_pargs& obj);
      };

      typedef struct _TCLIService_GetOperationStatus_result__isset {
    @@ -1507,9 +1329,6 @@ typedef struct _TCLIService_GetOperationStatus_result__isset {
      class TCLIService_GetOperationStatus_result {
       public:

    - static const char* ascii_fingerprint; // = "C399947D185D259358E6B922C40ACF85";
    - static const uint8_t binary_fingerprint[16]; // = {0xC3,0x99,0x94,0x7D,0x18,0x5D,0x25,0x93,0x58,0xE6,0xB9,0x22,0xC4,0x0A,0xCF,0x85};
    -
        TCLIService_GetOperationStatus_result(const TCLIService_GetOperationStatus_result&);
        TCLIService_GetOperationStatus_result& operator=(const TCLIService_GetOperationStatus_result&);
        TCLIService_GetOperationStatus_result() {
    @@ -1537,7 +1356,6 @@ class TCLIService_GetOperationStatus_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_result& obj);
      };

      typedef struct _TCLIService_GetOperationStatus_presult__isset {
    @@ -1548,9 +1366,6 @@ typedef struct _TCLIService_GetOperationStatus_presult__isset {
      class TCLIService_GetOperationStatus_presult {
       public:

    - static const char* ascii_fingerprint; // = "C399947D185D259358E6B922C40ACF85";
    - static const uint8_t binary_fingerprint[16]; // = {0xC3,0x99,0x94,0x7D,0x18,0x5D,0x25,0x93,0x58,0xE6,0xB9,0x22,0xC4,0x0A,0xCF,0x85};
    -

        virtual ~TCLIService_GetOperationStatus_presult() throw();
        TGetOperationStatusResp* success;
    @@ -1559,7 +1374,6 @@ class TCLIService_GetOperationStatus_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_presult& obj);
      };

      typedef struct _TCLIService_CancelOperation_args__isset {
    @@ -1570,9 +1384,6 @@ typedef struct _TCLIService_CancelOperation_args__isset {
      class TCLIService_CancelOperation_args {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -
        TCLIService_CancelOperation_args(const TCLIService_CancelOperation_args&);
        TCLIService_CancelOperation_args& operator=(const TCLIService_CancelOperation_args&);
        TCLIService_CancelOperation_args() {
    @@ -1600,23 +1411,18 @@ class TCLIService_CancelOperation_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_args& obj);
      };


      class TCLIService_CancelOperation_pargs {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -

        virtual ~TCLIService_CancelOperation_pargs() throw();
        const TCancelOperationReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_pargs& obj);
      };

      typedef struct _TCLIService_CancelOperation_result__isset {
    @@ -1627,9 +1433,6 @@ typedef struct _TCLIService_CancelOperation_result__isset {
      class TCLIService_CancelOperation_result {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -
        TCLIService_CancelOperation_result(const TCLIService_CancelOperation_result&);
        TCLIService_CancelOperation_result& operator=(const TCLIService_CancelOperation_result&);
        TCLIService_CancelOperation_result() {
    @@ -1657,7 +1460,6 @@ class TCLIService_CancelOperation_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_result& obj);
      };

      typedef struct _TCLIService_CancelOperation_presult__isset {
    @@ -1668,9 +1470,6 @@ typedef struct _TCLIService_CancelOperation_presult__isset {
      class TCLIService_CancelOperation_presult {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -

        virtual ~TCLIService_CancelOperation_presult() throw();
        TCancelOperationResp* success;
    @@ -1679,7 +1478,6 @@ class TCLIService_CancelOperation_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_presult& obj);
      };

      typedef struct _TCLIService_CloseOperation_args__isset {
    @@ -1690,9 +1488,6 @@ typedef struct _TCLIService_CloseOperation_args__isset {
      class TCLIService_CloseOperation_args {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -
        TCLIService_CloseOperation_args(const TCLIService_CloseOperation_args&);
        TCLIService_CloseOperation_args& operator=(const TCLIService_CloseOperation_args&);
        TCLIService_CloseOperation_args() {
    @@ -1720,23 +1515,18 @@ class TCLIService_CloseOperation_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_args& obj);
      };


      class TCLIService_CloseOperation_pargs {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -

        virtual ~TCLIService_CloseOperation_pargs() throw();
        const TCloseOperationReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_pargs& obj);
      };

      typedef struct _TCLIService_CloseOperation_result__isset {
    @@ -1747,9 +1537,6 @@ typedef struct _TCLIService_CloseOperation_result__isset {
      class TCLIService_CloseOperation_result {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -
        TCLIService_CloseOperation_result(const TCLIService_CloseOperation_result&);
        TCLIService_CloseOperation_result& operator=(const TCLIService_CloseOperation_result&);
        TCLIService_CloseOperation_result() {
    @@ -1777,7 +1564,6 @@ class TCLIService_CloseOperation_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_result& obj);
      };

      typedef struct _TCLIService_CloseOperation_presult__isset {
    @@ -1788,9 +1574,6 @@ typedef struct _TCLIService_CloseOperation_presult__isset {
      class TCLIService_CloseOperation_presult {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -

        virtual ~TCLIService_CloseOperation_presult() throw();
        TCloseOperationResp* success;
    @@ -1799,7 +1582,6 @@ class TCLIService_CloseOperation_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_presult& obj);
      };

      typedef struct _TCLIService_GetResultSetMetadata_args__isset {
    @@ -1810,9 +1592,6 @@ typedef struct _TCLIService_GetResultSetMetadata_args__isset {
      class TCLIService_GetResultSetMetadata_args {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -
        TCLIService_GetResultSetMetadata_args(const TCLIService_GetResultSetMetadata_args&);
        TCLIService_GetResultSetMetadata_args& operator=(const TCLIService_GetResultSetMetadata_args&);
        TCLIService_GetResultSetMetadata_args() {
    @@ -1840,23 +1619,18 @@ class TCLIService_GetResultSetMetadata_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_args& obj);
      };


      class TCLIService_GetResultSetMetadata_pargs {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -

        virtual ~TCLIService_GetResultSetMetadata_pargs() throw();
        const TGetResultSetMetadataReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_pargs& obj);
      };

      typedef struct _TCLIService_GetResultSetMetadata_result__isset {
    @@ -1867,9 +1641,6 @@ typedef struct _TCLIService_GetResultSetMetadata_result__isset {
      class TCLIService_GetResultSetMetadata_result {
       public:

    - static const char* ascii_fingerprint; // = "748CA3BE2055D5C1AD7EAAEF01F7C463";
    - static const uint8_t binary_fingerprint[16]; // = {0x74,0x8C,0xA3,0xBE,0x20,0x55,0xD5,0xC1,0xAD,0x7E,0xAA,0xEF,0x01,0xF7,0xC4,0x63};
    -
        TCLIService_GetResultSetMetadata_result(const TCLIService_GetResultSetMetadata_result&);
        TCLIService_GetResultSetMetadata_result& operator=(const TCLIService_GetResultSetMetadata_result&);
        TCLIService_GetResultSetMetadata_result() {
    @@ -1897,7 +1668,6 @@ class TCLIService_GetResultSetMetadata_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_result& obj);
      };

      typedef struct _TCLIService_GetResultSetMetadata_presult__isset {
    @@ -1908,9 +1678,6 @@ typedef struct _TCLIService_GetResultSetMetadata_presult__isset {
      class TCLIService_GetResultSetMetadata_presult {
       public:

    - static const char* ascii_fingerprint; // = "748CA3BE2055D5C1AD7EAAEF01F7C463";
    - static const uint8_t binary_fingerprint[16]; // = {0x74,0x8C,0xA3,0xBE,0x20,0x55,0xD5,0xC1,0xAD,0x7E,0xAA,0xEF,0x01,0xF7,0xC4,0x63};
    -

        virtual ~TCLIService_GetResultSetMetadata_presult() throw();
        TGetResultSetMetadataResp* success;
    @@ -1919,7 +1686,6 @@ class TCLIService_GetResultSetMetadata_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_presult& obj);
      };

      typedef struct _TCLIService_FetchResults_args__isset {
    @@ -1930,9 +1696,6 @@ typedef struct _TCLIService_FetchResults_args__isset {
      class TCLIService_FetchResults_args {
       public:

    - static const char* ascii_fingerprint; // = "9861C5443566158A1DAEAC80886635C8";
    - static const uint8_t binary_fingerprint[16]; // = {0x98,0x61,0xC5,0x44,0x35,0x66,0x15,0x8A,0x1D,0xAE,0xAC,0x80,0x88,0x66,0x35,0xC8};
    -
        TCLIService_FetchResults_args(const TCLIService_FetchResults_args&);
        TCLIService_FetchResults_args& operator=(const TCLIService_FetchResults_args&);
        TCLIService_FetchResults_args() {
    @@ -1960,23 +1723,18 @@ class TCLIService_FetchResults_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_args& obj);
      };


      class TCLIService_FetchResults_pargs {
       public:

    - static const char* ascii_fingerprint; // = "9861C5443566158A1DAEAC80886635C8";
    - static const uint8_t binary_fingerprint[16]; // = {0x98,0x61,0xC5,0x44,0x35,0x66,0x15,0x8A,0x1D,0xAE,0xAC,0x80,0x88,0x66,0x35,0xC8};
    -

        virtual ~TCLIService_FetchResults_pargs() throw();
        const TFetchResultsReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_pargs& obj);
      };

      typedef struct _TCLIService_FetchResults_result__isset {
    @@ -1987,9 +1745,6 @@ typedef struct _TCLIService_FetchResults_result__isset {
      class TCLIService_FetchResults_result {
       public:

    - static const char* ascii_fingerprint; // = "CDEF797B9FFCA6B2CD18163A3D78F196";
    - static const uint8_t binary_fingerprint[16]; // = {0xCD,0xEF,0x79,0x7B,0x9F,0xFC,0xA6,0xB2,0xCD,0x18,0x16,0x3A,0x3D,0x78,0xF1,0x96};
    -
        TCLIService_FetchResults_result(const TCLIService_FetchResults_result&);
        TCLIService_FetchResults_result& operator=(const TCLIService_FetchResults_result&);
        TCLIService_FetchResults_result() {
    @@ -2017,7 +1772,6 @@ class TCLIService_FetchResults_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_result& obj);
      };

      typedef struct _TCLIService_FetchResults_presult__isset {
    @@ -2028,9 +1782,6 @@ typedef struct _TCLIService_FetchResults_presult__isset {
      class TCLIService_FetchResults_presult {
       public:

    - static const char* ascii_fingerprint; // = "CDEF797B9FFCA6B2CD18163A3D78F196";
    - static const uint8_t binary_fingerprint[16]; // = {0xCD,0xEF,0x79,0x7B,0x9F,0xFC,0xA6,0xB2,0xCD,0x18,0x16,0x3A,0x3D,0x78,0xF1,0x96};
    -

        virtual ~TCLIService_FetchResults_presult() throw();
        TFetchResultsResp* success;
    @@ -2039,7 +1790,6 @@ class TCLIService_FetchResults_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_presult& obj);
      };

      typedef struct _TCLIService_GetDelegationToken_args__isset {
    @@ -2050,9 +1800,6 @@ typedef struct _TCLIService_GetDelegationToken_args__isset {
      class TCLIService_GetDelegationToken_args {
       public:

    - static const char* ascii_fingerprint; // = "BF8EEEB8C67FB6195D3D9BA5BA2C58A4";
    - static const uint8_t binary_fingerprint[16]; // = {0xBF,0x8E,0xEE,0xB8,0xC6,0x7F,0xB6,0x19,0x5D,0x3D,0x9B,0xA5,0xBA,0x2C,0x58,0xA4};
    -
        TCLIService_GetDelegationToken_args(const TCLIService_GetDelegationToken_args&);
        TCLIService_GetDelegationToken_args& operator=(const TCLIService_GetDelegationToken_args&);
        TCLIService_GetDelegationToken_args() {
    @@ -2080,23 +1827,18 @@ class TCLIService_GetDelegationToken_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_args& obj);
      };


      class TCLIService_GetDelegationToken_pargs {
       public:

    - static const char* ascii_fingerprint; // = "BF8EEEB8C67FB6195D3D9BA5BA2C58A4";
    - static const uint8_t binary_fingerprint[16]; // = {0xBF,0x8E,0xEE,0xB8,0xC6,0x7F,0xB6,0x19,0x5D,0x3D,0x9B,0xA5,0xBA,0x2C,0x58,0xA4};
    -

        virtual ~TCLIService_GetDelegationToken_pargs() throw();
        const TGetDelegationTokenReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_pargs& obj);
      };

      typedef struct _TCLIService_GetDelegationToken_result__isset {
    @@ -2107,9 +1849,6 @@ typedef struct _TCLIService_GetDelegationToken_result__isset {
      class TCLIService_GetDelegationToken_result {
       public:

    - static const char* ascii_fingerprint; // = "58C1B84BE91071117FFEBB0AFA1636F7";
    - static const uint8_t binary_fingerprint[16]; // = {0x58,0xC1,0xB8,0x4B,0xE9,0x10,0x71,0x11,0x7F,0xFE,0xBB,0x0A,0xFA,0x16,0x36,0xF7};
    -
        TCLIService_GetDelegationToken_result(const TCLIService_GetDelegationToken_result&);
        TCLIService_GetDelegationToken_result& operator=(const TCLIService_GetDelegationToken_result&);
        TCLIService_GetDelegationToken_result() {
    @@ -2137,7 +1876,6 @@ class TCLIService_GetDelegationToken_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_result& obj);
      };

      typedef struct _TCLIService_GetDelegationToken_presult__isset {
    @@ -2148,9 +1886,6 @@ typedef struct _TCLIService_GetDelegationToken_presult__isset {
      class TCLIService_GetDelegationToken_presult {
       public:

    - static const char* ascii_fingerprint; // = "58C1B84BE91071117FFEBB0AFA1636F7";
    - static const uint8_t binary_fingerprint[16]; // = {0x58,0xC1,0xB8,0x4B,0xE9,0x10,0x71,0x11,0x7F,0xFE,0xBB,0x0A,0xFA,0x16,0x36,0xF7};
    -

        virtual ~TCLIService_GetDelegationToken_presult() throw();
        TGetDelegationTokenResp* success;
    @@ -2159,7 +1894,6 @@ class TCLIService_GetDelegationToken_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_presult& obj);
      };

      typedef struct _TCLIService_CancelDelegationToken_args__isset {
    @@ -2170,9 +1904,6 @@ typedef struct _TCLIService_CancelDelegationToken_args__isset {
      class TCLIService_CancelDelegationToken_args {
       public:

    - static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54";
    - static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54};
    -
        TCLIService_CancelDelegationToken_args(const TCLIService_CancelDelegationToken_args&);
        TCLIService_CancelDelegationToken_args& operator=(const TCLIService_CancelDelegationToken_args&);
        TCLIService_CancelDelegationToken_args() {
    @@ -2200,23 +1931,18 @@ class TCLIService_CancelDelegationToken_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_args& obj);
      };


      class TCLIService_CancelDelegationToken_pargs {
       public:

    - static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54";
    - static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54};
    -

        virtual ~TCLIService_CancelDelegationToken_pargs() throw();
        const TCancelDelegationTokenReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_pargs& obj);
      };

      typedef struct _TCLIService_CancelDelegationToken_result__isset {
    @@ -2227,9 +1953,6 @@ typedef struct _TCLIService_CancelDelegationToken_result__isset {
      class TCLIService_CancelDelegationToken_result {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -
        TCLIService_CancelDelegationToken_result(const TCLIService_CancelDelegationToken_result&);
        TCLIService_CancelDelegationToken_result& operator=(const TCLIService_CancelDelegationToken_result&);
        TCLIService_CancelDelegationToken_result() {
    @@ -2257,7 +1980,6 @@ class TCLIService_CancelDelegationToken_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_result& obj);
      };

      typedef struct _TCLIService_CancelDelegationToken_presult__isset {
    @@ -2268,9 +1990,6 @@ typedef struct _TCLIService_CancelDelegationToken_presult__isset {
      class TCLIService_CancelDelegationToken_presult {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -

        virtual ~TCLIService_CancelDelegationToken_presult() throw();
        TCancelDelegationTokenResp* success;
    @@ -2279,7 +1998,6 @@ class TCLIService_CancelDelegationToken_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_presult& obj);
      };

      typedef struct _TCLIService_RenewDelegationToken_args__isset {
    @@ -2290,9 +2008,6 @@ typedef struct _TCLIService_RenewDelegationToken_args__isset {
      class TCLIService_RenewDelegationToken_args {
       public:

    - static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54";
    - static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54};
    -
        TCLIService_RenewDelegationToken_args(const TCLIService_RenewDelegationToken_args&);
        TCLIService_RenewDelegationToken_args& operator=(const TCLIService_RenewDelegationToken_args&);
        TCLIService_RenewDelegationToken_args() {
    @@ -2320,23 +2035,18 @@ class TCLIService_RenewDelegationToken_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_args& obj);
      };


      class TCLIService_RenewDelegationToken_pargs {
       public:

    - static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54";
    - static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54};
    -

        virtual ~TCLIService_RenewDelegationToken_pargs() throw();
        const TRenewDelegationTokenReq* req;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_pargs& obj);
      };

      typedef struct _TCLIService_RenewDelegationToken_result__isset {
    @@ -2347,9 +2057,6 @@ typedef struct _TCLIService_RenewDelegationToken_result__isset {
      class TCLIService_RenewDelegationToken_result {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -
        TCLIService_RenewDelegationToken_result(const TCLIService_RenewDelegationToken_result&);
        TCLIService_RenewDelegationToken_result& operator=(const TCLIService_RenewDelegationToken_result&);
        TCLIService_RenewDelegationToken_result() {
    @@ -2377,7 +2084,6 @@ class TCLIService_RenewDelegationToken_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_result& obj);
      };

      typedef struct _TCLIService_RenewDelegationToken_presult__isset {
    @@ -2388,9 +2094,6 @@ typedef struct _TCLIService_RenewDelegationToken_presult__isset {
      class TCLIService_RenewDelegationToken_presult {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -

        virtual ~TCLIService_RenewDelegationToken_presult() throw();
        TRenewDelegationTokenResp* success;
    @@ -2399,7 +2102,6 @@ class TCLIService_RenewDelegationToken_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_presult& obj);
      };

      class TCLIServiceClient : virtual public TCLIServiceIf {
    @@ -2760,6 +2462,103 @@ class TCLIServiceMultiface : virtual public TCLIServiceIf {

      };

    +// The 'concurrent' client is a thread safe client that correctly handles
    +// out of order responses. It is slower than the regular client, so should
    +// only be used when you need to share a connection among multiple threads
    +class TCLIServiceConcurrentClient : virtual public TCLIServiceIf {
    + public:
    + TCLIServiceConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) {
    + setProtocol(prot);
    + }
    + TCLIServiceConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) {
    + setProtocol(iprot,oprot);
    + }
    + private:
    + void setProtocol(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) {
    + setProtocol(prot,prot);
    + }
    + void setProtocol(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) {
    + piprot_=iprot;
    + poprot_=oprot;
    + iprot_ = iprot.get();
    + oprot_ = oprot.get();
    + }
    + public:
    + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() {
    + return piprot_;
    + }
    + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getOutputProtocol() {
    + return poprot_;
    + }
    + void OpenSession(TOpenSessionResp& _return, const TOpenSessionReq& req);
    + int32_t send_OpenSession(const TOpenSessionReq& req);
    + void recv_OpenSession(TOpenSessionResp& _return, const int32_t seqid);
    + void CloseSession(TCloseSessionResp& _return, const TCloseSessionReq& req);
    + int32_t send_CloseSession(const TCloseSessionReq& req);
    + void recv_CloseSession(TCloseSessionResp& _return, const int32_t seqid);
    + void GetInfo(TGetInfoResp& _return, const TGetInfoReq& req);
    + int32_t send_GetInfo(const TGetInfoReq& req);
    + void recv_GetInfo(TGetInfoResp& _return, const int32_t seqid);
    + void ExecuteStatement(TExecuteStatementResp& _return, const TExecuteStatementReq& req);
    + int32_t send_ExecuteStatement(const TExecuteStatementReq& req);
    + void recv_ExecuteStatement(TExecuteStatementResp& _return, const int32_t seqid);
    + void GetTypeInfo(TGetTypeInfoResp& _return, const TGetTypeInfoReq& req);
    + int32_t send_GetTypeInfo(const TGetTypeInfoReq& req);
    + void recv_GetTypeInfo(TGetTypeInfoResp& _return, const int32_t seqid);
    + void GetCatalogs(TGetCatalogsResp& _return, const TGetCatalogsReq& req);
    + int32_t send_GetCatalogs(const TGetCatalogsReq& req);
    + void recv_GetCatalogs(TGetCatalogsResp& _return, const int32_t seqid);
    + void GetSchemas(TGetSchemasResp& _return, const TGetSchemasReq& req);
    + int32_t send_GetSchemas(const TGetSchemasReq& req);
    + void recv_GetSchemas(TGetSchemasResp& _return, const int32_t seqid);
    + void GetTables(TGetTablesResp& _return, const TGetTablesReq& req);
    + int32_t send_GetTables(const TGetTablesReq& req);
    + void recv_GetTables(TGetTablesResp& _return, const int32_t seqid);
    + void GetTableTypes(TGetTableTypesResp& _return, const TGetTableTypesReq& req);
    + int32_t send_GetTableTypes(const TGetTableTypesReq& req);
    + void recv_GetTableTypes(TGetTableTypesResp& _return, const int32_t seqid);
    + void GetColumns(TGetColumnsResp& _return, const TGetColumnsReq& req);
    + int32_t send_GetColumns(const TGetColumnsReq& req);
    + void recv_GetColumns(TGetColumnsResp& _return, const int32_t seqid);
    + void GetFunctions(TGetFunctionsResp& _return, const TGetFunctionsReq& req);
    + int32_t send_GetFunctions(const TGetFunctionsReq& req);
    + void recv_GetFunctions(TGetFunctionsResp& _return, const int32_t seqid);
    + void GetOperationStatus(TGetOperationStatusResp& _return, const TGetOperationStatusReq& req);
    + int32_t send_GetOperationStatus(const TGetOperationStatusReq& req);
    + void recv_GetOperationStatus(TGetOperationStatusResp& _return, const int32_t seqid);
    + void CancelOperation(TCancelOperationResp& _return, const TCancelOperationReq& req);
    + int32_t send_CancelOperation(const TCancelOperationReq& req);
    + void recv_CancelOperation(TCancelOperationResp& _return, const int32_t seqid);
    + void CloseOperation(TCloseOperationResp& _return, const TCloseOperationReq& req);
    + int32_t send_CloseOperation(const TCloseOperationReq& req);
    + void recv_CloseOperation(TCloseOperationResp& _return, const int32_t seqid);
    + void GetResultSetMetadata(TGetResultSetMetadataResp& _return, const TGetResultSetMetadataReq& req);
    + int32_t send_GetResultSetMetadata(const TGetResultSetMetadataReq& req);
    + void recv_GetResultSetMetadata(TGetResultSetMetadataResp& _return, const int32_t seqid);
    + void FetchResults(TFetchResultsResp& _return, const TFetchResultsReq& req);
    + int32_t send_FetchResults(const TFetchResultsReq& req);
    + void recv_FetchResults(TFetchResultsResp& _return, const int32_t seqid);
    + void GetDelegationToken(TGetDelegationTokenResp& _return, const TGetDelegationTokenReq& req);
    + int32_t send_GetDelegationToken(const TGetDelegationTokenReq& req);
    + void recv_GetDelegationToken(TGetDelegationTokenResp& _return, const int32_t seqid);
    + void CancelDelegationToken(TCancelDelegationTokenResp& _return, const TCancelDelegationTokenReq& req);
    + int32_t send_CancelDelegationToken(const TCancelDelegationTokenReq& req);
    + void recv_CancelDelegationToken(TCancelDelegationTokenResp& _return, const int32_t seqid);
    + void RenewDelegationToken(TRenewDelegationTokenResp& _return, const TRenewDelegationTokenReq& req);
    + int32_t send_RenewDelegationToken(const TRenewDelegationTokenReq& req);
    + void recv_RenewDelegationToken(TRenewDelegationTokenResp& _return, const int32_t seqid);
    + protected:
    + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot_;
    + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot_;
    + ::apache::thrift::protocol::TProtocol* iprot_;
    + ::apache::thrift::protocol::TProtocol* oprot_;
    + ::apache::thrift::async::TConcurrentClientSyncInfo sync_;
    +};
    +
    +#ifdef _WIN32
    + #pragma warning( pop )
    +#endif
    +
      }}}}} // namespace

      #endif

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp b/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp
    index dcca5c8..60eeff7 100644
    --- a/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp
    +++ b/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-cpp/TCLIService_constants.h
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_constants.h b/service/src/gen/thrift/gen-cpp/TCLIService_constants.h
    index 8993394..9310717 100644
    --- a/service/src/gen/thrift/gen-cpp/TCLIService_constants.h
    +++ b/service/src/gen/thrift/gen-cpp/TCLIService_constants.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
  • Gates at Jan 15, 2016 at 1:17 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp b/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp
    index 742cfdc..b852379 100644
    --- a/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp
    +++ b/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -280,11 +280,9 @@ void TTypeQualifierValue::__set_stringValue(const std::string& val) {
      __isset.stringValue = true;
      }

    -const char* TTypeQualifierValue::ascii_fingerprint = "A7801670116150C65ACA43E6F679BA79";
    -const uint8_t TTypeQualifierValue::binary_fingerprint[16] = {0xA7,0x80,0x16,0x70,0x11,0x61,0x50,0xC6,0x5A,0xCA,0x43,0xE6,0xF6,0x79,0xBA,0x79};
    -
      uint32_t TTypeQualifierValue::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -333,7 +331,7 @@ uint32_t TTypeQualifierValue::read(::apache::thrift::protocol::TProtocol* iprot)

      uint32_t TTypeQualifierValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TTypeQualifierValue");

        if (this->__isset.i32Value) {
    @@ -348,7 +346,6 @@ uint32_t TTypeQualifierValue::write(::apache::thrift::protocol::TProtocol* oprot
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -370,13 +367,12 @@ TTypeQualifierValue& TTypeQualifierValue::operator=(const TTypeQualifierValue& o
        __isset = other1.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TTypeQualifierValue& obj) {
    - using apache::thrift::to_string;
    +void TTypeQualifierValue::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TTypeQualifierValue(";
    - out << "i32Value="; (obj.__isset.i32Value ? (out << to_string(obj.i32Value)) : (out << "<null>"));
    - out << ", " << "stringValue="; (obj.__isset.stringValue ? (out << to_string(obj.stringValue)) : (out << "<null>"));
    + out << "i32Value="; (__isset.i32Value ? (out << to_string(i32Value)) : (out << "<null>"));
    + out << ", " << "stringValue="; (__isset.stringValue ? (out << to_string(stringValue)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -388,11 +384,9 @@ void TTypeQualifiers::__set_qualifiers(const std::map<std::string, TTypeQualifie
        this->qualifiers = val;
      }

    -const char* TTypeQualifiers::ascii_fingerprint = "6C72981CFA989214285648FA8C196C47";
    -const uint8_t TTypeQualifiers::binary_fingerprint[16] = {0x6C,0x72,0x98,0x1C,0xFA,0x98,0x92,0x14,0x28,0x56,0x48,0xFA,0x8C,0x19,0x6C,0x47};
    -
      uint32_t TTypeQualifiers::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -451,7 +445,7 @@ uint32_t TTypeQualifiers::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TTypeQualifiers::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TTypeQualifiers");

        xfer += oprot->writeFieldBegin("qualifiers", ::apache::thrift::protocol::T_MAP, 1);
    @@ -469,7 +463,6 @@ uint32_t TTypeQualifiers::write(::apache::thrift::protocol::TProtocol* oprot) co

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -485,12 +478,11 @@ TTypeQualifiers& TTypeQualifiers::operator=(const TTypeQualifiers& other11) {
        qualifiers = other11.qualifiers;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TTypeQualifiers& obj) {
    - using apache::thrift::to_string;
    +void TTypeQualifiers::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TTypeQualifiers(";
    - out << "qualifiers=" << to_string(obj.qualifiers);
    + out << "qualifiers=" << to_string(qualifiers);
        out << ")";
    - return out;
      }


    @@ -507,11 +499,9 @@ void TPrimitiveTypeEntry::__set_typeQualifiers(const TTypeQualifiers& val) {
      __isset.typeQualifiers = true;
      }

    -const char* TPrimitiveTypeEntry::ascii_fingerprint = "755674F6A5C8EB47868686AE386FBC1C";
    -const uint8_t TPrimitiveTypeEntry::binary_fingerprint[16] = {0x75,0x56,0x74,0xF6,0xA5,0xC8,0xEB,0x47,0x86,0x86,0x86,0xAE,0x38,0x6F,0xBC,0x1C};
    -
      uint32_t TPrimitiveTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -565,7 +555,7 @@ uint32_t TPrimitiveTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot)

      uint32_t TPrimitiveTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TPrimitiveTypeEntry");

        xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 1);
    @@ -579,7 +569,6 @@ uint32_t TPrimitiveTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -601,13 +590,12 @@ TPrimitiveTypeEntry& TPrimitiveTypeEntry::operator=(const TPrimitiveTypeEntry& o
        __isset = other14.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TPrimitiveTypeEntry& obj) {
    - using apache::thrift::to_string;
    +void TPrimitiveTypeEntry::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TPrimitiveTypeEntry(";
    - out << "type=" << to_string(obj.type);
    - out << ", " << "typeQualifiers="; (obj.__isset.typeQualifiers ? (out << to_string(obj.typeQualifiers)) : (out << "<null>"));
    + out << "type=" << to_string(type);
    + out << ", " << "typeQualifiers="; (__isset.typeQualifiers ? (out << to_string(typeQualifiers)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -619,11 +607,9 @@ void TArrayTypeEntry::__set_objectTypePtr(const TTypeEntryPtr val) {
        this->objectTypePtr = val;
      }

    -const char* TArrayTypeEntry::ascii_fingerprint = "E86CACEB22240450EDCBEFC3A83970E4";
    -const uint8_t TArrayTypeEntry::binary_fingerprint[16] = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};
    -
      uint32_t TArrayTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -667,7 +653,7 @@ uint32_t TArrayTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TArrayTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TArrayTypeEntry");

        xfer += oprot->writeFieldBegin("objectTypePtr", ::apache::thrift::protocol::T_I32, 1);
    @@ -676,7 +662,6 @@ uint32_t TArrayTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) co

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -692,12 +677,11 @@ TArrayTypeEntry& TArrayTypeEntry::operator=(const TArrayTypeEntry& other16) {
        objectTypePtr = other16.objectTypePtr;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TArrayTypeEntry& obj) {
    - using apache::thrift::to_string;
    +void TArrayTypeEntry::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TArrayTypeEntry(";
    - out << "objectTypePtr=" << to_string(obj.objectTypePtr);
    + out << "objectTypePtr=" << to_string(objectTypePtr);
        out << ")";
    - return out;
      }


    @@ -713,11 +697,9 @@ void TMapTypeEntry::__set_valueTypePtr(const TTypeEntryPtr val) {
        this->valueTypePtr = val;
      }

    -const char* TMapTypeEntry::ascii_fingerprint = "989D1F1AE8D148D5E2119FFEC4BBBEE3";
    -const uint8_t TMapTypeEntry::binary_fingerprint[16] = {0x98,0x9D,0x1F,0x1A,0xE8,0xD1,0x48,0xD5,0xE2,0x11,0x9F,0xFE,0xC4,0xBB,0xBE,0xE3};
    -
      uint32_t TMapTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -772,7 +754,7 @@ uint32_t TMapTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TMapTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TMapTypeEntry");

        xfer += oprot->writeFieldBegin("keyTypePtr", ::apache::thrift::protocol::T_I32, 1);
    @@ -785,7 +767,6 @@ uint32_t TMapTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) cons

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -804,13 +785,12 @@ TMapTypeEntry& TMapTypeEntry::operator=(const TMapTypeEntry& other18) {
        valueTypePtr = other18.valueTypePtr;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TMapTypeEntry& obj) {
    - using apache::thrift::to_string;
    +void TMapTypeEntry::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TMapTypeEntry(";
    - out << "keyTypePtr=" << to_string(obj.keyTypePtr);
    - out << ", " << "valueTypePtr=" << to_string(obj.valueTypePtr);
    + out << "keyTypePtr=" << to_string(keyTypePtr);
    + out << ", " << "valueTypePtr=" << to_string(valueTypePtr);
        out << ")";
    - return out;
      }


    @@ -822,11 +802,9 @@ void TStructTypeEntry::__set_nameToTypePtr(const std::map<std::string, TTypeEntr
        this->nameToTypePtr = val;
      }

    -const char* TStructTypeEntry::ascii_fingerprint = "91F548CA159B4AB4291F5741AC161402";
    -const uint8_t TStructTypeEntry::binary_fingerprint[16] = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02};
    -
      uint32_t TStructTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -885,7 +863,7 @@ uint32_t TStructTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TStructTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TStructTypeEntry");

        xfer += oprot->writeFieldBegin("nameToTypePtr", ::apache::thrift::protocol::T_MAP, 1);
    @@ -903,7 +881,6 @@ uint32_t TStructTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) c

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -919,12 +896,11 @@ TStructTypeEntry& TStructTypeEntry::operator=(const TStructTypeEntry& other28) {
        nameToTypePtr = other28.nameToTypePtr;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TStructTypeEntry& obj) {
    - using apache::thrift::to_string;
    +void TStructTypeEntry::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TStructTypeEntry(";
    - out << "nameToTypePtr=" << to_string(obj.nameToTypePtr);
    + out << "nameToTypePtr=" << to_string(nameToTypePtr);
        out << ")";
    - return out;
      }


    @@ -936,11 +912,9 @@ void TUnionTypeEntry::__set_nameToTypePtr(const std::map<std::string, TTypeEntry
        this->nameToTypePtr = val;
      }

    -const char* TUnionTypeEntry::ascii_fingerprint = "91F548CA159B4AB4291F5741AC161402";
    -const uint8_t TUnionTypeEntry::binary_fingerprint[16] = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02};
    -
      uint32_t TUnionTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -999,7 +973,7 @@ uint32_t TUnionTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TUnionTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TUnionTypeEntry");

        xfer += oprot->writeFieldBegin("nameToTypePtr", ::apache::thrift::protocol::T_MAP, 1);
    @@ -1017,7 +991,6 @@ uint32_t TUnionTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) co

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1033,12 +1006,11 @@ TUnionTypeEntry& TUnionTypeEntry::operator=(const TUnionTypeEntry& other38) {
        nameToTypePtr = other38.nameToTypePtr;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TUnionTypeEntry& obj) {
    - using apache::thrift::to_string;
    +void TUnionTypeEntry::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TUnionTypeEntry(";
    - out << "nameToTypePtr=" << to_string(obj.nameToTypePtr);
    + out << "nameToTypePtr=" << to_string(nameToTypePtr);
        out << ")";
    - return out;
      }


    @@ -1050,11 +1022,9 @@ void TUserDefinedTypeEntry::__set_typeClassName(const std::string& val) {
        this->typeClassName = val;
      }

    -const char* TUserDefinedTypeEntry::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
    -const uint8_t TUserDefinedTypeEntry::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
    -
      uint32_t TUserDefinedTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1098,7 +1068,7 @@ uint32_t TUserDefinedTypeEntry::read(::apache::thrift::protocol::TProtocol* ipro

      uint32_t TUserDefinedTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TUserDefinedTypeEntry");

        xfer += oprot->writeFieldBegin("typeClassName", ::apache::thrift::protocol::T_STRING, 1);
    @@ -1107,7 +1077,6 @@ uint32_t TUserDefinedTypeEntry::write(::apache::thrift::protocol::TProtocol* opr

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1123,12 +1092,11 @@ TUserDefinedTypeEntry& TUserDefinedTypeEntry::operator=(const TUserDefinedTypeEn
        typeClassName = other40.typeClassName;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TUserDefinedTypeEntry& obj) {
    - using apache::thrift::to_string;
    +void TUserDefinedTypeEntry::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TUserDefinedTypeEntry(";
    - out << "typeClassName=" << to_string(obj.typeClassName);
    + out << "typeClassName=" << to_string(typeClassName);
        out << ")";
    - return out;
      }


    @@ -1160,11 +1128,9 @@ void TTypeEntry::__set_userDefinedTypeEntry(const TUserDefinedTypeEntry& val) {
        this->userDefinedTypeEntry = val;
      }

    -const char* TTypeEntry::ascii_fingerprint = "2FE56D9097E325DAA7E933738C6D325F";
    -const uint8_t TTypeEntry::binary_fingerprint[16] = {0x2F,0xE5,0x6D,0x90,0x97,0xE3,0x25,0xDA,0xA7,0xE9,0x33,0x73,0x8C,0x6D,0x32,0x5F};
    -
      uint32_t TTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1245,7 +1211,7 @@ uint32_t TTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TTypeEntry");

        xfer += oprot->writeFieldBegin("primitiveEntry", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1274,7 +1240,6 @@ uint32_t TTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1308,17 +1273,16 @@ TTypeEntry& TTypeEntry::operator=(const TTypeEntry& other42) {
        __isset = other42.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TTypeEntry& obj) {
    - using apache::thrift::to_string;
    +void TTypeEntry::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TTypeEntry(";
    - out << "primitiveEntry=" << to_string(obj.primitiveEntry);
    - out << ", " << "arrayEntry=" << to_string(obj.arrayEntry);
    - out << ", " << "mapEntry=" << to_string(obj.mapEntry);
    - out << ", " << "structEntry=" << to_string(obj.structEntry);
    - out << ", " << "unionEntry=" << to_string(obj.unionEntry);
    - out << ", " << "userDefinedTypeEntry=" << to_string(obj.userDefinedTypeEntry);
    + out << "primitiveEntry=" << to_string(primitiveEntry);
    + out << ", " << "arrayEntry=" << to_string(arrayEntry);
    + out << ", " << "mapEntry=" << to_string(mapEntry);
    + out << ", " << "structEntry=" << to_string(structEntry);
    + out << ", " << "unionEntry=" << to_string(unionEntry);
    + out << ", " << "userDefinedTypeEntry=" << to_string(userDefinedTypeEntry);
        out << ")";
    - return out;
      }


    @@ -1330,11 +1294,9 @@ void TTypeDesc::__set_types(const std::vector<TTypeEntry> & val) {
        this->types = val;
      }

    -const char* TTypeDesc::ascii_fingerprint = "90B3C5A0B73419A84E85E0E48C452AA5";
    -const uint8_t TTypeDesc::binary_fingerprint[16] = {0x90,0xB3,0xC5,0xA0,0xB7,0x34,0x19,0xA8,0x4E,0x85,0xE0,0xE4,0x8C,0x45,0x2A,0xA5};
    -
      uint32_t TTypeDesc::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1390,7 +1352,7 @@ uint32_t TTypeDesc::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TTypeDesc::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TTypeDesc");

        xfer += oprot->writeFieldBegin("types", ::apache::thrift::protocol::T_LIST, 1);
    @@ -1407,7 +1369,6 @@ uint32_t TTypeDesc::write(::apache::thrift::protocol::TProtocol* oprot) const {

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1423,12 +1384,11 @@ TTypeDesc& TTypeDesc::operator=(const TTypeDesc& other50) {
        types = other50.types;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TTypeDesc& obj) {
    - using apache::thrift::to_string;
    +void TTypeDesc::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TTypeDesc(";
    - out << "types=" << to_string(obj.types);
    + out << "types=" << to_string(types);
        out << ")";
    - return out;
      }


    @@ -1453,11 +1413,9 @@ void TColumnDesc::__set_comment(const std::string& val) {
      __isset.comment = true;
      }

    -const char* TColumnDesc::ascii_fingerprint = "EABED9009D5FCABFCA65612069F2A849";
    -const uint8_t TColumnDesc::binary_fingerprint[16] = {0xEA,0xBE,0xD9,0x00,0x9D,0x5F,0xCA,0xBF,0xCA,0x65,0x61,0x20,0x69,0xF2,0xA8,0x49};
    -
      uint32_t TColumnDesc::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1531,7 +1489,7 @@ uint32_t TColumnDesc::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TColumnDesc::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TColumnDesc");

        xfer += oprot->writeFieldBegin("columnName", ::apache::thrift::protocol::T_STRING, 1);
    @@ -1553,7 +1511,6 @@ uint32_t TColumnDesc::write(::apache::thrift::protocol::TProtocol* oprot) const
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1581,15 +1538,14 @@ TColumnDesc& TColumnDesc::operator=(const TColumnDesc& other52) {
        __isset = other52.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TColumnDesc& obj) {
    - using apache::thrift::to_string;
    +void TColumnDesc::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TColumnDesc(";
    - out << "columnName=" << to_string(obj.columnName);
    - out << ", " << "typeDesc=" << to_string(obj.typeDesc);
    - out << ", " << "position=" << to_string(obj.position);
    - out << ", " << "comment="; (obj.__isset.comment ? (out << to_string(obj.comment)) : (out << "<null>"));
    + out << "columnName=" << to_string(columnName);
    + out << ", " << "typeDesc=" << to_string(typeDesc);
    + out << ", " << "position=" << to_string(position);
    + out << ", " << "comment="; (__isset.comment ? (out << to_string(comment)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -1601,11 +1557,9 @@ void TTableSchema::__set_columns(const std::vector<TColumnDesc> & val) {
        this->columns = val;
      }

    -const char* TTableSchema::ascii_fingerprint = "7A1811E49313E5977107FC667B20E39D";
    -const uint8_t TTableSchema::binary_fingerprint[16] = {0x7A,0x18,0x11,0xE4,0x93,0x13,0xE5,0x97,0x71,0x07,0xFC,0x66,0x7B,0x20,0xE3,0x9D};
    -
      uint32_t TTableSchema::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1661,7 +1615,7 @@ uint32_t TTableSchema::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TTableSchema::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TTableSchema");

        xfer += oprot->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST, 1);
    @@ -1678,7 +1632,6 @@ uint32_t TTableSchema::write(::apache::thrift::protocol::TProtocol* oprot) const

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1694,12 +1647,11 @@ TTableSchema& TTableSchema::operator=(const TTableSchema& other60) {
        columns = other60.columns;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TTableSchema& obj) {
    - using apache::thrift::to_string;
    +void TTableSchema::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TTableSchema(";
    - out << "columns=" << to_string(obj.columns);
    + out << "columns=" << to_string(columns);
        out << ")";
    - return out;
      }


    @@ -1712,11 +1664,9 @@ void TBoolValue::__set_value(const bool val) {
      __isset.value = true;
      }

    -const char* TBoolValue::ascii_fingerprint = "BF054652DEF86253C2BEE7D947F167DD";
    -const uint8_t TBoolValue::binary_fingerprint[16] = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD};
    -
      uint32_t TBoolValue::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1757,7 +1707,7 @@ uint32_t TBoolValue::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TBoolValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TBoolValue");

        if (this->__isset.value) {
    @@ -1767,7 +1717,6 @@ uint32_t TBoolValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1786,12 +1735,11 @@ TBoolValue& TBoolValue::operator=(const TBoolValue& other62) {
        __isset = other62.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TBoolValue& obj) {
    - using apache::thrift::to_string;
    +void TBoolValue::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TBoolValue(";
    - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -1804,11 +1752,9 @@ void TByteValue::__set_value(const int8_t val) {
      __isset.value = true;
      }

    -const char* TByteValue::ascii_fingerprint = "9C15298ACB5D04AEA9B52D5DDE6F9208";
    -const uint8_t TByteValue::binary_fingerprint[16] = {0x9C,0x15,0x29,0x8A,0xCB,0x5D,0x04,0xAE,0xA9,0xB5,0x2D,0x5D,0xDE,0x6F,0x92,0x08};
    -
      uint32_t TByteValue::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1849,7 +1795,7 @@ uint32_t TByteValue::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TByteValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TByteValue");

        if (this->__isset.value) {
    @@ -1859,7 +1805,6 @@ uint32_t TByteValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1878,12 +1823,11 @@ TByteValue& TByteValue::operator=(const TByteValue& other64) {
        __isset = other64.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TByteValue& obj) {
    - using apache::thrift::to_string;
    +void TByteValue::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TByteValue(";
    - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -1896,11 +1840,9 @@ void TI16Value::__set_value(const int16_t val) {
      __isset.value = true;
      }

    -const char* TI16Value::ascii_fingerprint = "5DAC9C51C7E1106BF936FC71860BE9D5";
    -const uint8_t TI16Value::binary_fingerprint[16] = {0x5D,0xAC,0x9C,0x51,0xC7,0xE1,0x10,0x6B,0xF9,0x36,0xFC,0x71,0x86,0x0B,0xE9,0xD5};
    -
      uint32_t TI16Value::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1941,7 +1883,7 @@ uint32_t TI16Value::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TI16Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TI16Value");

        if (this->__isset.value) {
    @@ -1951,7 +1893,6 @@ uint32_t TI16Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1970,12 +1911,11 @@ TI16Value& TI16Value::operator=(const TI16Value& other66) {
        __isset = other66.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TI16Value& obj) {
    - using apache::thrift::to_string;
    +void TI16Value::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TI16Value(";
    - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -1988,11 +1928,9 @@ void TI32Value::__set_value(const int32_t val) {
      __isset.value = true;
      }

    -const char* TI32Value::ascii_fingerprint = "E7A96B151330359E84C0A3AC91BCBACD";
    -const uint8_t TI32Value::binary_fingerprint[16] = {0xE7,0xA9,0x6B,0x15,0x13,0x30,0x35,0x9E,0x84,0xC0,0xA3,0xAC,0x91,0xBC,0xBA,0xCD};
    -
      uint32_t TI32Value::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2033,7 +1971,7 @@ uint32_t TI32Value::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TI32Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TI32Value");

        if (this->__isset.value) {
    @@ -2043,7 +1981,6 @@ uint32_t TI32Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2062,12 +1999,11 @@ TI32Value& TI32Value::operator=(const TI32Value& other68) {
        __isset = other68.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TI32Value& obj) {
    - using apache::thrift::to_string;
    +void TI32Value::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TI32Value(";
    - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -2080,11 +2016,9 @@ void TI64Value::__set_value(const int64_t val) {
      __isset.value = true;
      }

    -const char* TI64Value::ascii_fingerprint = "148F3AAAC1D9859963D5E800D187BF26";
    -const uint8_t TI64Value::binary_fingerprint[16] = {0x14,0x8F,0x3A,0xAA,0xC1,0xD9,0x85,0x99,0x63,0xD5,0xE8,0x00,0xD1,0x87,0xBF,0x26};
    -
      uint32_t TI64Value::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2125,7 +2059,7 @@ uint32_t TI64Value::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TI64Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TI64Value");

        if (this->__isset.value) {
    @@ -2135,7 +2069,6 @@ uint32_t TI64Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2154,12 +2087,11 @@ TI64Value& TI64Value::operator=(const TI64Value& other70) {
        __isset = other70.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TI64Value& obj) {
    - using apache::thrift::to_string;
    +void TI64Value::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TI64Value(";
    - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -2172,11 +2104,9 @@ void TDoubleValue::__set_value(const double val) {
      __isset.value = true;
      }

    -const char* TDoubleValue::ascii_fingerprint = "3586E570A474C4A8603B4FF74903B3A6";
    -const uint8_t TDoubleValue::binary_fingerprint[16] = {0x35,0x86,0xE5,0x70,0xA4,0x74,0xC4,0xA8,0x60,0x3B,0x4F,0xF7,0x49,0x03,0xB3,0xA6};
    -
      uint32_t TDoubleValue::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2217,7 +2147,7 @@ uint32_t TDoubleValue::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TDoubleValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TDoubleValue");

        if (this->__isset.value) {
    @@ -2227,7 +2157,6 @@ uint32_t TDoubleValue::write(::apache::thrift::protocol::TProtocol* oprot) const
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2246,12 +2175,11 @@ TDoubleValue& TDoubleValue::operator=(const TDoubleValue& other72) {
        __isset = other72.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TDoubleValue& obj) {
    - using apache::thrift::to_string;
    +void TDoubleValue::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TDoubleValue(";
    - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -2264,11 +2192,9 @@ void TStringValue::__set_value(const std::string& val) {
      __isset.value = true;
      }

    -const char* TStringValue::ascii_fingerprint = "66E694018C17E5B65A59AE8F55CCA3CD";
    -const uint8_t TStringValue::binary_fingerprint[16] = {0x66,0xE6,0x94,0x01,0x8C,0x17,0xE5,0xB6,0x5A,0x59,0xAE,0x8F,0x55,0xCC,0xA3,0xCD};
    -
      uint32_t TStringValue::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2309,7 +2235,7 @@ uint32_t TStringValue::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TStringValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TStringValue");

        if (this->__isset.value) {
    @@ -2319,7 +2245,6 @@ uint32_t TStringValue::write(::apache::thrift::protocol::TProtocol* oprot) const
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2338,12 +2263,11 @@ TStringValue& TStringValue::operator=(const TStringValue& other74) {
        __isset = other74.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TStringValue& obj) {
    - using apache::thrift::to_string;
    +void TStringValue::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TStringValue(";
    - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -2379,11 +2303,9 @@ void TColumnValue::__set_stringVal(const TStringValue& val) {
        this->stringVal = val;
      }

    -const char* TColumnValue::ascii_fingerprint = "C2DDD988447EA7999A8285AA38AAE9AD";
    -const uint8_t TColumnValue::binary_fingerprint[16] = {0xC2,0xDD,0xD9,0x88,0x44,0x7E,0xA7,0x99,0x9A,0x82,0x85,0xAA,0x38,0xAA,0xE9,0xAD};
    -
      uint32_t TColumnValue::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2472,7 +2394,7 @@ uint32_t TColumnValue::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TColumnValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TColumnValue");

        xfer += oprot->writeFieldBegin("boolVal", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2505,7 +2427,6 @@ uint32_t TColumnValue::write(::apache::thrift::protocol::TProtocol* oprot) const

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2542,18 +2463,17 @@ TColumnValue& TColumnValue::operator=(const TColumnValue& other76) {
        __isset = other76.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TColumnValue& obj) {
    - using apache::thrift::to_string;
    +void TColumnValue::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TColumnValue(";
    - out << "boolVal=" << to_string(obj.boolVal);
    - out << ", " << "byteVal=" << to_string(obj.byteVal);
    - out << ", " << "i16Val=" << to_string(obj.i16Val);
    - out << ", " << "i32Val=" << to_string(obj.i32Val);
    - out << ", " << "i64Val=" << to_string(obj.i64Val);
    - out << ", " << "doubleVal=" << to_string(obj.doubleVal);
    - out << ", " << "stringVal=" << to_string(obj.stringVal);
    + out << "boolVal=" << to_string(boolVal);
    + out << ", " << "byteVal=" << to_string(byteVal);
    + out << ", " << "i16Val=" << to_string(i16Val);
    + out << ", " << "i32Val=" << to_string(i32Val);
    + out << ", " << "i64Val=" << to_string(i64Val);
    + out << ", " << "doubleVal=" << to_string(doubleVal);
    + out << ", " << "stringVal=" << to_string(stringVal);
        out << ")";
    - return out;
      }


    @@ -2565,11 +2485,9 @@ void TRow::__set_colVals(const std::vector<TColumnValue> & val) {
        this->colVals = val;
      }

    -const char* TRow::ascii_fingerprint = "E73FD1FCA0CA58A669FC3E02FB68D534";
    -const uint8_t TRow::binary_fingerprint[16] = {0xE7,0x3F,0xD1,0xFC,0xA0,0xCA,0x58,0xA6,0x69,0xFC,0x3E,0x02,0xFB,0x68,0xD5,0x34};
    -
      uint32_t TRow::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2625,7 +2543,7 @@ uint32_t TRow::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TRow::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TRow");

        xfer += oprot->writeFieldBegin("colVals", ::apache::thrift::protocol::T_LIST, 1);
    @@ -2642,7 +2560,6 @@ uint32_t TRow::write(::apache::thrift::protocol::TProtocol* oprot) const {

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2658,12 +2575,11 @@ TRow& TRow::operator=(const TRow& other84) {
        colVals = other84.colVals;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TRow& obj) {
    - using apache::thrift::to_string;
    +void TRow::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TRow(";
    - out << "colVals=" << to_string(obj.colVals);
    + out << "colVals=" << to_string(colVals);
        out << ")";
    - return out;
      }


    @@ -2679,11 +2595,9 @@ void TBoolColumn::__set_nulls(const std::string& val) {
        this->nulls = val;
      }

    -const char* TBoolColumn::ascii_fingerprint = "F9058324D96DB7F974D8ACDC01C54219";
    -const uint8_t TBoolColumn::binary_fingerprint[16] = {0xF9,0x05,0x83,0x24,0xD9,0x6D,0xB7,0xF9,0x74,0xD8,0xAC,0xDC,0x01,0xC5,0x42,0x19};
    -
      uint32_t TBoolColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2750,7 +2664,7 @@ uint32_t TBoolColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TBoolColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TBoolColumn");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -2771,7 +2685,6 @@ uint32_t TBoolColumn::write(::apache::thrift::protocol::TProtocol* oprot) const

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2790,13 +2703,12 @@ TBoolColumn& TBoolColumn::operator=(const TBoolColumn& other92) {
        nulls = other92.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TBoolColumn& obj) {
    - using apache::thrift::to_string;
    +void TBoolColumn::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TBoolColumn(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -2812,11 +2724,9 @@ void TByteColumn::__set_nulls(const std::string& val) {
        this->nulls = val;
      }

    -const char* TByteColumn::ascii_fingerprint = "1CB300106BAA463A70BB2A2395900F48";
    -const uint8_t TByteColumn::binary_fingerprint[16] = {0x1C,0xB3,0x00,0x10,0x6B,0xAA,0x46,0x3A,0x70,0xBB,0x2A,0x23,0x95,0x90,0x0F,0x48};
    -
      uint32_t TByteColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2883,7 +2793,7 @@ uint32_t TByteColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TByteColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TByteColumn");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -2904,7 +2814,6 @@ uint32_t TByteColumn::write(::apache::thrift::protocol::TProtocol* oprot) const

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2923,13 +2832,12 @@ TByteColumn& TByteColumn::operator=(const TByteColumn& other100) {
        nulls = other100.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TByteColumn& obj) {
    - using apache::thrift::to_string;
    +void TByteColumn::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TByteColumn(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -2945,11 +2853,9 @@ void TI16Column::__set_nulls(const std::string& val) {
        this->nulls = val;
      }

    -const char* TI16Column::ascii_fingerprint = "6574CDB1F121C8DB47FB257A3F104BDB";
    -const uint8_t TI16Column::binary_fingerprint[16] = {0x65,0x74,0xCD,0xB1,0xF1,0x21,0xC8,0xDB,0x47,0xFB,0x25,0x7A,0x3F,0x10,0x4B,0xDB};
    -
      uint32_t TI16Column::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3016,7 +2922,7 @@ uint32_t TI16Column::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TI16Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TI16Column");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -3037,7 +2943,6 @@ uint32_t TI16Column::write(::apache::thrift::protocol::TProtocol* oprot) const {

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -3056,13 +2961,12 @@ TI16Column& TI16Column::operator=(const TI16Column& other108) {
        nulls = other108.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TI16Column& obj) {
    - using apache::thrift::to_string;
    +void TI16Column::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TI16Column(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -3078,11 +2982,9 @@ void TI32Column::__set_nulls(const std::string& val) {
        this->nulls = val;
      }

    -const char* TI32Column::ascii_fingerprint = "CCCCE89C7E9DA10280F5663700677313";
    -const uint8_t TI32Column::binary_fingerprint[16] = {0xCC,0xCC,0xE8,0x9C,0x7E,0x9D,0xA1,0x02,0x80,0xF5,0x66,0x37,0x00,0x67,0x73,0x13};
    -
      uint32_t TI32Column::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3149,7 +3051,7 @@ uint32_t TI32Column::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TI32Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TI32Column");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -3170,7 +3072,6 @@ uint32_t TI32Column::write(::apache::thrift::protocol::TProtocol* oprot) const {

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -3189,13 +3090,12 @@ TI32Column& TI32Column::operator=(const TI32Column& other116) {
        nulls = other116.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TI32Column& obj) {
    - using apache::thrift::to_string;
    +void TI32Column::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TI32Column(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -3211,11 +3111,9 @@ void TI64Column::__set_nulls(const std::string& val) {
        this->nulls = val;
      }

    -const char* TI64Column::ascii_fingerprint = "925353917FC0AF87976A2338011F5A31";
    -const uint8_t TI64Column::binary_fingerprint[16] = {0x92,0x53,0x53,0x91,0x7F,0xC0,0xAF,0x87,0x97,0x6A,0x23,0x38,0x01,0x1F,0x5A,0x31};
    -
      uint32_t TI64Column::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3282,7 +3180,7 @@ uint32_t TI64Column::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TI64Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TI64Column");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -3303,7 +3201,6 @@ uint32_t TI64Column::write(::apache::thrift::protocol::TProtocol* oprot) const {

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -3322,13 +3219,12 @@ TI64Column& TI64Column::operator=(const TI64Column& other124) {
        nulls = other124.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TI64Column& obj) {
    - using apache::thrift::to_string;
    +void TI64Column::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TI64Column(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -3344,11 +3240,9 @@ void TDoubleColumn::__set_nulls(const std::string& val) {
        this->nulls = val;
      }

    -const char* TDoubleColumn::ascii_fingerprint = "8FF1C050A8D7FD247AEB23CD71539C09";
    -const uint8_t TDoubleColumn::binary_fingerprint[16] = {0x8F,0xF1,0xC0,0x50,0xA8,0xD7,0xFD,0x24,0x7A,0xEB,0x23,0xCD,0x71,0x53,0x9C,0x09};
    -
      uint32_t TDoubleColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3415,7 +3309,7 @@ uint32_t TDoubleColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TDoubleColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TDoubleColumn");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -3436,7 +3330,6 @@ uint32_t TDoubleColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -3455,13 +3348,12 @@ TDoubleColumn& TDoubleColumn::operator=(const TDoubleColumn& other132) {
        nulls = other132.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TDoubleColumn& obj) {
    - using apache::thrift::to_string;
    +void TDoubleColumn::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TDoubleColumn(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -3477,11 +3369,9 @@ void TStringColumn::__set_nulls(const std::string& val) {
        this->nulls = val;
      }

    -const char* TStringColumn::ascii_fingerprint = "BE556BF7091B2DABBA1863D5E458B15F";
    -const uint8_t TStringColumn::binary_fingerprint[16] = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F};
    -
      uint32_t TStringColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3548,7 +3438,7 @@ uint32_t TStringColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TStringColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TStringColumn");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -3569,7 +3459,6 @@ uint32_t TStringColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -3588,13 +3477,12 @@ TStringColumn& TStringColumn::operator=(const TStringColumn& other140) {
        nulls = other140.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TStringColumn& obj) {
    - using apache::thrift::to_string;
    +void TStringColumn::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TStringColumn(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -3610,11 +3498,9 @@ void TBinaryColumn::__set_nulls(const std::string& val) {
        this->nulls = val;
      }

    -const char* TBinaryColumn::ascii_fingerprint = "BE556BF7091B2DABBA1863D5E458B15F";
    -const uint8_t TBinaryColumn::binary_fingerprint[16] = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F};
    -
      uint32_t TBinaryColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3681,7 +3567,7 @@ uint32_t TBinaryColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TBinaryColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TBinaryColumn");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -3702,7 +3588,6 @@ uint32_t TBinaryColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -3721,13 +3606,12 @@ TBinaryColumn& TBinaryColumn::operator=(const TBinaryColumn& other148) {
        nulls = other148.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TBinaryColumn& obj) {
    - using apache::thrift::to_string;
    +void TBinaryColumn::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TBinaryColumn(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -3767,11 +3651,9 @@ void TColumn::__set_binaryVal(const TBinaryColumn& val) {
        this->binaryVal = val;
      }

    -const char* TColumn::ascii_fingerprint = "E6ADD10B4CDDE61A19E8878CC7039A17";
    -const uint8_t TColumn::binary_fingerprint[16] = {0xE6,0xAD,0xD1,0x0B,0x4C,0xDD,0xE6,0x1A,0x19,0xE8,0x87,0x8C,0xC7,0x03,0x9A,0x17};
    -
      uint32_t TColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3868,7 +3750,7 @@ uint32_t TColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TColumn");

        xfer += oprot->writeFieldBegin("boolVal", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -3905,7 +3787,6 @@ uint32_t TColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -3945,19 +3826,18 @@ TColumn& TColumn::operator=(const TColumn& other150) {
        __isset = other150.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TColumn& obj) {
    - using apache::thrift::to_string;
    +void TColumn::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TColumn(";
    - out << "boolVal=" << to_string(obj.boolVal);
    - out << ", " << "byteVal=" << to_string(obj.byteVal);
    - out << ", " << "i16Val=" << to_string(obj.i16Val);
    - out << ", " << "i32Val=" << to_string(obj.i32Val);
    - out << ", " << "i64Val=" << to_string(obj.i64Val);
    - out << ", " << "doubleVal=" << to_string(obj.doubleVal);
    - out << ", " << "stringVal=" << to_string(obj.stringVal);
    - out << ", " << "binaryVal=" << to_string(obj.binaryVal);
    + out << "boolVal=" << to_string(boolVal);
    + out << ", " << "byteVal=" << to_string(byteVal);
    + out << ", " << "i16Val=" << to_string(i16Val);
    + out << ", " << "i32Val=" << to_string(i32Val);
    + out << ", " << "i64Val=" << to_string(i64Val);
    + out << ", " << "doubleVal=" << to_string(doubleVal);
    + out << ", " << "stringVal=" << to_string(stringVal);
    + out << ", " << "binaryVal=" << to_string(binaryVal);
        out << ")";
    - return out;
      }


    @@ -3978,11 +3858,9 @@ void TRowSet::__set_columns(const std::vector<TColumn> & val) {
      __isset.columns = true;
      }

    -const char* TRowSet::ascii_fingerprint = "46DA30A870489C7A58105AE0080DAEBF";
    -const uint8_t TRowSet::binary_fingerprint[16] = {0x46,0xDA,0x30,0xA8,0x70,0x48,0x9C,0x7A,0x58,0x10,0x5A,0xE0,0x08,0x0D,0xAE,0xBF};
    -
      uint32_t TRowSet::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -4069,7 +3947,7 @@ uint32_t TRowSet::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TRowSet");

        xfer += oprot->writeFieldBegin("startRowOffset", ::apache::thrift::protocol::T_I64, 1);
    @@ -4103,7 +3981,6 @@ uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -4128,14 +4005,13 @@ TRowSet& TRowSet::operator=(const TRowSet& other164) {
        __isset = other164.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TRowSet& obj) {
    - using apache::thrift::to_string;
    +void TRowSet::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TRowSet(";
    - out << "startRowOffset=" << to_string(obj.startRowOffset);
    - out << ", " << "rows=" << to_string(obj.rows);
    - out << ", " << "columns="; (obj.__isset.columns ? (out << to_string(obj.columns)) : (out << "<null>"));
    + out << "startRowOffset=" << to_string(startRowOffset);
    + out << ", " << "rows=" << to_string(rows);
    + out << ", " << "columns="; (__isset.columns ? (out << to_string(columns)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -4167,11 +4043,9 @@ void TStatus::__set_errorMessage(const std::string& val) {
      __isset.errorMessage = true;
      }

    -const char* TStatus::ascii_fingerprint = "D5DEF49634A59C615C1B3A6F7D0DADB5";
    -const uint8_t TStatus::binary_fingerprint[16] = {0xD5,0xDE,0xF4,0x96,0x34,0xA5,0x9C,0x61,0x5C,0x1B,0x3A,0x6F,0x7D,0x0D,0xAD,0xB5};
    -
      uint32_t TStatus::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -4261,7 +4135,7 @@ uint32_t TStatus::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TStatus::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TStatus");

        xfer += oprot->writeFieldBegin("statusCode", ::apache::thrift::protocol::T_I32, 1);
    @@ -4298,7 +4172,6 @@ uint32_t TStatus::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -4329,16 +4202,15 @@ TStatus& TStatus::operator=(const TStatus& other173) {
        __isset = other173.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TStatus& obj) {
    - using apache::thrift::to_string;
    +void TStatus::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TStatus(";
    - out << "statusCode=" << to_string(obj.statusCode);
    - out << ", " << "infoMessages="; (obj.__isset.infoMessages ? (out << to_string(obj.infoMessages)) : (out << "<null>"));
    - out << ", " << "sqlState="; (obj.__isset.sqlState ? (out << to_string(obj.sqlState)) : (out << "<null>"));
    - out << ", " << "errorCode="; (obj.__isset.errorCode ? (out << to_string(obj.errorCode)) : (out << "<null>"));
    - out << ", " << "errorMessage="; (obj.__isset.errorMessage ? (out << to_string(obj.errorMessage)) : (out << "<null>"));
    + out << "statusCode=" << to_string(statusCode);
    + out << ", " << "infoMessages="; (__isset.infoMessages ? (out << to_string(infoMessages)) : (out << "<null>"));
    + out << ", " << "sqlState="; (__isset.sqlState ? (out << to_string(sqlState)) : (out << "<null>"));
    + out << ", " << "errorCode="; (__isset.errorCode ? (out << to_string(errorCode)) : (out << "<null>"));
    + out << ", " << "errorMessage="; (__isset.errorMessage ? (out << to_string(errorMessage)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -4354,11 +4226,9 @@ void THandleIdentifier::__set_secret(const std::string& val) {
        this->secret = val;
      }

    -const char* THandleIdentifier::ascii_fingerprint = "07A9615F837F7D0A952B595DD3020972";
    -const uint8_t THandleIdentifier::binary_fingerprint[16] = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
    -
      uint32_t THandleIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -4413,7 +4283,7 @@ uint32_t THandleIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t THandleIdentifier::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("THandleIdentifier");

        xfer += oprot->writeFieldBegin("guid", ::apache::thrift::protocol::T_STRING, 1);
    @@ -4426,7 +4296,6 @@ uint32_t THandleIdentifier::write(::apache::thrift::protocol::TProtocol* oprot)

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -4445,13 +4314,12 @@ THandleIdentifier& THandleIdentifier::operator=(const THandleIdentifier& other17
        secret = other175.secret;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const THandleIdentifier& obj) {
    - using apache::thrift::to_string;
    +void THandleIdentifier::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "THandleIdentifier(";
    - out << "guid=" << to_string(obj.guid);
    - out << ", " << "secret=" << to_string(obj.secret);
    + out << "guid=" << to_string(guid);
    + out << ", " << "secret=" << to_string(secret);
        out << ")";
    - return out;
      }


    @@ -4463,11 +4331,9 @@ void TSessionHandle::__set_sessionId(const THandleIdentifier& val) {
        this->sessionId = val;
      }

    -const char* TSessionHandle::ascii_fingerprint = "A756D3DBE614FB13F70BF7F7B6EB3D73";
    -const uint8_t TSessionHandle::binary_fingerprint[16] = {0xA7,0x56,0xD3,0xDB,0xE6,0x14,0xFB,0x13,0xF7,0x0B,0xF7,0xF7,0xB6,0xEB,0x3D,0x73};
    -
      uint32_t TSessionHandle::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -4511,7 +4377,7 @@ uint32_t TSessionHandle::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TSessionHandle::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TSessionHandle");

        xfer += oprot->writeFieldBegin("sessionId", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -4520,7 +4386,6 @@ uint32_t TSessionHandle::write(::apache::thrift::protocol::TProtocol* oprot) con

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -4536,12 +4401,11 @@ TSessionHandle& TSessionHandle::operator=(const TSessionHandle& other177) {
        sessionId = other177.sessionId;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TSessionHandle& obj) {
    - using apache::thrift::to_string;
    +void TSessionHandle::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TSessionHandle(";
    - out << "sessionId=" << to_string(obj.sessionId);
    + out << "sessionId=" << to_string(sessionId);
        out << ")";
    - return out;
      }


    @@ -4566,11 +4430,9 @@ void TOperationHandle::__set_modifiedRowCount(const double val) {
      __isset.modifiedRowCount = true;
      }

    -const char* TOperationHandle::ascii_fingerprint = "29FD80F4F96804A30FCC59C23D2E5349";
    -const uint8_t TOperationHandle::binary_fingerprint[16] = {0x29,0xFD,0x80,0xF4,0xF9,0x68,0x04,0xA3,0x0F,0xCC,0x59,0xC2,0x3D,0x2E,0x53,0x49};
    -
      uint32_t TOperationHandle::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -4646,7 +4508,7 @@ uint32_t TOperationHandle::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TOperationHandle::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TOperationHandle");

        xfer += oprot->writeFieldBegin("operationId", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -4668,7 +4530,6 @@ uint32_t TOperationHandle::write(::apache::thrift::protocol::TProtocol* oprot) c
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -4696,15 +4557,14 @@ TOperationHandle& TOperationHandle::operator=(const TOperationHandle& other180)
        __isset = other180.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TOperationHandle& obj) {
    - using apache::thrift::to_string;
    +void TOperationHandle::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TOperationHandle(";
    - out << "operationId=" << to_string(obj.operationId);
    - out << ", " << "operationType=" << to_string(obj.operationType);
    - out << ", " << "hasResultSet=" << to_string(obj.hasResultSet);
    - out << ", " << "modifiedRowCount="; (obj.__isset.modifiedRowCount ? (out << to_string(obj.modifiedRowCount)) : (out << "<null>"));
    + out << "operationId=" << to_string(operationId);
    + out << ", " << "operationType=" << to_string(operationType);
    + out << ", " << "hasResultSet=" << to_string(hasResultSet);
    + out << ", " << "modifiedRowCount="; (__isset.modifiedRowCount ? (out << to_string(modifiedRowCount)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -4731,11 +4591,9 @@ void TOpenSessionReq::__set_configuration(const std::map<std::string, std::strin
      __isset.configuration = true;
      }

    -const char* TOpenSessionReq::ascii_fingerprint = "C8FD0F306A16C16BDA7B57F58BFAE5B2";
    -const uint8_t TOpenSessionReq::binary_fingerprint[16] = {0xC8,0xFD,0x0F,0x30,0x6A,0x16,0xC1,0x6B,0xDA,0x7B,0x57,0xF5,0x8B,0xFA,0xE5,0xB2};
    -
      uint32_t TOpenSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -4820,7 +4678,7 @@ uint32_t TOpenSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TOpenSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TOpenSessionReq");

        xfer += oprot->writeFieldBegin("client_protocol", ::apache::thrift::protocol::T_I32, 1);
    @@ -4853,7 +4711,6 @@ uint32_t TOpenSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) co
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -4881,15 +4738,14 @@ TOpenSessionReq& TOpenSessionReq::operator=(const TOpenSessionReq& other191) {
        __isset = other191.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TOpenSessionReq& obj) {
    - using apache::thrift::to_string;
    +void TOpenSessionReq::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TOpenSessionReq(";
    - out << "client_protocol=" << to_string(obj.client_protocol);
    - out << ", " << "username="; (obj.__isset.username ? (out << to_string(obj.username)) : (out << "<null>"));
    - out << ", " << "password="; (obj.__isset.password ? (out << to_string(obj.password)) : (out << "<null>"));
    - out << ", " << "configuration="; (obj.__isset.configuration ? (out << to_string(obj.configuration)) : (out << "<null>"));
    + out << "client_protocol=" << to_string(client_protocol);
    + out << ", " << "username="; (__isset.username ? (out << to_string(username)) : (out << "<null>"));
    + out << ", " << "password="; (__isset.password ? (out << to_string(password)) : (out << "<null>"));
    + out << ", " << "configuration="; (__isset.configuration ? (out << to_string(configuration)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -4915,11 +4771,9 @@ void TOpenSessionResp::__set_configuration(const std::map<std::string, std::stri
      __isset.configuration = true;
      }

    -const char* TOpenSessionResp::ascii_fingerprint = "CFE7D7F4E9EC671F2518ED74FEE9F163";
    -const uint8_t TOpenSessionResp::binary_fingerprint[16] = {0xCF,0xE7,0xD7,0xF4,0xE9,0xEC,0x67,0x1F,0x25,0x18,0xED,0x74,0xFE,0xE9,0xF1,0x63};
    -
      uint32_t TOpenSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5007,7 +4861,7 @@ uint32_t TOpenSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TOpenSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TOpenSessionResp");

        xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -5039,7 +4893,6 @@ uint32_t TOpenSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) c
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -5067,15 +4920,14 @@ TOpenSessionResp& TOpenSessionResp::operator=(const TOpenSessionResp& other202)
        __isset = other202.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TOpenSessionResp& obj) {
    - using apache::thrift::to_string;
    +void TOpenSessionResp::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TOpenSessionResp(";
    - out << "status=" << to_string(obj.status);
    - out << ", " << "serverProtocolVersion=" << to_string(obj.serverProtocolVersion);
    - out << ", " << "sessionHandle="; (obj.__isset.sessionHandle ? (out << to_string(obj.sessionHandle)) : (out << "<null>"));
    - out << ", " << "configuration="; (obj.__isset.configuration ? (out << to_string(obj.configuration)) : (out << "<null>"));
    + out << "status=" << to_string(status);
    + out << ", " << "serverProtocolVersion=" << to_string(serverProtocolVersion);
    + out << ", " << "sessionHandle="; (__isset.sessionHandle ? (out << to_string(sessionHandle)) : (out << "<null>"));
    + out << ", " << "configuration="; (__isset.configuration ? (out << to_string(configuration)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -5087,11 +4939,9 @@ void TCloseSessionReq::__set_sessionHandle(const TSessionHandle& val) {
        this->sessionHandle = val;
      }

    -const char* TCloseSessionReq::ascii_fingerprint = "82377107F8BD0526960537D5A112E6EF";
    -const uint8_t TCloseSessionReq::binary_fingerprint[16] = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
    -
      uint32_t TCloseSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5135,7 +4985,7 @@ uint32_t TCloseSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TCloseSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCloseSessionReq");

        xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -5144,7 +4994,6 @@ uint32_t TCloseSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) c

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -5160,12 +5009,11 @@ TCloseSessionReq& TCloseSessionReq::operator=(const TCloseSessionReq& other204)
        sessionHandle = other204.sessionHandle;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TCloseSessionReq& obj) {
    - using apache::thrift::to_string;
    +void TCloseSessionReq::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TCloseSessionReq(";
    - out << "sessionHandle=" << to_string(obj.sessionHandle);
    + out << "sessionHandle=" << to_string(sessionHandle);
        out << ")";
    - return out;
      }


    @@ -5177,11 +5025,9 @@ void TCloseSessionResp::__set_status(const TStatus& val) {
        this->status = val;
      }

    -const char* TCloseSessionResp::ascii_fingerprint = "7142E89F09DC7C5F6FA916C7393F46C2";
    -const uint8_t TCloseSessionResp::binary_fingerprint[16] = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2};
    -
      uint32_t TCloseSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5225,7 +5071,7 @@ uint32_t TCloseSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TCloseSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TCloseSessionResp");

        xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -5234,7 +5080,6 @@ uint32_t TCloseSessionResp::write(::apache::thrift::protocol::TProtocol* oprot)

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -5250,12 +5095,11 @@ TCloseSessionResp& TCloseSessionResp::operator=(const TCloseSessionResp& other20
        status = other206.status;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TCloseSessionResp& obj) {
    - using apache::thrift::to_string;
    +void TCloseSessionResp::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TCloseSessionResp(";
    - out << "status=" << to_string(obj.status);
    + out << "status=" << to_string(status);
        out << ")";
    - return out;
      }


    @@ -5287,11 +5131,9 @@ void TGetInfoValue::__set_lenValue(const int64_t val) {
        this->lenValue = val;
      }

    -const char* TGetInfoValue::ascii_fingerprint = "057FED11279FD7248CFE73EE82ED579E";
    -const uint8_t TGetInfoValue::binary_fingerprint[16] = {0x05,0x7F,0xED,0x11,0x27,0x9F,0xD7,0x24,0x8C,0xFE,0x73,0xEE,0x82,0xED,0x57,0x9E};
    -
      uint32_t TGetInfoValue::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5372,7 +5214,7 @@ uint32_t TGetInfoValue::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TGetInfoValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TGetInfoValue");

        xfer += oprot->writeFieldBegin("stringValue", ::apache::thrift::protocol::T_STRING, 1);
    @@ -5401,7 +5243,6 @@ uint32_t TGetInfoValue::write(::apache::thrift::protocol::TProtocol* oprot) cons

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -5435,17 +5276,16 @@ TGetInfoValue& TGetInfoValue::operator=(const TGetInfoValue& other208) {
        __isset = other208.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TGetInfoValue& obj) {
    - using apache::thrift::to_string;
    +void TGetInfoValue::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TGetInfoValue(";
    - out << "stringValue=" << to_string(obj.stringValue);
    - out << ", " << "smallIntValue=" << to_string(obj.smallIntValue);
    - out << ", " << "integerBitmask=" << to_string(obj.integerBitmask);
    - out << ", " << "integerFlag=" << to_string(obj.integerFlag);
    - out << ", " << "binaryValue=" << to_string(obj.binaryValue);
    - out << ", " << "lenValue=" << to_string(obj.lenValue);
    + out << "stringValue=" << to_string(stringValue);
    + out << ", " << "smallIntValue=" << to_string(smallIntValue);
    + out << ", " << "integerBitmask=" << to_string(integerBitmask);
    + out << ", " << "integerFlag=" << to_string(integerFlag);
    + out << ", " << "binaryValue=" << to_string(binaryValue);
    + out << ", " << "lenValue=" << to_string(lenValue);
        out << ")";
    - return out;
      }


    @@ -5461,11 +5301,9 @@ void TGetInfoReq::__set_infoType(const TGetInfoType::type val) {
        this->infoType = val;
      }

    -const char* TGetInfoReq::ascii_fingerprint = "95675B1A0BADE5F7EDE323809DB679B2";
    -const uint8_t TGetInfoReq::binary_fingerprint[16] = {0x95,0x67,0x5B,0x1A,0x0B,0xAD,0xE5,0xF7,0xED,0xE3,0x23,0x80,0x9D,0xB6,0x79,0xB2};
    -
      uint32_t TGetInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5522,7 +5360,7 @@ uint32_t TGetInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TGetInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TGetInfoReq");

        xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -5535,7 +5373,6 @@ uint32_t TGetInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -5554,13 +5391,12 @@ TGetInfoReq& TGetInfoReq::operator=(const TGetInfoReq& other211) {
        infoType = other211.infoType;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TGetInfoReq& obj) {
    - using apache::thrift::to_string;
    +void TGetInfoReq::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TGetInfoReq(";
    - out << "sessionHandle=" << to_string(obj.sessionHandle);
    - out << ", " << "infoType=" << to_string(obj.infoType);
    + out << "sessionHandle=" << to_string(sessionHandle);
    + out << ", " << "infoType=" << to_string(infoType);
        out << ")";
    - return out;
      }


    @@ -5576,11 +5412,9 @@ void TGetInfoResp::__set_infoValue(const TGetInfoValue& val) {
        this->infoValue = val;
      }

    -const char* TGetInfoResp::ascii_fingerprint = "72AFA10A82728B51FDE91092012868DE";
    -const uint8_t TGetInfoResp::binary_fingerprint[16] = {0x72,0xAF,0xA1,0x0A,0x82,0x72,0x8B,0x51,0xFD,0xE9,0x10,0x92,0x01,0x28,0x68,0xDE};
    -
      uint32_t TGetInfoResp::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5635,7 +5469,7 @@ uint32_t TGetInfoResp::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TGetInfoResp::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TGetInfoResp");

        xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -5648,7 +5482,6 @@ uint32_t TGetInfoResp::write(::apache::thrift::protocol::TProtocol* oprot) const

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -5667,13 +5500,12 @@ TGetInfoResp& TGetInfoResp::operator=(const TGetInfoResp& other213) {
        infoValue = other213.infoValue;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TGetInfoResp& obj) {
    - using apache::thrift::to_string;
    +void TGetInfoResp::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TGetInfoResp(";
    - out << "status=" << to_string(obj.status);
    - out << ", " << "infoValue=" << to_string(obj.infoValue);
    + out << "status=" << to_string(status);
    + out << ", " << "infoValue=" << to_string(infoValue);
        out << ")";
    - return out;
      }


    @@ -5699,11 +5531,9 @@ void TExecuteStatementReq::__set_runAsync(const bool val) {
      __isset.runAsync = true;
      }

    -const char* TExecuteStatementReq::ascii_fingerprint = "FED75DB77E66D76EC1939A51FB0D96FA";
    -const uint8_t TExecuteStatementReq::binary_fingerprint[16] = {0xFE,0xD7,0x5D,0xB7,0x7E,0x66,0xD7,0x6E,0xC1,0x93,0x9A,0x51,0xFB,0x0D,0x96,0xFA};
    -
      uint32_t TExecuteStatementReq::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5789,7 +5619,7 @@ uint32_t TExecuteStatementReq::read(::apache::thrift::protocol::TProtocol* iprot

      uint32_t TExecuteStatementReq::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TExecuteStatementReq");

        xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -5821,7 +5651,6 @@ uint32_t TExecuteStatementReq::write(::apache::thrift::protocol::TProtocol* opro
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -5849,15 +5678,14 @@ TExecuteStatementReq& TExecuteStatementReq::operator=(const TExecuteStatementReq
        __isset = other223.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TExecuteStatementReq& obj) {
    - using apache::thrift::to_string;
    +void TExecuteStatementReq::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TExecuteStatementReq(";
    - out << "sessionHandle=" << to_string(obj.sessionHandle);
    - out << ", " << "statement=" << to_string(obj.statement);
    - out << ", " << "confOverlay="; (obj.__isset.confOverlay ? (out << to_string(obj.confOverlay)) : (out << "<null>"));
    - out << ", " << "runAsync="; (obj.__isset.runAsync ? (out << to_string(obj.runAsync)) : (out << "<null>"));
    + out << "sessionHandle=" << to_string(sessionHandle);
    + out << ", " << "statement=" << to_string(statement);
    + out << ", " << "confOverlay="; (__isset.confOverlay ? (out << to_string(confOverlay)) : (out << "<null>"));
    + out << ", " << "runAsync="; (__isset.runAsync ? (out << to_string(runAsync)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -5874,11 +5702,9 @@ void TExecuteStatementResp::__set_operationHandle(const TOperationHandle& val) {
      __isset.operationHandle = true;
      }

    -const char* TExecuteStatementResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286";
    -const uint8_t TExecuteStatementResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
    -
      uint32_t TExecuteStatementResp::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5930,7 +5756,7 @@ uint32_t TExecuteStatementResp::read(::apache::thrift::protocol::TProtocol* ipro

      uint32_t TExecuteStatementResp::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TExecuteStatementResp");

        xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -5944,7 +5770,6 @@ uint32_t TExecuteStatementResp::write(::apache::thrift::protocol::TProtocol* opr
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -5966,13 +5791,12 @@ TExecuteStatementResp& TExecuteStatementResp::operator=(const TExecuteStatementR
        __isset = other225.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TExecuteStatementResp& obj) {
    - using apache::thrift::to_string;
    +void TExecuteStatementResp::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TExecuteStatementResp(";
    - out << "status=" << to_string(obj.status);
    - out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "<null>"));
    + out << "status=" << to_string(status);
    + out << ", " << "operationHandle="; (__isset.operationHandle ? (out << to_string(operationHandle)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -5984,11 +5808,9 @@ void TGetTypeInfoReq::__set_sessionHandle(const TSessionHandle& val) {
        this->sessionHandle = val;
      }

    -const char* TGetTypeInfoReq::ascii_fingerprint = "82377107F8BD0526960537D5A112E6EF";
    -const uint8_t TGetTypeInfoReq::binary_fingerprint[16] = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
    -
      uint32_t TGetTypeInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -6032,7 +5854,7 @@ uint32_t TGetTypeInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TGetTypeInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TGetTypeInfoReq");

        xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -6041,7 +5863,6 @@ uint32_t TGetTypeInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) co

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -6057,12 +5878,11 @@ TGetTypeInfoReq& TGetTypeInfoReq::operator=(const TGetTypeInfoReq& other227) {
        sessionHandle = other227.sessionHandle;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TGetTypeInfoReq& obj) {
    - using apache::thrift::to_str

    <TRUNCATED>
  • Gates at Jan 15, 2016 at 1:17 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-cpp/megastruct_types.h
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-cpp/megastruct_types.h b/serde/src/gen/thrift/gen-cpp/megastruct_types.h
    index e4985dc..d04a814 100644
    --- a/serde/src/gen/thrift/gen-cpp/megastruct_types.h
    +++ b/serde/src/gen/thrift/gen-cpp/megastruct_types.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -41,9 +41,6 @@ typedef struct _MiniStruct__isset {
      class MiniStruct {
       public:

    - static const char* ascii_fingerprint; // = "4ED2B10931906B61ED0B1592EE860A37";
    - static const uint8_t binary_fingerprint[16]; // = {0x4E,0xD2,0xB1,0x09,0x31,0x90,0x6B,0x61,0xED,0x0B,0x15,0x92,0xEE,0x86,0x0A,0x37};
    -
        MiniStruct(const MiniStruct&);
        MiniStruct& operator=(const MiniStruct&);
        MiniStruct() : my_string(), my_enum((MyEnum::type)0) {
    @@ -80,11 +77,17 @@ class MiniStruct {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const MiniStruct& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(MiniStruct &a, MiniStruct &b);

    +inline std::ostream& operator<<(std::ostream& out, const MiniStruct& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _MegaStruct__isset {
        _MegaStruct__isset() : my_bool(false), my_byte(false), my_16bit_int(false), my_32bit_int(false), my_64bit_int(false), my_double(false), my_string(false), my_binary(false), my_string_string_map(false), my_string_enum_map(false), my_enum_string_map(false), my_enum_struct_map(false), my_enum_stringlist_map(false), my_enum_structlist_map(false), my_stringlist(false), my_structlist(false), my_enumlist(false), my_stringset(false), my_enumset(false), my_structset(false) {}
        bool my_bool :1;
    @@ -112,9 +115,6 @@ typedef struct _MegaStruct__isset {
      class MegaStruct {
       public:

    - static const char* ascii_fingerprint; // = "9979EEF0CA19988228E64220A3AA9120";
    - static const uint8_t binary_fingerprint[16]; // = {0x99,0x79,0xEE,0xF0,0xCA,0x19,0x98,0x82,0x28,0xE6,0x42,0x20,0xA3,0xAA,0x91,0x20};
    -
        MegaStruct(const MegaStruct&);
        MegaStruct& operator=(const MegaStruct&);
        MegaStruct() : my_bool(0), my_byte(0), my_16bit_int(0), my_32bit_int(0), my_64bit_int(0), my_double(0), my_string(), my_binary() {
    @@ -277,11 +277,17 @@ class MegaStruct {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const MegaStruct& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(MegaStruct &a, MegaStruct &b);

    +inline std::ostream& operator<<(std::ostream& out, const MegaStruct& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +


      #endif

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-cpp/serde_constants.cpp
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-cpp/serde_constants.cpp b/serde/src/gen/thrift/gen-cpp/serde_constants.cpp
    index 196a46f..ce4c250 100644
    --- a/serde/src/gen/thrift/gen-cpp/serde_constants.cpp
    +++ b/serde/src/gen/thrift/gen-cpp/serde_constants.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-cpp/serde_constants.h
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-cpp/serde_constants.h b/serde/src/gen/thrift/gen-cpp/serde_constants.h
    index 36bd175..3574b7b 100644
    --- a/serde/src/gen/thrift/gen-cpp/serde_constants.h
    +++ b/serde/src/gen/thrift/gen-cpp/serde_constants.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-cpp/serde_types.cpp
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-cpp/serde_types.cpp b/serde/src/gen/thrift/gen-cpp/serde_types.cpp
    index a37ff7c..c05f86d 100644
    --- a/serde/src/gen/thrift/gen-cpp/serde_types.cpp
    +++ b/serde/src/gen/thrift/gen-cpp/serde_types.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-cpp/serde_types.h
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-cpp/serde_types.h b/serde/src/gen/thrift/gen-cpp/serde_types.h
    index eb7659a..bdaab33 100644
    --- a/serde/src/gen/thrift/gen-cpp/serde_types.h
    +++ b/serde/src/gen/thrift/gen-cpp/serde_types.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp b/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp
    index 0fa57e7..9538dae 100644
    --- a/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp
    +++ b/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-cpp/testthrift_constants.h
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_constants.h b/serde/src/gen/thrift/gen-cpp/testthrift_constants.h
    index cba3296..45fdc28 100644
    --- a/serde/src/gen/thrift/gen-cpp/testthrift_constants.h
    +++ b/serde/src/gen/thrift/gen-cpp/testthrift_constants.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp b/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp
    index 0cd19b9..c76e2fd 100644
    --- a/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp
    +++ b/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -22,11 +22,9 @@ void InnerStruct::__set_field0(const int32_t val) {
        this->field0 = val;
      }

    -const char* InnerStruct::ascii_fingerprint = "E86CACEB22240450EDCBEFC3A83970E4";
    -const uint8_t InnerStruct::binary_fingerprint[16] = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};
    -
      uint32_t InnerStruct::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -67,7 +65,7 @@ uint32_t InnerStruct::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t InnerStruct::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("InnerStruct");

        xfer += oprot->writeFieldBegin("field0", ::apache::thrift::protocol::T_I32, 1);
    @@ -76,7 +74,6 @@ uint32_t InnerStruct::write(::apache::thrift::protocol::TProtocol* oprot) const

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -95,12 +92,11 @@ InnerStruct& InnerStruct::operator=(const InnerStruct& other1) {
        __isset = other1.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const InnerStruct& obj) {
    - using apache::thrift::to_string;
    +void InnerStruct::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "InnerStruct(";
    - out << "field0=" << to_string(obj.field0);
    + out << "field0=" << to_string(field0);
        out << ")";
    - return out;
      }


    @@ -120,11 +116,9 @@ void ThriftTestObj::__set_field3(const std::vector<InnerStruct> & val) {
        this->field3 = val;
      }

    -const char* ThriftTestObj::ascii_fingerprint = "2BA5D8DAACFBBE6599779830A6185706";
    -const uint8_t ThriftTestObj::binary_fingerprint[16] = {0x2B,0xA5,0xD8,0xDA,0xAC,0xFB,0xBE,0x65,0x99,0x77,0x98,0x30,0xA6,0x18,0x57,0x06};
    -
      uint32_t ThriftTestObj::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -193,7 +187,7 @@ uint32_t ThriftTestObj::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t ThriftTestObj::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    - oprot->incrementRecursionDepth();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftTestObj");

        xfer += oprot->writeFieldBegin("field1", ::apache::thrift::protocol::T_I32, 1);
    @@ -218,7 +212,6 @@ uint32_t ThriftTestObj::write(::apache::thrift::protocol::TProtocol* oprot) cons

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -243,14 +236,13 @@ ThriftTestObj& ThriftTestObj::operator=(const ThriftTestObj& other9) {
        __isset = other9.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const ThriftTestObj& obj) {
    - using apache::thrift::to_string;
    +void ThriftTestObj::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "ThriftTestObj(";
    - out << "field1=" << to_string(obj.field1);
    - out << ", " << "field2=" << to_string(obj.field2);
    - out << ", " << "field3=" << to_string(obj.field3);
    + out << "field1=" << to_string(field1);
    + out << ", " << "field2=" << to_string(field2);
    + out << ", " << "field3=" << to_string(field3);
        out << ")";
    - return out;
      }



    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-cpp/testthrift_types.h
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_types.h b/serde/src/gen/thrift/gen-cpp/testthrift_types.h
    index 8c57e48..a59346a 100644
    --- a/serde/src/gen/thrift/gen-cpp/testthrift_types.h
    +++ b/serde/src/gen/thrift/gen-cpp/testthrift_types.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -31,9 +31,6 @@ typedef struct _InnerStruct__isset {
      class InnerStruct {
       public:

    - static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4";
    - static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};
    -
        InnerStruct(const InnerStruct&);
        InnerStruct& operator=(const InnerStruct&);
        InnerStruct() : field0(0) {
    @@ -61,11 +58,17 @@ class InnerStruct {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const InnerStruct& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(InnerStruct &a, InnerStruct &b);

    +inline std::ostream& operator<<(std::ostream& out, const InnerStruct& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _ThriftTestObj__isset {
        _ThriftTestObj__isset() : field1(false), field2(false), field3(false) {}
        bool field1 :1;
    @@ -76,9 +79,6 @@ typedef struct _ThriftTestObj__isset {
      class ThriftTestObj {
       public:

    - static const char* ascii_fingerprint; // = "2BA5D8DAACFBBE6599779830A6185706";
    - static const uint8_t binary_fingerprint[16]; // = {0x2B,0xA5,0xD8,0xDA,0xAC,0xFB,0xBE,0x65,0x99,0x77,0x98,0x30,0xA6,0x18,0x57,0x06};
    -
        ThriftTestObj(const ThriftTestObj&);
        ThriftTestObj& operator=(const ThriftTestObj&);
        ThriftTestObj() : field1(0), field2() {
    @@ -116,11 +116,17 @@ class ThriftTestObj {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const ThriftTestObj& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(ThriftTestObj &a, ThriftTestObj &b);

    +inline std::ostream& operator<<(std::ostream& out, const ThriftTestObj& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +


      #endif

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java
    index f12d4c7..400ea96 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java
    index db325af..0d4b9bb 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class InnerStruct implements org.apache.thrift.TBase<InnerStruct, InnerStruct._Fields>, java.io.Serializable, Cloneable, Comparable<InnerStruct> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerStruct");

    @@ -185,7 +185,7 @@ public class InnerStruct implements org.apache.thrift.TBase<InnerStruct, InnerSt
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case FIELD0:
    - return Integer.valueOf(getField0());
    + return getField0();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java
    index 1232ff9..e0a297e 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class ThriftTestObj implements org.apache.thrift.TBase<ThriftTestObj, ThriftTestObj._Fields>, java.io.Serializable, Cloneable, Comparable<ThriftTestObj> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ThriftTestObj");

    @@ -293,7 +293,7 @@ public class ThriftTestObj implements org.apache.thrift.TBase<ThriftTestObj, Thr
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case FIELD1:
    - return Integer.valueOf(getField1());
    + return getField1();

          case FIELD2:
            return getField2();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java
    index 4d2f5bf..f4343c2 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class Complex implements org.apache.thrift.TBase<Complex, Complex._Fields>, java.io.Serializable, Cloneable, Comparable<Complex> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Complex");

    @@ -700,7 +700,7 @@ public class Complex implements org.apache.thrift.TBase<Complex, Complex._Fields
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case AINT:
    - return Integer.valueOf(getAint());
    + return getAint();

          case A_STRING:
            return getAString();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java
    index 23d7363..d4ed67f 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class IntString implements org.apache.thrift.TBase<IntString, IntString._Fields>, java.io.Serializable, Cloneable, Comparable<IntString> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("IntString");

    @@ -273,13 +273,13 @@ public class IntString implements org.apache.thrift.TBase<IntString, IntString._
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case MYINT:
    - return Integer.valueOf(getMyint());
    + return getMyint();

          case MY_STRING:
            return getMyString();

          case UNDERSCORE_INT:
    - return Integer.valueOf(getUnderscore_int());
    + return getUnderscore_int();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java
    index 9447708..35db5bb 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class MegaStruct implements org.apache.thrift.TBase<MegaStruct, MegaStruct._Fields>, java.io.Serializable, Cloneable, Comparable<MegaStruct> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("MegaStruct");

    @@ -1238,22 +1238,22 @@ public class MegaStruct implements org.apache.thrift.TBase<MegaStruct, MegaStruc
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case MY_BOOL:
    - return Boolean.valueOf(isMy_bool());
    + return isMy_bool();

          case MY_BYTE:
    - return Byte.valueOf(getMy_byte());
    + return getMy_byte();

          case MY_16BIT_INT:
    - return Short.valueOf(getMy_16bit_int());
    + return getMy_16bit_int();

          case MY_32BIT_INT:
    - return Integer.valueOf(getMy_32bit_int());
    + return getMy_32bit_int();

          case MY_64BIT_INT:
    - return Long.valueOf(getMy_64bit_int());
    + return getMy_64bit_int();

          case MY_DOUBLE:
    - return Double.valueOf(getMy_double());
    + return getMy_double();

          case MY_STRING:
            return getMy_string();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java
    index d8c46f4..125e45d 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class MiniStruct implements org.apache.thrift.TBase<MiniStruct, MiniStruct._Fields>, java.io.Serializable, Cloneable, Comparable<MiniStruct> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("MiniStruct");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java
    index 03f88c5..e5baf36 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java
    index 2a70482..92d5a0a 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java
    index 58498b0..fb7dc37 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class SetIntString implements org.apache.thrift.TBase<SetIntString, SetIntString._Fields>, java.io.Serializable, Cloneable, Comparable<SetIntString> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SetIntString");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-php/Types.php
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-php/Types.php b/serde/src/gen/thrift/gen-php/Types.php
    index 8bb2fe3..27c5b25 100644
    --- a/serde/src/gen/thrift/gen-php/Types.php
    +++ b/serde/src/gen/thrift/gen-php/Types.php
    @@ -1,8 +1,6 @@
      <?php
    -namespace ;
    -
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php b/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php
    index 2475cc8..08d2b7e 100644
    --- a/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php
    +++ b/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php
    @@ -2,7 +2,7 @@
      namespace org\apache\hadoop\hive\serde;

      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-py/complex/constants.py
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-py/complex/constants.py b/serde/src/gen/thrift/gen-py/complex/constants.py
    index 99717a9..4a6492b 100644
    --- a/serde/src/gen/thrift/gen-py/complex/constants.py
    +++ b/serde/src/gen/thrift/gen-py/complex/constants.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-py/complex/ttypes.py
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-py/complex/ttypes.py b/serde/src/gen/thrift/gen-py/complex/ttypes.py
    index 7f757da..d39de75 100644
    --- a/serde/src/gen/thrift/gen-py/complex/ttypes.py
    +++ b/serde/src/gen/thrift/gen-py/complex/ttypes.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
    @@ -60,27 +60,27 @@ class PropValueUnion:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.intValue = iprot.readI32();
    + self.intValue = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I64:
    - self.longValue = iprot.readI64();
    + self.longValue = iprot.readI64()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.stringValue = iprot.readString();
    + self.stringValue = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.DOUBLE:
    - self.doubleValue = iprot.readDouble();
    + self.doubleValue = iprot.readDouble()
              else:
                iprot.skip(ftype)
            elif fid == 5:
              if ftype == TType.BOOL:
    - self.flag = iprot.readBool();
    + self.flag = iprot.readBool()
              else:
                iprot.skip(ftype)
            elif fid == 6:
    @@ -88,7 +88,7 @@ class PropValueUnion:
                self.lString = []
                (_etype3, _size0) = iprot.readListBegin()
                for _i4 in xrange(_size0):
    - _elem5 = iprot.readString();
    + _elem5 = iprot.readString()
                  self.lString.append(_elem5)
                iprot.readListEnd()
              else:
    @@ -98,8 +98,8 @@ class PropValueUnion:
                self.unionMStringString = {}
                (_ktype7, _vtype8, _size6 ) = iprot.readMapBegin()
                for _i10 in xrange(_size6):
    - _key11 = iprot.readString();
    - _val12 = iprot.readString();
    + _key11 = iprot.readString()
    + _val12 = iprot.readString()
                  self.unionMStringString[_key11] = _val12
                iprot.readMapEnd()
              else:
    @@ -209,17 +209,17 @@ class IntString:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.myint = iprot.readI32();
    + self.myint = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.myString = iprot.readString();
    + self.myString = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.I32:
    - self.underscore_int = iprot.readI32();
    + self.underscore_int = iprot.readI32()
              else:
                iprot.skip(ftype)
            else:
    @@ -321,12 +321,12 @@ class Complex:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.aint = iprot.readI32();
    + self.aint = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.aString = iprot.readString();
    + self.aString = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
    @@ -334,7 +334,7 @@ class Complex:
                self.lint = []
                (_etype19, _size16) = iprot.readListBegin()
                for _i20 in xrange(_size16):
    - _elem21 = iprot.readI32();
    + _elem21 = iprot.readI32()
                  self.lint.append(_elem21)
                iprot.readListEnd()
              else:
    @@ -344,7 +344,7 @@ class Complex:
                self.lString = []
                (_etype25, _size22) = iprot.readListBegin()
                for _i26 in xrange(_size22):
    - _elem27 = iprot.readString();
    + _elem27 = iprot.readString()
                  self.lString.append(_elem27)
                iprot.readListEnd()
              else:
    @@ -365,8 +365,8 @@ class Complex:
                self.mStringString = {}
                (_ktype35, _vtype36, _size34 ) = iprot.readMapBegin()
                for _i38 in xrange(_size34):
    - _key39 = iprot.readString();
    - _val40 = iprot.readString();
    + _key39 = iprot.readString()
    + _val40 = iprot.readString()
                  self.mStringString[_key39] = _val40
                iprot.readMapEnd()
              else:
    @@ -376,15 +376,15 @@ class Complex:
                self.attributes = {}
                (_ktype42, _vtype43, _size41 ) = iprot.readMapBegin()
                for _i45 in xrange(_size41):
    - _key46 = iprot.readString();
    + _key46 = iprot.readString()
                  _val47 = {}
                  (_ktype49, _vtype50, _size48 ) = iprot.readMapBegin()
                  for _i52 in xrange(_size48):
    - _key53 = iprot.readString();
    + _key53 = iprot.readString()
                    _val54 = {}
                    (_ktype56, _vtype57, _size55 ) = iprot.readMapBegin()
                    for _i59 in xrange(_size55):
    - _key60 = iprot.readString();
    + _key60 = iprot.readString()
                      _val61 = PropValueUnion()
                      _val61.read(iprot)
                      _val54[_key60] = _val61
    @@ -559,7 +559,7 @@ class SetIntString:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.aString = iprot.readString();
    + self.aString = iprot.readString()
              else:
                iprot.skip(ftype)
            else:

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-py/megastruct/constants.py
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-py/megastruct/constants.py b/serde/src/gen/thrift/gen-py/megastruct/constants.py
    index 99717a9..4a6492b 100644
    --- a/serde/src/gen/thrift/gen-py/megastruct/constants.py
    +++ b/serde/src/gen/thrift/gen-py/megastruct/constants.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-py/megastruct/ttypes.py
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-py/megastruct/ttypes.py b/serde/src/gen/thrift/gen-py/megastruct/ttypes.py
    index c4c5a7f..93c9250 100644
    --- a/serde/src/gen/thrift/gen-py/megastruct/ttypes.py
    +++ b/serde/src/gen/thrift/gen-py/megastruct/ttypes.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
    @@ -59,12 +59,12 @@ class MiniStruct:
              break
            if fid == 1:
              if ftype == TType.STRING:
    - self.my_string = iprot.readString();
    + self.my_string = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I32:
    - self.my_enum = iprot.readI32();
    + self.my_enum = iprot.readI32()
              else:
                iprot.skip(ftype)
            else:
    @@ -191,42 +191,42 @@ class MegaStruct:
              break
            if fid == 1:
              if ftype == TType.BOOL:
    - self.my_bool = iprot.readBool();
    + self.my_bool = iprot.readBool()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.BYTE:
    - self.my_byte = iprot.readByte();
    + self.my_byte = iprot.readByte()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.I16:
    - self.my_16bit_int = iprot.readI16();
    + self.my_16bit_int = iprot.readI16()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.I32:
    - self.my_32bit_int = iprot.readI32();
    + self.my_32bit_int = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 5:
              if ftype == TType.I64:
    - self.my_64bit_int = iprot.readI64();
    + self.my_64bit_int = iprot.readI64()
              else:
                iprot.skip(ftype)
            elif fid == 6:
              if ftype == TType.DOUBLE:
    - self.my_double = iprot.readDouble();
    + self.my_double = iprot.readDouble()
              else:
                iprot.skip(ftype)
            elif fid == 7:
              if ftype == TType.STRING:
    - self.my_string = iprot.readString();
    + self.my_string = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 8:
              if ftype == TType.STRING:
    - self.my_binary = iprot.readString();
    + self.my_binary = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 9:
    @@ -234,8 +234,8 @@ class MegaStruct:
                self.my_string_string_map = {}
                (_ktype1, _vtype2, _size0 ) = iprot.readMapBegin()
                for _i4 in xrange(_size0):
    - _key5 = iprot.readString();
    - _val6 = iprot.readString();
    + _key5 = iprot.readString()
    + _val6 = iprot.readString()
                  self.my_string_string_map[_key5] = _val6
                iprot.readMapEnd()
              else:
    @@ -245,8 +245,8 @@ class MegaStruct:
                self.my_string_enum_map = {}
                (_ktype8, _vtype9, _size7 ) = iprot.readMapBegin()
                for _i11 in xrange(_size7):
    - _key12 = iprot.readString();
    - _val13 = iprot.readI32();
    + _key12 = iprot.readString()
    + _val13 = iprot.readI32()
                  self.my_string_enum_map[_key12] = _val13
                iprot.readMapEnd()
              else:
    @@ -256,8 +256,8 @@ class MegaStruct:
                self.my_enum_string_map = {}
                (_ktype15, _vtype16, _size14 ) = iprot.readMapBegin()
                for _i18 in xrange(_size14):
    - _key19 = iprot.readI32();
    - _val20 = iprot.readString();
    + _key19 = iprot.readI32()
    + _val20 = iprot.readString()
                  self.my_enum_string_map[_key19] = _val20
                iprot.readMapEnd()
              else:
    @@ -267,7 +267,7 @@ class MegaStruct:
                self.my_enum_struct_map = {}
                (_ktype22, _vtype23, _size21 ) = iprot.readMapBegin()
                for _i25 in xrange(_size21):
    - _key26 = iprot.readI32();
    + _key26 = iprot.readI32()
                  _val27 = MiniStruct()
                  _val27.read(iprot)
                  self.my_enum_struct_map[_key26] = _val27
    @@ -279,11 +279,11 @@ class MegaStruct:
                self.my_enum_stringlist_map = {}
                (_ktype29, _vtype30, _size28 ) = iprot.readMapBegin()
                for _i32 in xrange(_size28):
    - _key33 = iprot.readI32();
    + _key33 = iprot.readI32()
                  _val34 = []
                  (_etype38, _size35) = iprot.readListBegin()
                  for _i39 in xrange(_size35):
    - _elem40 = iprot.readString();
    + _elem40 = iprot.readString()
                    _val34.append(_elem40)
                  iprot.readListEnd()
                  self.my_enum_stringlist_map[_key33] = _val34
    @@ -295,7 +295,7 @@ class MegaStruct:
                self.my_enum_structlist_map = {}
                (_ktype42, _vtype43, _size41 ) = iprot.readMapBegin()
                for _i45 in xrange(_size41):
    - _key46 = iprot.readI32();
    + _key46 = iprot.readI32()
                  _val47 = []
                  (_etype51, _size48) = iprot.readListBegin()
                  for _i52 in xrange(_size48):
    @@ -312,7 +312,7 @@ class MegaStruct:
                self.my_stringlist = []
                (_etype57, _size54) = iprot.readListBegin()
                for _i58 in xrange(_size54):
    - _elem59 = iprot.readString();
    + _elem59 = iprot.readString()
                  self.my_stringlist.append(_elem59)
                iprot.readListEnd()
              else:
    @@ -333,7 +333,7 @@ class MegaStruct:
                self.my_enumlist = []
                (_etype69, _size66) = iprot.readListBegin()
                for _i70 in xrange(_size66):
    - _elem71 = iprot.readI32();
    + _elem71 = iprot.readI32()
                  self.my_enumlist.append(_elem71)
                iprot.readListEnd()
              else:
    @@ -343,7 +343,7 @@ class MegaStruct:
                self.my_stringset = set()
                (_etype75, _size72) = iprot.readSetBegin()
                for _i76 in xrange(_size72):
    - _elem77 = iprot.readString();
    + _elem77 = iprot.readString()
                  self.my_stringset.add(_elem77)
                iprot.readSetEnd()
              else:
    @@ -353,7 +353,7 @@ class MegaStruct:
                self.my_enumset = set()
                (_etype81, _size78) = iprot.readSetBegin()
                for _i82 in xrange(_size78):
    - _elem83 = iprot.readI32();
    + _elem83 = iprot.readI32()
                  self.my_enumset.add(_elem83)
                iprot.readSetEnd()
              else:

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py
    index 27a6cdb..da47f89 100644
    --- a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py
    +++ b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py
    index daa619e..8621257 100644
    --- a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py
    +++ b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-py/testthrift/constants.py
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-py/testthrift/constants.py b/serde/src/gen/thrift/gen-py/testthrift/constants.py
    index 99717a9..4a6492b 100644
    --- a/serde/src/gen/thrift/gen-py/testthrift/constants.py
    +++ b/serde/src/gen/thrift/gen-py/testthrift/constants.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-py/testthrift/ttypes.py
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-py/testthrift/ttypes.py b/serde/src/gen/thrift/gen-py/testthrift/ttypes.py
    index 1b64a7d..133a602 100644
    --- a/serde/src/gen/thrift/gen-py/testthrift/ttypes.py
    +++ b/serde/src/gen/thrift/gen-py/testthrift/ttypes.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
    @@ -42,7 +42,7 @@ class InnerStruct:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.field0 = iprot.readI32();
    + self.field0 = iprot.readI32()
              else:
                iprot.skip(ftype)
            else:
    @@ -113,12 +113,12 @@ class ThriftTestObj:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.field1 = iprot.readI32();
    + self.field1 = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.field2 = iprot.readString();
    + self.field2 = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-rb/complex_constants.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/complex_constants.rb b/serde/src/gen/thrift/gen-rb/complex_constants.rb
    index 3df0b7a..8b75421 100644
    --- a/serde/src/gen/thrift/gen-rb/complex_constants.rb
    +++ b/serde/src/gen/thrift/gen-rb/complex_constants.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-rb/complex_types.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/complex_types.rb b/serde/src/gen/thrift/gen-rb/complex_types.rb
    index 13d981f..8a03efd 100644
    --- a/serde/src/gen/thrift/gen-rb/complex_types.rb
    +++ b/serde/src/gen/thrift/gen-rb/complex_types.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-rb/megastruct_constants.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/megastruct_constants.rb b/serde/src/gen/thrift/gen-rb/megastruct_constants.rb
    index 6eb3f07..ab01193 100644
    --- a/serde/src/gen/thrift/gen-rb/megastruct_constants.rb
    +++ b/serde/src/gen/thrift/gen-rb/megastruct_constants.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-rb/megastruct_types.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/megastruct_types.rb b/serde/src/gen/thrift/gen-rb/megastruct_types.rb
    index 7d425af..fb8ccdf 100644
    --- a/serde/src/gen/thrift/gen-rb/megastruct_types.rb
    +++ b/serde/src/gen/thrift/gen-rb/megastruct_types.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-rb/serde_constants.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/serde_constants.rb b/serde/src/gen/thrift/gen-rb/serde_constants.rb
    index 2eb4754..4386490 100644
    --- a/serde/src/gen/thrift/gen-rb/serde_constants.rb
    +++ b/serde/src/gen/thrift/gen-rb/serde_constants.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-rb/serde_types.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/serde_types.rb b/serde/src/gen/thrift/gen-rb/serde_types.rb
    index b3143d1..3bf85ab 100644
    --- a/serde/src/gen/thrift/gen-rb/serde_types.rb
    +++ b/serde/src/gen/thrift/gen-rb/serde_types.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-rb/testthrift_constants.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/testthrift_constants.rb b/serde/src/gen/thrift/gen-rb/testthrift_constants.rb
    index 1f9473e..a793bf2 100644
    --- a/serde/src/gen/thrift/gen-rb/testthrift_constants.rb
    +++ b/serde/src/gen/thrift/gen-rb/testthrift_constants.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/serde/src/gen/thrift/gen-rb/testthrift_types.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/testthrift_types.rb b/serde/src/gen/thrift/gen-rb/testthrift_types.rb
    index 80d5572..f265d42 100644
    --- a/serde/src/gen/thrift/gen-rb/testthrift_types.rb
    +++ b/serde/src/gen/thrift/gen-rb/testthrift_types.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
  • Gates at Jan 15, 2016 at 1:17 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java
    index ab48bf7..46c71ee 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java
    index df793b1..50daa97 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class ThriftHive {

        public interface Iface extends org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Iface {
    @@ -2951,7 +2951,7 @@ public class ThriftHive {
          public Object getFieldValue(_Fields field) {
            switch (field) {
            case NUM_ROWS:
    - return Integer.valueOf(getNumRows());
    + return getNumRows();

            }
            throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java
    index 5625516..9629501 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TArrayTypeEntry implements org.apache.thrift.TBase<TArrayTypeEntry, TArrayTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TArrayTypeEntry> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TArrayTypeEntry");

    @@ -185,7 +185,7 @@ public class TArrayTypeEntry implements org.apache.thrift.TBase<TArrayTypeEntry,
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case OBJECT_TYPE_PTR:
    - return Integer.valueOf(getObjectTypePtr());
    + return getObjectTypePtr();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java
    index 202399a..338f8fa 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TBinaryColumn implements org.apache.thrift.TBase<TBinaryColumn, TBinaryColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TBinaryColumn> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TBinaryColumn");

    @@ -380,7 +380,7 @@ public class TBinaryColumn implements org.apache.thrift.TBase<TBinaryColumn, TBi
          if (this.values == null) {
            sb.append("null");
          } else {
    - sb.append(this.values);
    + org.apache.thrift.TBaseHelper.toString(this.values, sb);
          }
          first = false;
          if (!first) sb.append(", ");

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java
    index 921e9de..ebd211e 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TBoolColumn implements org.apache.thrift.TBase<TBoolColumn, TBoolColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TBoolColumn> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TBoolColumn");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java
    index 201c9fb..9f9584f 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TBoolValue implements org.apache.thrift.TBase<TBoolValue, TBoolValue._Fields>, java.io.Serializable, Cloneable, Comparable<TBoolValue> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TBoolValue");

    @@ -178,7 +178,7 @@ public class TBoolValue implements org.apache.thrift.TBase<TBoolValue, TBoolValu
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case VALUE:
    - return Boolean.valueOf(isValue());
    + return isValue();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java
    index cd9b6da..460dc10 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TByteColumn implements org.apache.thrift.TBase<TByteColumn, TByteColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TByteColumn> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TByteColumn");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java
    index 42b5bd5..b0e6e95 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TByteValue implements org.apache.thrift.TBase<TByteValue, TByteValue._Fields>, java.io.Serializable, Cloneable, Comparable<TByteValue> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TByteValue");

    @@ -178,7 +178,7 @@ public class TByteValue implements org.apache.thrift.TBase<TByteValue, TByteValu
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case VALUE:
    - return Byte.valueOf(getValue());
    + return getValue();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java
    index 6bdd53d..0bb45aa 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TCLIService {

        public interface Iface {

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java
    index 046eb15..3f46013 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java
    index 1097869..82b330b 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TCancelDelegationTokenReq implements org.apache.thrift.TBase<TCancelDelegationTokenReq, TCancelDelegationTokenReq._Fields>, java.io.Serializable, Cloneable, Comparable<TCancelDelegationTokenReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelDelegationTokenReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java
    index 5469108..c84ef97 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TCancelDelegationTokenResp implements org.apache.thrift.TBase<TCancelDelegationTokenResp, TCancelDelegationTokenResp._Fields>, java.io.Serializable, Cloneable, Comparable<TCancelDelegationTokenResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelDelegationTokenResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java
    index 83d191e..ed5d556 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TCancelOperationReq implements org.apache.thrift.TBase<TCancelOperationReq, TCancelOperationReq._Fields>, java.io.Serializable, Cloneable, Comparable<TCancelOperationReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelOperationReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java
    index b8d96df..cd6600e 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TCancelOperationResp implements org.apache.thrift.TBase<TCancelOperationResp, TCancelOperationResp._Fields>, java.io.Serializable, Cloneable, Comparable<TCancelOperationResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelOperationResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java
    index ca68866..15154b6 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TCloseOperationReq implements org.apache.thrift.TBase<TCloseOperationReq, TCloseOperationReq._Fields>, java.io.Serializable, Cloneable, Comparable<TCloseOperationReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseOperationReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java
    index 092e7e4..a5351c9 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TCloseOperationResp implements org.apache.thrift.TBase<TCloseOperationResp, TCloseOperationResp._Fields>, java.io.Serializable, Cloneable, Comparable<TCloseOperationResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseOperationResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java
    index a5d910f..e69db6f 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TCloseSessionReq implements org.apache.thrift.TBase<TCloseSessionReq, TCloseSessionReq._Fields>, java.io.Serializable, Cloneable, Comparable<TCloseSessionReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseSessionReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java
    index ae4b554..aa44e87 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TCloseSessionResp implements org.apache.thrift.TBase<TCloseSessionResp, TCloseSessionResp._Fields>, java.io.Serializable, Cloneable, Comparable<TCloseSessionResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseSessionResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java
    index 1bda69d..082b9b4 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java
    index e31aa81..471da2b 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TColumnDesc implements org.apache.thrift.TBase<TColumnDesc, TColumnDesc._Fields>, java.io.Serializable, Cloneable, Comparable<TColumnDesc> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumnDesc");

    @@ -322,7 +322,7 @@ public class TColumnDesc implements org.apache.thrift.TBase<TColumnDesc, TColumn
            return getTypeDesc();

          case POSITION:
    - return Integer.valueOf(getPosition());
    + return getPosition();

          case COMMENT:
            return getComment();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java
    index 61aee4d..2c2c6bb 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java
    index 7236d90..38178aa 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TDoubleColumn implements org.apache.thrift.TBase<TDoubleColumn, TDoubleColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TDoubleColumn> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TDoubleColumn");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java
    index 4b0811e..9946a99 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TDoubleValue implements org.apache.thrift.TBase<TDoubleValue, TDoubleValue._Fields>, java.io.Serializable, Cloneable, Comparable<TDoubleValue> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TDoubleValue");

    @@ -178,7 +178,7 @@ public class TDoubleValue implements org.apache.thrift.TBase<TDoubleValue, TDoub
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case VALUE:
    - return Double.valueOf(getValue());
    + return getValue();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java
    index feaed34..a51140c 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TExecuteStatementReq implements org.apache.thrift.TBase<TExecuteStatementReq, TExecuteStatementReq._Fields>, java.io.Serializable, Cloneable, Comparable<TExecuteStatementReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TExecuteStatementReq");

    @@ -338,7 +338,7 @@ public class TExecuteStatementReq implements org.apache.thrift.TBase<TExecuteSta
            return getConfOverlay();

          case RUN_ASYNC:
    - return Boolean.valueOf(isRunAsync());
    + return isRunAsync();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java
    index daf7b5c..01cb91b 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TExecuteStatementResp implements org.apache.thrift.TBase<TExecuteStatementResp, TExecuteStatementResp._Fields>, java.io.Serializable, Cloneable, Comparable<TExecuteStatementResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TExecuteStatementResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java
    index 64713e8..d3fd3f0 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java
    index 47d9a0b..ae15e2c 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TFetchResultsReq implements org.apache.thrift.TBase<TFetchResultsReq, TFetchResultsReq._Fields>, java.io.Serializable, Cloneable, Comparable<TFetchResultsReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TFetchResultsReq");

    @@ -338,10 +338,10 @@ public class TFetchResultsReq implements org.apache.thrift.TBase<TFetchResultsRe
            return getOrientation();

          case MAX_ROWS:
    - return Long.valueOf(getMaxRows());
    + return getMaxRows();

          case FETCH_TYPE:
    - return Short.valueOf(getFetchType());
    + return getFetchType();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java
    index b9f3ef6..b376039 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TFetchResultsResp implements org.apache.thrift.TBase<TFetchResultsResp, TFetchResultsResp._Fields>, java.io.Serializable, Cloneable, Comparable<TFetchResultsResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TFetchResultsResp");

    @@ -272,7 +272,7 @@ public class TFetchResultsResp implements org.apache.thrift.TBase<TFetchResultsR
            return getStatus();

          case HAS_MORE_ROWS:
    - return Boolean.valueOf(isHasMoreRows());
    + return isHasMoreRows();

          case RESULTS:
            return getResults();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java
    index 0e63b9a..3077550 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetCatalogsReq implements org.apache.thrift.TBase<TGetCatalogsReq, TGetCatalogsReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetCatalogsReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetCatalogsReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java
    index 7067ff7..789aef6 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetCatalogsResp implements org.apache.thrift.TBase<TGetCatalogsResp, TGetCatalogsResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetCatalogsResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetCatalogsResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java
    index a153968..a1ac18e 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetColumnsReq implements org.apache.thrift.TBase<TGetColumnsReq, TGetColumnsReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetColumnsReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetColumnsReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java
    index 49ecb98..7be88fc 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetColumnsResp implements org.apache.thrift.TBase<TGetColumnsResp, TGetColumnsResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetColumnsResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetColumnsResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java
    index 2c2fa0f..1352c19 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetDelegationTokenReq implements org.apache.thrift.TBase<TGetDelegationTokenReq, TGetDelegationTokenReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetDelegationTokenReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetDelegationTokenReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java
    index 4222005..d752d79 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetDelegationTokenResp implements org.apache.thrift.TBase<TGetDelegationTokenResp, TGetDelegationTokenResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetDelegationTokenResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetDelegationTokenResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java
    index 5bc0540..7890134 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetFunctionsReq implements org.apache.thrift.TBase<TGetFunctionsReq, TGetFunctionsReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetFunctionsReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetFunctionsReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java
    index a64c948..86b9fa9 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetFunctionsResp implements org.apache.thrift.TBase<TGetFunctionsResp, TGetFunctionsResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetFunctionsResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetFunctionsResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java
    index 7dd6a14..ce7d2e8 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetInfoReq implements org.apache.thrift.TBase<TGetInfoReq, TGetInfoReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetInfoReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetInfoReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java
    index 3e16318..b218e60 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetInfoResp implements org.apache.thrift.TBase<TGetInfoResp, TGetInfoResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetInfoResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetInfoResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java
    index f4dc73d..72385a7 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java
    index af1224d..361e39f 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java
    index f4d5fae..0f2b1e0 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetOperationStatusReq implements org.apache.thrift.TBase<TGetOperationStatusReq, TGetOperationStatusReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetOperationStatusReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetOperationStatusReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java
    index 897f7f5..318dd94 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetOperationStatusResp implements org.apache.thrift.TBase<TGetOperationStatusResp, TGetOperationStatusResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetOperationStatusResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetOperationStatusResp");

    @@ -374,7 +374,7 @@ public class TGetOperationStatusResp implements org.apache.thrift.TBase<TGetOper
            return getSqlState();

          case ERROR_CODE:
    - return Integer.valueOf(getErrorCode());
    + return getErrorCode();

          case ERROR_MESSAGE:
            return getErrorMessage();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java
    index 405ffc6..4268885 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetResultSetMetadataReq implements org.apache.thrift.TBase<TGetResultSetMetadataReq, TGetResultSetMetadataReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetResultSetMetadataReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetResultSetMetadataReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java
    index 3735310..0f264ba 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetResultSetMetadataResp implements org.apache.thrift.TBase<TGetResultSetMetadataResp, TGetResultSetMetadataResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetResultSetMetadataResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetResultSetMetadataResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java
    index 33088b4..258c3de 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetSchemasReq implements org.apache.thrift.TBase<TGetSchemasReq, TGetSchemasReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetSchemasReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetSchemasReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java
    index ec598a3..8912d11 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetSchemasResp implements org.apache.thrift.TBase<TGetSchemasResp, TGetSchemasResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetSchemasResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetSchemasResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java
    index 3e09a64..e7dea59 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetTableTypesReq implements org.apache.thrift.TBase<TGetTableTypesReq, TGetTableTypesReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTableTypesReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTableTypesReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java
    index cdba9b5..2fd56b1 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetTableTypesResp implements org.apache.thrift.TBase<TGetTableTypesResp, TGetTableTypesResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTableTypesResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTableTypesResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java
    index 805e69f..de9e026 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetTablesReq implements org.apache.thrift.TBase<TGetTablesReq, TGetTablesReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTablesReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTablesReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java
    index 0d03dd8..e988184 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetTablesResp implements org.apache.thrift.TBase<TGetTablesResp, TGetTablesResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTablesResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTablesResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java
    index 0628e21..edf795d 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetTypeInfoReq implements org.apache.thrift.TBase<TGetTypeInfoReq, TGetTypeInfoReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTypeInfoReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTypeInfoReq");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java
    index 6058826..9a4b1c8 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TGetTypeInfoResp implements org.apache.thrift.TBase<TGetTypeInfoResp, TGetTypeInfoResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTypeInfoResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTypeInfoResp");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java
    index f20c4d0..4717ac5 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class THandleIdentifier implements org.apache.thrift.TBase<THandleIdentifier, THandleIdentifier._Fields>, java.io.Serializable, Cloneable, Comparable<THandleIdentifier> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("THandleIdentifier");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java
    index 267d109..f33c7c6 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TI16Column implements org.apache.thrift.TBase<TI16Column, TI16Column._Fields>, java.io.Serializable, Cloneable, Comparable<TI16Column> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI16Column");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java
    index ddaf9ef..5c23f11 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TI16Value implements org.apache.thrift.TBase<TI16Value, TI16Value._Fields>, java.io.Serializable, Cloneable, Comparable<TI16Value> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI16Value");

    @@ -178,7 +178,7 @@ public class TI16Value implements org.apache.thrift.TBase<TI16Value, TI16Value._
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case VALUE:
    - return Short.valueOf(getValue());
    + return getValue();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java
    index c79df4f..ac736a2 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TI32Column implements org.apache.thrift.TBase<TI32Column, TI32Column._Fields>, java.io.Serializable, Cloneable, Comparable<TI32Column> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI32Column");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java
    index d521373..efb4e39 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TI32Value implements org.apache.thrift.TBase<TI32Value, TI32Value._Fields>, java.io.Serializable, Cloneable, Comparable<TI32Value> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI32Value");

    @@ -178,7 +178,7 @@ public class TI32Value implements org.apache.thrift.TBase<TI32Value, TI32Value._
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case VALUE:
    - return Integer.valueOf(getValue());
    + return getValue();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java
    index 746ade2..54a1225 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TI64Column implements org.apache.thrift.TBase<TI64Column, TI64Column._Fields>, java.io.Serializable, Cloneable, Comparable<TI64Column> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI64Column");


    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java
    index b419b80..8a319af 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TI64Value implements org.apache.thrift.TBase<TI64Value, TI64Value._Fields>, java.io.Serializable, Cloneable, Comparable<TI64Value> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI64Value");

    @@ -178,7 +178,7 @@ public class TI64Value implements org.apache.thrift.TBase<TI64Value, TI64Value._
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case VALUE:
    - return Long.valueOf(getValue());
    + return getValue();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java
    index 91a85ef..21f9c6f 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TMapTypeEntry implements org.apache.thrift.TBase<TMapTypeEntry, TMapTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TMapTypeEntry> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TMapTypeEntry");

    @@ -229,10 +229,10 @@ public class TMapTypeEntry implements org.apache.thrift.TBase<TMapTypeEntry, TMa
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case KEY_TYPE_PTR:
    - return Integer.valueOf(getKeyTypePtr());
    + return getKeyTypePtr();

          case VALUE_TYPE_PTR:
    - return Integer.valueOf(getValueTypePtr());
    + return getValueTypePtr();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java
    index 657f868..e36ea8a 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14")
      public class TOpenSessionReq implements org.apache.thrift.TBase<TOpenSessionReq, TOpenSessionReq._Fields>, java.io.Serializable, Cloneable, Comparable<TOpenSessionReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TOpenSessionReq");
  • Gates at Jan 15, 2016 at 1:17 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/92072ad2/service/src/gen/thrift/gen-cpp/TCLIService_types.h
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_types.h b/service/src/gen/thrift/gen-cpp/TCLIService_types.h
    index 4536b41..b078c99 100644
    --- a/service/src/gen/thrift/gen-cpp/TCLIService_types.h
    +++ b/service/src/gen/thrift/gen-cpp/TCLIService_types.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -338,9 +338,6 @@ typedef struct _TTypeQualifierValue__isset {
      class TTypeQualifierValue {
       public:

    - static const char* ascii_fingerprint; // = "A7801670116150C65ACA43E6F679BA79";
    - static const uint8_t binary_fingerprint[16]; // = {0xA7,0x80,0x16,0x70,0x11,0x61,0x50,0xC6,0x5A,0xCA,0x43,0xE6,0xF6,0x79,0xBA,0x79};
    -
        TTypeQualifierValue(const TTypeQualifierValue&);
        TTypeQualifierValue& operator=(const TTypeQualifierValue&);
        TTypeQualifierValue() : i32Value(0), stringValue() {
    @@ -377,18 +374,21 @@ class TTypeQualifierValue {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TTypeQualifierValue& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TTypeQualifierValue &a, TTypeQualifierValue &b);

    +inline std::ostream& operator<<(std::ostream& out, const TTypeQualifierValue& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TTypeQualifiers {
       public:

    - static const char* ascii_fingerprint; // = "6C72981CFA989214285648FA8C196C47";
    - static const uint8_t binary_fingerprint[16]; // = {0x6C,0x72,0x98,0x1C,0xFA,0x98,0x92,0x14,0x28,0x56,0x48,0xFA,0x8C,0x19,0x6C,0x47};
    -
        TTypeQualifiers(const TTypeQualifiers&);
        TTypeQualifiers& operator=(const TTypeQualifiers&);
        TTypeQualifiers() {
    @@ -414,11 +414,17 @@ class TTypeQualifiers {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TTypeQualifiers& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TTypeQualifiers &a, TTypeQualifiers &b);

    +inline std::ostream& operator<<(std::ostream& out, const TTypeQualifiers& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TPrimitiveTypeEntry__isset {
        _TPrimitiveTypeEntry__isset() : typeQualifiers(false) {}
        bool typeQualifiers :1;
    @@ -427,9 +433,6 @@ typedef struct _TPrimitiveTypeEntry__isset {
      class TPrimitiveTypeEntry {
       public:

    - static const char* ascii_fingerprint; // = "755674F6A5C8EB47868686AE386FBC1C";
    - static const uint8_t binary_fingerprint[16]; // = {0x75,0x56,0x74,0xF6,0xA5,0xC8,0xEB,0x47,0x86,0x86,0x86,0xAE,0x38,0x6F,0xBC,0x1C};
    -
        TPrimitiveTypeEntry(const TPrimitiveTypeEntry&);
        TPrimitiveTypeEntry& operator=(const TPrimitiveTypeEntry&);
        TPrimitiveTypeEntry() : type((TTypeId::type)0) {
    @@ -464,18 +467,21 @@ class TPrimitiveTypeEntry {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TPrimitiveTypeEntry& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TPrimitiveTypeEntry &a, TPrimitiveTypeEntry &b);

    +inline std::ostream& operator<<(std::ostream& out, const TPrimitiveTypeEntry& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TArrayTypeEntry {
       public:

    - static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4";
    - static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};
    -
        TArrayTypeEntry(const TArrayTypeEntry&);
        TArrayTypeEntry& operator=(const TArrayTypeEntry&);
        TArrayTypeEntry() : objectTypePtr(0) {
    @@ -501,18 +507,21 @@ class TArrayTypeEntry {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TArrayTypeEntry& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TArrayTypeEntry &a, TArrayTypeEntry &b);

    +inline std::ostream& operator<<(std::ostream& out, const TArrayTypeEntry& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TMapTypeEntry {
       public:

    - static const char* ascii_fingerprint; // = "989D1F1AE8D148D5E2119FFEC4BBBEE3";
    - static const uint8_t binary_fingerprint[16]; // = {0x98,0x9D,0x1F,0x1A,0xE8,0xD1,0x48,0xD5,0xE2,0x11,0x9F,0xFE,0xC4,0xBB,0xBE,0xE3};
    -
        TMapTypeEntry(const TMapTypeEntry&);
        TMapTypeEntry& operator=(const TMapTypeEntry&);
        TMapTypeEntry() : keyTypePtr(0), valueTypePtr(0) {
    @@ -543,18 +552,21 @@ class TMapTypeEntry {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TMapTypeEntry& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TMapTypeEntry &a, TMapTypeEntry &b);

    +inline std::ostream& operator<<(std::ostream& out, const TMapTypeEntry& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TStructTypeEntry {
       public:

    - static const char* ascii_fingerprint; // = "91F548CA159B4AB4291F5741AC161402";
    - static const uint8_t binary_fingerprint[16]; // = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02};
    -
        TStructTypeEntry(const TStructTypeEntry&);
        TStructTypeEntry& operator=(const TStructTypeEntry&);
        TStructTypeEntry() {
    @@ -580,18 +592,21 @@ class TStructTypeEntry {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TStructTypeEntry& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TStructTypeEntry &a, TStructTypeEntry &b);

    +inline std::ostream& operator<<(std::ostream& out, const TStructTypeEntry& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TUnionTypeEntry {
       public:

    - static const char* ascii_fingerprint; // = "91F548CA159B4AB4291F5741AC161402";
    - static const uint8_t binary_fingerprint[16]; // = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02};
    -
        TUnionTypeEntry(const TUnionTypeEntry&);
        TUnionTypeEntry& operator=(const TUnionTypeEntry&);
        TUnionTypeEntry() {
    @@ -617,18 +632,21 @@ class TUnionTypeEntry {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TUnionTypeEntry& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TUnionTypeEntry &a, TUnionTypeEntry &b);

    +inline std::ostream& operator<<(std::ostream& out, const TUnionTypeEntry& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TUserDefinedTypeEntry {
       public:

    - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
    - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
    -
        TUserDefinedTypeEntry(const TUserDefinedTypeEntry&);
        TUserDefinedTypeEntry& operator=(const TUserDefinedTypeEntry&);
        TUserDefinedTypeEntry() : typeClassName() {
    @@ -654,11 +672,17 @@ class TUserDefinedTypeEntry {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TUserDefinedTypeEntry& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TUserDefinedTypeEntry &a, TUserDefinedTypeEntry &b);

    +inline std::ostream& operator<<(std::ostream& out, const TUserDefinedTypeEntry& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TTypeEntry__isset {
        _TTypeEntry__isset() : primitiveEntry(false), arrayEntry(false), mapEntry(false), structEntry(false), unionEntry(false), userDefinedTypeEntry(false) {}
        bool primitiveEntry :1;
    @@ -672,9 +696,6 @@ typedef struct _TTypeEntry__isset {
      class TTypeEntry {
       public:

    - static const char* ascii_fingerprint; // = "2FE56D9097E325DAA7E933738C6D325F";
    - static const uint8_t binary_fingerprint[16]; // = {0x2F,0xE5,0x6D,0x90,0x97,0xE3,0x25,0xDA,0xA7,0xE9,0x33,0x73,0x8C,0x6D,0x32,0x5F};
    -
        TTypeEntry(const TTypeEntry&);
        TTypeEntry& operator=(const TTypeEntry&);
        TTypeEntry() {
    @@ -727,18 +748,21 @@ class TTypeEntry {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TTypeEntry& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TTypeEntry &a, TTypeEntry &b);

    +inline std::ostream& operator<<(std::ostream& out, const TTypeEntry& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TTypeDesc {
       public:

    - static const char* ascii_fingerprint; // = "90B3C5A0B73419A84E85E0E48C452AA5";
    - static const uint8_t binary_fingerprint[16]; // = {0x90,0xB3,0xC5,0xA0,0xB7,0x34,0x19,0xA8,0x4E,0x85,0xE0,0xE4,0x8C,0x45,0x2A,0xA5};
    -
        TTypeDesc(const TTypeDesc&);
        TTypeDesc& operator=(const TTypeDesc&);
        TTypeDesc() {
    @@ -764,11 +788,17 @@ class TTypeDesc {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TTypeDesc& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TTypeDesc &a, TTypeDesc &b);

    +inline std::ostream& operator<<(std::ostream& out, const TTypeDesc& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TColumnDesc__isset {
        _TColumnDesc__isset() : comment(false) {}
        bool comment :1;
    @@ -777,9 +807,6 @@ typedef struct _TColumnDesc__isset {
      class TColumnDesc {
       public:

    - static const char* ascii_fingerprint; // = "EABED9009D5FCABFCA65612069F2A849";
    - static const uint8_t binary_fingerprint[16]; // = {0xEA,0xBE,0xD9,0x00,0x9D,0x5F,0xCA,0xBF,0xCA,0x65,0x61,0x20,0x69,0xF2,0xA8,0x49};
    -
        TColumnDesc(const TColumnDesc&);
        TColumnDesc& operator=(const TColumnDesc&);
        TColumnDesc() : columnName(), position(0), comment() {
    @@ -824,18 +851,21 @@ class TColumnDesc {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TColumnDesc& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TColumnDesc &a, TColumnDesc &b);

    +inline std::ostream& operator<<(std::ostream& out, const TColumnDesc& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TTableSchema {
       public:

    - static const char* ascii_fingerprint; // = "7A1811E49313E5977107FC667B20E39D";
    - static const uint8_t binary_fingerprint[16]; // = {0x7A,0x18,0x11,0xE4,0x93,0x13,0xE5,0x97,0x71,0x07,0xFC,0x66,0x7B,0x20,0xE3,0x9D};
    -
        TTableSchema(const TTableSchema&);
        TTableSchema& operator=(const TTableSchema&);
        TTableSchema() {
    @@ -861,11 +891,17 @@ class TTableSchema {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TTableSchema& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TTableSchema &a, TTableSchema &b);

    +inline std::ostream& operator<<(std::ostream& out, const TTableSchema& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TBoolValue__isset {
        _TBoolValue__isset() : value(false) {}
        bool value :1;
    @@ -874,9 +910,6 @@ typedef struct _TBoolValue__isset {
      class TBoolValue {
       public:

    - static const char* ascii_fingerprint; // = "BF054652DEF86253C2BEE7D947F167DD";
    - static const uint8_t binary_fingerprint[16]; // = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD};
    -
        TBoolValue(const TBoolValue&);
        TBoolValue& operator=(const TBoolValue&);
        TBoolValue() : value(0) {
    @@ -906,11 +939,17 @@ class TBoolValue {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TBoolValue& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TBoolValue &a, TBoolValue &b);

    +inline std::ostream& operator<<(std::ostream& out, const TBoolValue& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TByteValue__isset {
        _TByteValue__isset() : value(false) {}
        bool value :1;
    @@ -919,9 +958,6 @@ typedef struct _TByteValue__isset {
      class TByteValue {
       public:

    - static const char* ascii_fingerprint; // = "9C15298ACB5D04AEA9B52D5DDE6F9208";
    - static const uint8_t binary_fingerprint[16]; // = {0x9C,0x15,0x29,0x8A,0xCB,0x5D,0x04,0xAE,0xA9,0xB5,0x2D,0x5D,0xDE,0x6F,0x92,0x08};
    -
        TByteValue(const TByteValue&);
        TByteValue& operator=(const TByteValue&);
        TByteValue() : value(0) {
    @@ -951,11 +987,17 @@ class TByteValue {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TByteValue& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TByteValue &a, TByteValue &b);

    +inline std::ostream& operator<<(std::ostream& out, const TByteValue& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TI16Value__isset {
        _TI16Value__isset() : value(false) {}
        bool value :1;
    @@ -964,9 +1006,6 @@ typedef struct _TI16Value__isset {
      class TI16Value {
       public:

    - static const char* ascii_fingerprint; // = "5DAC9C51C7E1106BF936FC71860BE9D5";
    - static const uint8_t binary_fingerprint[16]; // = {0x5D,0xAC,0x9C,0x51,0xC7,0xE1,0x10,0x6B,0xF9,0x36,0xFC,0x71,0x86,0x0B,0xE9,0xD5};
    -
        TI16Value(const TI16Value&);
        TI16Value& operator=(const TI16Value&);
        TI16Value() : value(0) {
    @@ -996,11 +1035,17 @@ class TI16Value {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TI16Value& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TI16Value &a, TI16Value &b);

    +inline std::ostream& operator<<(std::ostream& out, const TI16Value& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TI32Value__isset {
        _TI32Value__isset() : value(false) {}
        bool value :1;
    @@ -1009,9 +1054,6 @@ typedef struct _TI32Value__isset {
      class TI32Value {
       public:

    - static const char* ascii_fingerprint; // = "E7A96B151330359E84C0A3AC91BCBACD";
    - static const uint8_t binary_fingerprint[16]; // = {0xE7,0xA9,0x6B,0x15,0x13,0x30,0x35,0x9E,0x84,0xC0,0xA3,0xAC,0x91,0xBC,0xBA,0xCD};
    -
        TI32Value(const TI32Value&);
        TI32Value& operator=(const TI32Value&);
        TI32Value() : value(0) {
    @@ -1041,11 +1083,17 @@ class TI32Value {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TI32Value& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TI32Value &a, TI32Value &b);

    +inline std::ostream& operator<<(std::ostream& out, const TI32Value& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TI64Value__isset {
        _TI64Value__isset() : value(false) {}
        bool value :1;
    @@ -1054,9 +1102,6 @@ typedef struct _TI64Value__isset {
      class TI64Value {
       public:

    - static const char* ascii_fingerprint; // = "148F3AAAC1D9859963D5E800D187BF26";
    - static const uint8_t binary_fingerprint[16]; // = {0x14,0x8F,0x3A,0xAA,0xC1,0xD9,0x85,0x99,0x63,0xD5,0xE8,0x00,0xD1,0x87,0xBF,0x26};
    -
        TI64Value(const TI64Value&);
        TI64Value& operator=(const TI64Value&);
        TI64Value() : value(0) {
    @@ -1086,11 +1131,17 @@ class TI64Value {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TI64Value& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TI64Value &a, TI64Value &b);

    +inline std::ostream& operator<<(std::ostream& out, const TI64Value& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TDoubleValue__isset {
        _TDoubleValue__isset() : value(false) {}
        bool value :1;
    @@ -1099,9 +1150,6 @@ typedef struct _TDoubleValue__isset {
      class TDoubleValue {
       public:

    - static const char* ascii_fingerprint; // = "3586E570A474C4A8603B4FF74903B3A6";
    - static const uint8_t binary_fingerprint[16]; // = {0x35,0x86,0xE5,0x70,0xA4,0x74,0xC4,0xA8,0x60,0x3B,0x4F,0xF7,0x49,0x03,0xB3,0xA6};
    -
        TDoubleValue(const TDoubleValue&);
        TDoubleValue& operator=(const TDoubleValue&);
        TDoubleValue() : value(0) {
    @@ -1131,11 +1179,17 @@ class TDoubleValue {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TDoubleValue& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TDoubleValue &a, TDoubleValue &b);

    +inline std::ostream& operator<<(std::ostream& out, const TDoubleValue& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TStringValue__isset {
        _TStringValue__isset() : value(false) {}
        bool value :1;
    @@ -1144,9 +1198,6 @@ typedef struct _TStringValue__isset {
      class TStringValue {
       public:

    - static const char* ascii_fingerprint; // = "66E694018C17E5B65A59AE8F55CCA3CD";
    - static const uint8_t binary_fingerprint[16]; // = {0x66,0xE6,0x94,0x01,0x8C,0x17,0xE5,0xB6,0x5A,0x59,0xAE,0x8F,0x55,0xCC,0xA3,0xCD};
    -
        TStringValue(const TStringValue&);
        TStringValue& operator=(const TStringValue&);
        TStringValue() : value() {
    @@ -1176,11 +1227,17 @@ class TStringValue {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TStringValue& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TStringValue &a, TStringValue &b);

    +inline std::ostream& operator<<(std::ostream& out, const TStringValue& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TColumnValue__isset {
        _TColumnValue__isset() : boolVal(false), byteVal(false), i16Val(false), i32Val(false), i64Val(false), doubleVal(false), stringVal(false) {}
        bool boolVal :1;
    @@ -1195,9 +1252,6 @@ typedef struct _TColumnValue__isset {
      class TColumnValue {
       public:

    - static const char* ascii_fingerprint; // = "C2DDD988447EA7999A8285AA38AAE9AD";
    - static const uint8_t binary_fingerprint[16]; // = {0xC2,0xDD,0xD9,0x88,0x44,0x7E,0xA7,0x99,0x9A,0x82,0x85,0xAA,0x38,0xAA,0xE9,0xAD};
    -
        TColumnValue(const TColumnValue&);
        TColumnValue& operator=(const TColumnValue&);
        TColumnValue() {
    @@ -1255,18 +1309,21 @@ class TColumnValue {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TColumnValue& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TColumnValue &a, TColumnValue &b);

    +inline std::ostream& operator<<(std::ostream& out, const TColumnValue& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TRow {
       public:

    - static const char* ascii_fingerprint; // = "E73FD1FCA0CA58A669FC3E02FB68D534";
    - static const uint8_t binary_fingerprint[16]; // = {0xE7,0x3F,0xD1,0xFC,0xA0,0xCA,0x58,0xA6,0x69,0xFC,0x3E,0x02,0xFB,0x68,0xD5,0x34};
    -
        TRow(const TRow&);
        TRow& operator=(const TRow&);
        TRow() {
    @@ -1292,18 +1349,21 @@ class TRow {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TRow& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TRow &a, TRow &b);

    +inline std::ostream& operator<<(std::ostream& out, const TRow& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TBoolColumn {
       public:

    - static const char* ascii_fingerprint; // = "F9058324D96DB7F974D8ACDC01C54219";
    - static const uint8_t binary_fingerprint[16]; // = {0xF9,0x05,0x83,0x24,0xD9,0x6D,0xB7,0xF9,0x74,0xD8,0xAC,0xDC,0x01,0xC5,0x42,0x19};
    -
        TBoolColumn(const TBoolColumn&);
        TBoolColumn& operator=(const TBoolColumn&);
        TBoolColumn() : nulls() {
    @@ -1334,18 +1394,21 @@ class TBoolColumn {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TBoolColumn& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TBoolColumn &a, TBoolColumn &b);

    +inline std::ostream& operator<<(std::ostream& out, const TBoolColumn& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TByteColumn {
       public:

    - static const char* ascii_fingerprint; // = "1CB300106BAA463A70BB2A2395900F48";
    - static const uint8_t binary_fingerprint[16]; // = {0x1C,0xB3,0x00,0x10,0x6B,0xAA,0x46,0x3A,0x70,0xBB,0x2A,0x23,0x95,0x90,0x0F,0x48};
    -
        TByteColumn(const TByteColumn&);
        TByteColumn& operator=(const TByteColumn&);
        TByteColumn() : nulls() {
    @@ -1376,18 +1439,21 @@ class TByteColumn {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TByteColumn& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TByteColumn &a, TByteColumn &b);

    +inline std::ostream& operator<<(std::ostream& out, const TByteColumn& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TI16Column {
       public:

    - static const char* ascii_fingerprint; // = "6574CDB1F121C8DB47FB257A3F104BDB";
    - static const uint8_t binary_fingerprint[16]; // = {0x65,0x74,0xCD,0xB1,0xF1,0x21,0xC8,0xDB,0x47,0xFB,0x25,0x7A,0x3F,0x10,0x4B,0xDB};
    -
        TI16Column(const TI16Column&);
        TI16Column& operator=(const TI16Column&);
        TI16Column() : nulls() {
    @@ -1418,18 +1484,21 @@ class TI16Column {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TI16Column& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TI16Column &a, TI16Column &b);

    +inline std::ostream& operator<<(std::ostream& out, const TI16Column& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TI32Column {
       public:

    - static const char* ascii_fingerprint; // = "CCCCE89C7E9DA10280F5663700677313";
    - static const uint8_t binary_fingerprint[16]; // = {0xCC,0xCC,0xE8,0x9C,0x7E,0x9D,0xA1,0x02,0x80,0xF5,0x66,0x37,0x00,0x67,0x73,0x13};
    -
        TI32Column(const TI32Column&);
        TI32Column& operator=(const TI32Column&);
        TI32Column() : nulls() {
    @@ -1460,18 +1529,21 @@ class TI32Column {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TI32Column& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TI32Column &a, TI32Column &b);

    +inline std::ostream& operator<<(std::ostream& out, const TI32Column& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TI64Column {
       public:

    - static const char* ascii_fingerprint; // = "925353917FC0AF87976A2338011F5A31";
    - static const uint8_t binary_fingerprint[16]; // = {0x92,0x53,0x53,0x91,0x7F,0xC0,0xAF,0x87,0x97,0x6A,0x23,0x38,0x01,0x1F,0x5A,0x31};
    -
        TI64Column(const TI64Column&);
        TI64Column& operator=(const TI64Column&);
        TI64Column() : nulls() {
    @@ -1502,18 +1574,21 @@ class TI64Column {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TI64Column& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TI64Column &a, TI64Column &b);

    +inline std::ostream& operator<<(std::ostream& out, const TI64Column& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TDoubleColumn {
       public:

    - static const char* ascii_fingerprint; // = "8FF1C050A8D7FD247AEB23CD71539C09";
    - static const uint8_t binary_fingerprint[16]; // = {0x8F,0xF1,0xC0,0x50,0xA8,0xD7,0xFD,0x24,0x7A,0xEB,0x23,0xCD,0x71,0x53,0x9C,0x09};
    -
        TDoubleColumn(const TDoubleColumn&);
        TDoubleColumn& operator=(const TDoubleColumn&);
        TDoubleColumn() : nulls() {
    @@ -1544,18 +1619,21 @@ class TDoubleColumn {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TDoubleColumn& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TDoubleColumn &a, TDoubleColumn &b);

    +inline std::ostream& operator<<(std::ostream& out, const TDoubleColumn& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TStringColumn {
       public:

    - static const char* ascii_fingerprint; // = "BE556BF7091B2DABBA1863D5E458B15F";
    - static const uint8_t binary_fingerprint[16]; // = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F};
    -
        TStringColumn(const TStringColumn&);
        TStringColumn& operator=(const TStringColumn&);
        TStringColumn() : nulls() {
    @@ -1586,18 +1664,21 @@ class TStringColumn {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TStringColumn& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TStringColumn &a, TStringColumn &b);

    +inline std::ostream& operator<<(std::ostream& out, const TStringColumn& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TBinaryColumn {
       public:

    - static const char* ascii_fingerprint; // = "BE556BF7091B2DABBA1863D5E458B15F";
    - static const uint8_t binary_fingerprint[16]; // = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F};
    -
        TBinaryColumn(const TBinaryColumn&);
        TBinaryColumn& operator=(const TBinaryColumn&);
        TBinaryColumn() : nulls() {
    @@ -1628,11 +1709,17 @@ class TBinaryColumn {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TBinaryColumn& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TBinaryColumn &a, TBinaryColumn &b);

    +inline std::ostream& operator<<(std::ostream& out, const TBinaryColumn& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TColumn__isset {
        _TColumn__isset() : boolVal(false), byteVal(false), i16Val(false), i32Val(false), i64Val(false), doubleVal(false), stringVal(false), binaryVal(false) {}
        bool boolVal :1;
    @@ -1648,9 +1735,6 @@ typedef struct _TColumn__isset {
      class TColumn {
       public:

    - static const char* ascii_fingerprint; // = "E6ADD10B4CDDE61A19E8878CC7039A17";
    - static const uint8_t binary_fingerprint[16]; // = {0xE6,0xAD,0xD1,0x0B,0x4C,0xDD,0xE6,0x1A,0x19,0xE8,0x87,0x8C,0xC7,0x03,0x9A,0x17};
    -
        TColumn(const TColumn&);
        TColumn& operator=(const TColumn&);
        TColumn() {
    @@ -1713,11 +1797,17 @@ class TColumn {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TColumn& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TColumn &a, TColumn &b);

    +inline std::ostream& operator<<(std::ostream& out, const TColumn& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TRowSet__isset {
        _TRowSet__isset() : columns(false) {}
        bool columns :1;
    @@ -1726,9 +1816,6 @@ typedef struct _TRowSet__isset {
      class TRowSet {
       public:

    - static const char* ascii_fingerprint; // = "46DA30A870489C7A58105AE0080DAEBF";
    - static const uint8_t binary_fingerprint[16]; // = {0x46,0xDA,0x30,0xA8,0x70,0x48,0x9C,0x7A,0x58,0x10,0x5A,0xE0,0x08,0x0D,0xAE,0xBF};
    -
        TRowSet(const TRowSet&);
        TRowSet& operator=(const TRowSet&);
        TRowSet() : startRowOffset(0) {
    @@ -1768,11 +1855,17 @@ class TRowSet {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TRowSet& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TRowSet &a, TRowSet &b);

    +inline std::ostream& operator<<(std::ostream& out, const TRowSet& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TStatus__isset {
        _TStatus__isset() : infoMessages(false), sqlState(false), errorCode(false), errorMessage(false) {}
        bool infoMessages :1;
    @@ -1784,9 +1877,6 @@ typedef struct _TStatus__isset {
      class TStatus {
       public:

    - static const char* ascii_fingerprint; // = "D5DEF49634A59C615C1B3A6F7D0DADB5";
    - static const uint8_t binary_fingerprint[16]; // = {0xD5,0xDE,0xF4,0x96,0x34,0xA5,0x9C,0x61,0x5C,0x1B,0x3A,0x6F,0x7D,0x0D,0xAD,0xB5};
    -
        TStatus(const TStatus&);
        TStatus& operator=(const TStatus&);
        TStatus() : statusCode((TStatusCode::type)0), sqlState(), errorCode(0), errorMessage() {
    @@ -1842,18 +1932,21 @@ class TStatus {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TStatus& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TStatus &a, TStatus &b);

    +inline std::ostream& operator<<(std::ostream& out, const TStatus& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class THandleIdentifier {
       public:

    - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
    - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
    -
        THandleIdentifier(const THandleIdentifier&);
        THandleIdentifier& operator=(const THandleIdentifier&);
        THandleIdentifier() : guid(), secret() {
    @@ -1884,18 +1977,21 @@ class THandleIdentifier {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const THandleIdentifier& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(THandleIdentifier &a, THandleIdentifier &b);

    +inline std::ostream& operator<<(std::ostream& out, const THandleIdentifier& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TSessionHandle {
       public:

    - static const char* ascii_fingerprint; // = "A756D3DBE614FB13F70BF7F7B6EB3D73";
    - static const uint8_t binary_fingerprint[16]; // = {0xA7,0x56,0xD3,0xDB,0xE6,0x14,0xFB,0x13,0xF7,0x0B,0xF7,0xF7,0xB6,0xEB,0x3D,0x73};
    -
        TSessionHandle(const TSessionHandle&);
        TSessionHandle& operator=(const TSessionHandle&);
        TSessionHandle() {
    @@ -1921,11 +2017,17 @@ class TSessionHandle {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TSessionHandle& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TSessionHandle &a, TSessionHandle &b);

    +inline std::ostream& operator<<(std::ostream& out, const TSessionHandle& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TOperationHandle__isset {
        _TOperationHandle__isset() : modifiedRowCount(false) {}
        bool modifiedRowCount :1;
    @@ -1934,9 +2036,6 @@ typedef struct _TOperationHandle__isset {
      class TOperationHandle {
       public:

    - static const char* ascii_fingerprint; // = "29FD80F4F96804A30FCC59C23D2E5349";
    - static const uint8_t binary_fingerprint[16]; // = {0x29,0xFD,0x80,0xF4,0xF9,0x68,0x04,0xA3,0x0F,0xCC,0x59,0xC2,0x3D,0x2E,0x53,0x49};
    -
        TOperationHandle(const TOperationHandle&);
        TOperationHandle& operator=(const TOperationHandle&);
        TOperationHandle() : operationType((TOperationType::type)0), hasResultSet(0), modifiedRowCount(0) {
    @@ -1981,11 +2080,17 @@ class TOperationHandle {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TOperationHandle& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TOperationHandle &a, TOperationHandle &b);

    +inline std::ostream& operator<<(std::ostream& out, const TOperationHandle& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TOpenSessionReq__isset {
        _TOpenSessionReq__isset() : username(false), password(false), configuration(false) {}
        bool username :1;
    @@ -1996,9 +2101,6 @@ typedef struct _TOpenSessionReq__isset {
      class TOpenSessionReq {
       public:

    - static const char* ascii_fingerprint; // = "C8FD0F306A16C16BDA7B57F58BFAE5B2";
    - static const uint8_t binary_fingerprint[16]; // = {0xC8,0xFD,0x0F,0x30,0x6A,0x16,0xC1,0x6B,0xDA,0x7B,0x57,0xF5,0x8B,0xFA,0xE5,0xB2};
    -
        TOpenSessionReq(const TOpenSessionReq&);
        TOpenSessionReq& operator=(const TOpenSessionReq&);
        TOpenSessionReq() : client_protocol((TProtocolVersion::type)7), username(), password() {
    @@ -2049,11 +2151,17 @@ class TOpenSessionReq {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TOpenSessionReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TOpenSessionReq &a, TOpenSessionReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TOpenSessionReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TOpenSessionResp__isset {
        _TOpenSessionResp__isset() : sessionHandle(false), configuration(false) {}
        bool sessionHandle :1;
    @@ -2063,9 +2171,6 @@ typedef struct _TOpenSessionResp__isset {
      class TOpenSessionResp {
       public:

    - static const char* ascii_fingerprint; // = "CFE7D7F4E9EC671F2518ED74FEE9F163";
    - static const uint8_t binary_fingerprint[16]; // = {0xCF,0xE7,0xD7,0xF4,0xE9,0xEC,0x67,0x1F,0x25,0x18,0xED,0x74,0xFE,0xE9,0xF1,0x63};
    -
        TOpenSessionResp(const TOpenSessionResp&);
        TOpenSessionResp& operator=(const TOpenSessionResp&);
        TOpenSessionResp() : serverProtocolVersion((TProtocolVersion::type)7) {
    @@ -2114,18 +2219,21 @@ class TOpenSessionResp {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TOpenSessionResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TOpenSessionResp &a, TOpenSessionResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TOpenSessionResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TCloseSessionReq {
       public:

    - static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF";
    - static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
    -
        TCloseSessionReq(const TCloseSessionReq&);
        TCloseSessionReq& operator=(const TCloseSessionReq&);
        TCloseSessionReq() {
    @@ -2151,18 +2259,21 @@ class TCloseSessionReq {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCloseSessionReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TCloseSessionReq &a, TCloseSessionReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TCloseSessionReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TCloseSessionResp {
       public:

    - static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2";
    - static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2};
    -
        TCloseSessionResp(const TCloseSessionResp&);
        TCloseSessionResp& operator=(const TCloseSessionResp&);
        TCloseSessionResp() {
    @@ -2188,11 +2299,17 @@ class TCloseSessionResp {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TCloseSessionResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TCloseSessionResp &a, TCloseSessionResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TCloseSessionResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetInfoValue__isset {
        _TGetInfoValue__isset() : stringValue(false), smallIntValue(false), integerBitmask(false), integerFlag(false), binaryValue(false), lenValue(false) {}
        bool stringValue :1;
    @@ -2206,9 +2323,6 @@ typedef struct _TGetInfoValue__isset {
      class TGetInfoValue {
       public:

    - static const char* ascii_fingerprint; // = "057FED11279FD7248CFE73EE82ED579E";
    - static const uint8_t binary_fingerprint[16]; // = {0x05,0x7F,0xED,0x11,0x27,0x9F,0xD7,0x24,0x8C,0xFE,0x73,0xEE,0x82,0xED,0x57,0x9E};
    -
        TGetInfoValue(const TGetInfoValue&);
        TGetInfoValue& operator=(const TGetInfoValue&);
        TGetInfoValue() : stringValue(), smallIntValue(0), integerBitmask(0), integerFlag(0), binaryValue(0), lenValue(0) {
    @@ -2261,18 +2375,21 @@ class TGetInfoValue {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TGetInfoValue& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetInfoValue &a, TGetInfoValue &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetInfoValue& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TGetInfoReq {
       public:

    - static const char* ascii_fingerprint; // = "95675B1A0BADE5F7EDE323809DB679B2";
    - static const uint8_t binary_fingerprint[16]; // = {0x95,0x67,0x5B,0x1A,0x0B,0xAD,0xE5,0xF7,0xED,0xE3,0x23,0x80,0x9D,0xB6,0x79,0xB2};
    -
        TGetInfoReq(const TGetInfoReq&);
        TGetInfoReq& operator=(const TGetInfoReq&);
        TGetInfoReq() : infoType((TGetInfoType::type)0) {
    @@ -2303,18 +2420,21 @@ class TGetInfoReq {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TGetInfoReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetInfoReq &a, TGetInfoReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetInfoReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TGetInfoResp {
       public:

    - static const char* ascii_fingerprint; // = "72AFA10A82728B51FDE91092012868DE";
    - static const uint8_t binary_fingerprint[16]; // = {0x72,0xAF,0xA1,0x0A,0x82,0x72,0x8B,0x51,0xFD,0xE9,0x10,0x92,0x01,0x28,0x68,0xDE};
    -
        TGetInfoResp(const TGetInfoResp&);
        TGetInfoResp& operator=(const TGetInfoResp&);
        TGetInfoResp() {
    @@ -2345,11 +2465,17 @@ class TGetInfoResp {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TGetInfoResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetInfoResp &a, TGetInfoResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetInfoResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TExecuteStatementReq__isset {
        _TExecuteStatementReq__isset() : confOverlay(false), runAsync(true) {}
        bool confOverlay :1;
    @@ -2359,9 +2485,6 @@ typedef struct _TExecuteStatementReq__isset {
      class TExecuteStatementReq {
       public:

    - static const char* ascii_fingerprint; // = "FED75DB77E66D76EC1939A51FB0D96FA";
    - static const uint8_t binary_fingerprint[16]; // = {0xFE,0xD7,0x5D,0xB7,0x7E,0x66,0xD7,0x6E,0xC1,0x93,0x9A,0x51,0xFB,0x0D,0x96,0xFA};
    -
        TExecuteStatementReq(const TExecuteStatementReq&);
        TExecuteStatementReq& operator=(const TExecuteStatementReq&);
        TExecuteStatementReq() : statement(), runAsync(false) {
    @@ -2408,11 +2531,17 @@ class TExecuteStatementReq {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TExecuteStatementReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TExecuteStatementReq &a, TExecuteStatementReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TExecuteStatementReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TExecuteStatementResp__isset {
        _TExecuteStatementResp__isset() : operationHandle(false) {}
        bool operationHandle :1;
    @@ -2421,9 +2550,6 @@ typedef struct _TExecuteStatementResp__isset {
      class TExecuteStatementResp {
       public:

    - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
    - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
    -
        TExecuteStatementResp(const TExecuteStatementResp&);
        TExecuteStatementResp& operator=(const TExecuteStatementResp&);
        TExecuteStatementResp() {
    @@ -2458,18 +2584,21 @@ class TExecuteStatementResp {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TExecuteStatementResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TExecuteStatementResp &a, TExecuteStatementResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TExecuteStatementResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TGetTypeInfoReq {
       public:

    - static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF";
    - static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
    -
        TGetTypeInfoReq(const TGetTypeInfoReq&);
        TGetTypeInfoReq& operator=(const TGetTypeInfoReq&);
        TGetTypeInfoReq() {
    @@ -2495,11 +2624,17 @@ class TGetTypeInfoReq {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TGetTypeInfoReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetTypeInfoReq &a, TGetTypeInfoReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetTypeInfoReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetTypeInfoResp__isset {
        _TGetTypeInfoResp__isset() : operationHandle(false) {}
        bool operationHandle :1;
    @@ -2508,9 +2643,6 @@ typedef struct _TGetTypeInfoResp__isset {
      class TGetTypeInfoResp {
       public:

    - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
    - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
    -
        TGetTypeInfoResp(const TGetTypeInfoResp&);
        TGetTypeInfoResp& operator=(const TGetTypeInfoResp&);
        TGetTypeInfoResp() {
    @@ -2545,18 +2677,21 @@ class TGetTypeInfoResp {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    - friend std::ostream& operator<<(std::ostream& out, const TGetTypeInfoResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetTypeInfoResp &a, TGetTypeInfoResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetTypeInfoResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TGetCatalogsReq {
       public:

    - static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF";
    - static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
    -
     &nb