You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/07/22 11:11:36 UTC

[iotdb-client-go] branch 0.13.0interfaces created (now 7c7c3b3)

This is an automated email from the ASF dual-hosted git repository.

haonan pushed a change to branch 0.13.0interfaces
in repository https://gitbox.apache.org/repos/asf/iotdb-client-go.git


      at 7c7c3b3  [To rel/0.13] update 0.13.0 interfaces

This branch includes the following new commits:

     new 3d7d9cd  [To rel/0.13] update 0.13.0 interfaces
     new 7c7c3b3  [To rel/0.13] update 0.13.0 interfaces

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb-client-go] 01/02: [To rel/0.13] update 0.13.0 interfaces

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch 0.13.0interfaces
in repository https://gitbox.apache.org/repos/asf/iotdb-client-go.git

commit 3d7d9cdb17df18595d4e1d1e5ce89de54ca886d8
Author: HTHou <hh...@outlook.com>
AuthorDate: Fri Jul 22 19:04:13 2022 +0800

    [To rel/0.13] update 0.13.0 interfaces
---
 rpc/GoUnusedProtection__.go |     6 +-
 rpc/rpc-consts.go           |    11 +-
 rpc/rpc.go                  | 40208 ++++++++++++++++++++++++++----------------
 3 files changed, 24702 insertions(+), 15523 deletions(-)

diff --git a/rpc/GoUnusedProtection__.go b/rpc/GoUnusedProtection__.go
index 06ddaca..37c3b62 100644
--- a/rpc/GoUnusedProtection__.go
+++ b/rpc/GoUnusedProtection__.go
@@ -1,6 +1,6 @@
-// Autogenerated by Thrift Compiler (0.13.0)
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+// Code generated by Thrift Compiler (0.14.1). DO NOT EDIT.
 
 package rpc
 
-var GoUnusedProtection__ int
+var GoUnusedProtection__ int;
+
diff --git a/rpc/rpc-consts.go b/rpc/rpc-consts.go
index ca5273c..37fc423 100644
--- a/rpc/rpc-consts.go
+++ b/rpc/rpc-consts.go
@@ -1,22 +1,23 @@
-// Autogenerated by Thrift Compiler (0.13.0)
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+// Code generated by Thrift Compiler (0.14.1). DO NOT EDIT.
 
 package rpc
 
-import (
+import(
 	"bytes"
 	"context"
 	"fmt"
+	"time"
 	"github.com/apache/thrift/lib/go/thrift"
-	"reflect"
 )
 
 // (needed to ensure safety because of naive import list construction.)
 var _ = thrift.ZERO
 var _ = fmt.Printf
 var _ = context.Background
-var _ = reflect.DeepEqual
+var _ = time.Now
 var _ = bytes.Equal
 
+
 func init() {
 }
+
diff --git a/rpc/rpc.go b/rpc/rpc.go
index e001f86..79a52bb 100644
--- a/rpc/rpc.go
+++ b/rpc/rpc.go
@@ -21,206 +21,206 @@ var _ = bytes.Equal
 
 type TSProtocolVersion int64
 const (
-	TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V1 TSProtocolVersion = 0
-	TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V2 TSProtocolVersion = 1
-	TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V3 TSProtocolVersion = 2
+  TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V1 TSProtocolVersion = 0
+  TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V2 TSProtocolVersion = 1
+  TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V3 TSProtocolVersion = 2
 )
 
 func (p TSProtocolVersion) String() string {
-	switch p {
-	case TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V1: return "IOTDB_SERVICE_PROTOCOL_V1"
-	case TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V2: return "IOTDB_SERVICE_PROTOCOL_V2"
-	case TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V3: return "IOTDB_SERVICE_PROTOCOL_V3"
-	}
-	return "<UNSET>"
+  switch p {
+  case TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V1: return "IOTDB_SERVICE_PROTOCOL_V1"
+  case TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V2: return "IOTDB_SERVICE_PROTOCOL_V2"
+  case TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V3: return "IOTDB_SERVICE_PROTOCOL_V3"
+  }
+  return "<UNSET>"
 }
 
 func TSProtocolVersionFromString(s string) (TSProtocolVersion, error) {
-	switch s {
-	case "IOTDB_SERVICE_PROTOCOL_V1": return TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V1, nil
-	case "IOTDB_SERVICE_PROTOCOL_V2": return TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V2, nil
-	case "IOTDB_SERVICE_PROTOCOL_V3": return TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V3, nil
-	}
-	return TSProtocolVersion(0), fmt.Errorf("not a valid TSProtocolVersion string")
+  switch s {
+  case "IOTDB_SERVICE_PROTOCOL_V1": return TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V1, nil 
+  case "IOTDB_SERVICE_PROTOCOL_V2": return TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V2, nil 
+  case "IOTDB_SERVICE_PROTOCOL_V3": return TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V3, nil 
+  }
+  return TSProtocolVersion(0), fmt.Errorf("not a valid TSProtocolVersion string")
 }
 
 
 func TSProtocolVersionPtr(v TSProtocolVersion) *TSProtocolVersion { return &v }
 
 func (p TSProtocolVersion) MarshalText() ([]byte, error) {
-	return []byte(p.String()), nil
+return []byte(p.String()), nil
 }
 
 func (p *TSProtocolVersion) UnmarshalText(text []byte) error {
-	q, err := TSProtocolVersionFromString(string(text))
-	if (err != nil) {
-		return err
-	}
-	*p = q
-	return nil
+q, err := TSProtocolVersionFromString(string(text))
+if (err != nil) {
+return err
+}
+*p = q
+return nil
 }
 
 func (p *TSProtocolVersion) Scan(value interface{}) error {
-	v, ok := value.(int64)
-	if !ok {
-		return errors.New("Scan value is not int64")
-	}
-	*p = TSProtocolVersion(v)
-	return nil
+v, ok := value.(int64)
+if !ok {
+return errors.New("Scan value is not int64")
+}
+*p = TSProtocolVersion(v)
+return nil
 }
 
 func (p * TSProtocolVersion) Value() (driver.Value, error) {
-	if p == nil {
-		return nil, nil
-	}
-	return int64(*p), nil
+  if p == nil {
+    return nil, nil
+  }
+return int64(*p), nil
 }
 // Attributes:
 //  - IP
 //  - Port
 type EndPoint struct {
-	IP string `thrift:"ip,1,required" db:"ip" json:"ip"`
-	Port int32 `thrift:"port,2,required" db:"port" json:"port"`
+  IP string `thrift:"ip,1,required" db:"ip" json:"ip"`
+  Port int32 `thrift:"port,2,required" db:"port" json:"port"`
 }
 
 func NewEndPoint() *EndPoint {
-	return &EndPoint{}
+  return &EndPoint{}
 }
 
 
 func (p *EndPoint) GetIP() string {
-	return p.IP
+  return p.IP
 }
 
 func (p *EndPoint) GetPort() int32 {
-	return p.Port
+  return p.Port
 }
 func (p *EndPoint) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetIP bool = false;
-	var issetPort bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetIP = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.I32 {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetPort = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetIP{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field IP is not set"));
-	}
-	if !issetPort{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Port is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetIP bool = false;
+  var issetPort bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetIP = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.I32 {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetPort = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetIP{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field IP is not set"));
+  }
+  if !issetPort{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Port is not set"));
+  }
+  return nil
 }
 
 func (p *EndPoint)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 1: ", err)
-	} else {
-		p.IP = v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 1: ", err)
+} else {
+  p.IP = v
+}
+  return nil
 }
 
 func (p *EndPoint)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI32(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.Port = v
-	}
-	return nil
+  if v, err := iprot.ReadI32(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.Port = v
+}
+  return nil
 }
 
 func (p *EndPoint) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "EndPoint"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "EndPoint"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *EndPoint) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "ip", thrift.STRING, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:ip: ", p), err) }
-	if err := oprot.WriteString(ctx, string(p.IP)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.ip (1) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:ip: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "ip", thrift.STRING, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:ip: ", p), err) }
+  if err := oprot.WriteString(ctx, string(p.IP)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.ip (1) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:ip: ", p), err) }
+  return err
 }
 
 func (p *EndPoint) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "port", thrift.I32, 2); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:port: ", p), err) }
-	if err := oprot.WriteI32(ctx, int32(p.Port)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.port (2) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 2:port: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "port", thrift.I32, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:port: ", p), err) }
+  if err := oprot.WriteI32(ctx, int32(p.Port)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.port (2) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:port: ", p), err) }
+  return err
 }
 
 func (p *EndPoint) Equals(other *EndPoint) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if p.IP != other.IP { return false }
-	if p.Port != other.Port { return false }
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if p.IP != other.IP { return false }
+  if p.Port != other.Port { return false }
+  return true
 }
 
 func (p *EndPoint) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("EndPoint(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("EndPoint(%+v)", *p)
 }
 
 // Attributes:
@@ -229,269 +229,269 @@ func (p *EndPoint) String() string {
 //  - SubStatus
 //  - RedirectNode
 type TSStatus struct {
-	Code int32 `thrift:"code,1,required" db:"code" json:"code"`
-	Message *string `thrift:"message,2" db:"message" json:"message,omitempty"`
-	SubStatus []*TSStatus `thrift:"subStatus,3" db:"subStatus" json:"subStatus,omitempty"`
-	RedirectNode *EndPoint `thrift:"redirectNode,4" db:"redirectNode" json:"redirectNode,omitempty"`
+  Code int32 `thrift:"code,1,required" db:"code" json:"code"`
+  Message *string `thrift:"message,2" db:"message" json:"message,omitempty"`
+  SubStatus []*TSStatus `thrift:"subStatus,3" db:"subStatus" json:"subStatus,omitempty"`
+  RedirectNode *EndPoint `thrift:"redirectNode,4" db:"redirectNode" json:"redirectNode,omitempty"`
 }
 
 func NewTSStatus() *TSStatus {
-	return &TSStatus{}
+  return &TSStatus{}
 }
 
 
 func (p *TSStatus) GetCode() int32 {
-	return p.Code
+  return p.Code
 }
 var TSStatus_Message_DEFAULT string
 func (p *TSStatus) GetMessage() string {
-	if !p.IsSetMessage() {
-		return TSStatus_Message_DEFAULT
-	}
-	return *p.Message
+  if !p.IsSetMessage() {
+    return TSStatus_Message_DEFAULT
+  }
+return *p.Message
 }
 var TSStatus_SubStatus_DEFAULT []*TSStatus
 
 func (p *TSStatus) GetSubStatus() []*TSStatus {
-	return p.SubStatus
+  return p.SubStatus
 }
 var TSStatus_RedirectNode_DEFAULT *EndPoint
 func (p *TSStatus) GetRedirectNode() *EndPoint {
-	if !p.IsSetRedirectNode() {
-		return TSStatus_RedirectNode_DEFAULT
-	}
-	return p.RedirectNode
+  if !p.IsSetRedirectNode() {
+    return TSStatus_RedirectNode_DEFAULT
+  }
+return p.RedirectNode
 }
 func (p *TSStatus) IsSetMessage() bool {
-	return p.Message != nil
+  return p.Message != nil
 }
 
 func (p *TSStatus) IsSetSubStatus() bool {
-	return p.SubStatus != nil
+  return p.SubStatus != nil
 }
 
 func (p *TSStatus) IsSetRedirectNode() bool {
-	return p.RedirectNode != nil
+  return p.RedirectNode != nil
 }
 
 func (p *TSStatus) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetCode bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.I32 {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetCode = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 3:
-			if fieldTypeId == thrift.LIST {
-				if err := p.ReadField3(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 4:
-			if fieldTypeId == thrift.STRUCT {
-				if err := p.ReadField4(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetCode{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Code is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetCode bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.I32 {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetCode = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 3:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField3(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 4:
+      if fieldTypeId == thrift.STRUCT {
+        if err := p.ReadField4(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetCode{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Code is not set"));
+  }
+  return nil
 }
 
 func (p *TSStatus)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI32(ctx); err != nil {
-		return thrift.PrependError("error reading field 1: ", err)
-	} else {
-		p.Code = v
-	}
-	return nil
+  if v, err := iprot.ReadI32(ctx); err != nil {
+  return thrift.PrependError("error reading field 1: ", err)
+} else {
+  p.Code = v
+}
+  return nil
 }
 
 func (p *TSStatus)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.Message = &v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.Message = &v
+}
+  return nil
 }
 
 func (p *TSStatus)  ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
-	_, size, err := iprot.ReadListBegin(ctx)
-	if err != nil {
-		return thrift.PrependError("error reading list begin: ", err)
-	}
-	tSlice := make([]*TSStatus, 0, size)
-	p.SubStatus =  tSlice
-	for i := 0; i < size; i ++ {
-		_elem0 := &TSStatus{}
-		if err := _elem0.Read(ctx, iprot); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", _elem0), err)
-		}
-		p.SubStatus = append(p.SubStatus, _elem0)
-	}
-	if err := iprot.ReadListEnd(ctx); err != nil {
-		return thrift.PrependError("error reading list end: ", err)
-	}
-	return nil
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([]*TSStatus, 0, size)
+  p.SubStatus =  tSlice
+  for i := 0; i < size; i ++ {
+    _elem0 := &TSStatus{}
+    if err := _elem0.Read(ctx, iprot); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", _elem0), err)
+    }
+    p.SubStatus = append(p.SubStatus, _elem0)
+  }
+  if err := iprot.ReadListEnd(ctx); err != nil {
+    return thrift.PrependError("error reading list end: ", err)
+  }
+  return nil
 }
 
 func (p *TSStatus)  ReadField4(ctx context.Context, iprot thrift.TProtocol) error {
-	p.RedirectNode = &EndPoint{}
-	if err := p.RedirectNode.Read(ctx, iprot); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.RedirectNode), err)
-	}
-	return nil
+  p.RedirectNode = &EndPoint{}
+  if err := p.RedirectNode.Read(ctx, iprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.RedirectNode), err)
+  }
+  return nil
 }
 
 func (p *TSStatus) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSStatus"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-		if err := p.writeField3(ctx, oprot); err != nil { return err }
-		if err := p.writeField4(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSStatus"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+    if err := p.writeField3(ctx, oprot); err != nil { return err }
+    if err := p.writeField4(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSStatus) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "code", thrift.I32, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:code: ", p), err) }
-	if err := oprot.WriteI32(ctx, int32(p.Code)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.code (1) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:code: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "code", thrift.I32, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:code: ", p), err) }
+  if err := oprot.WriteI32(ctx, int32(p.Code)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.code (1) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:code: ", p), err) }
+  return err
 }
 
 func (p *TSStatus) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetMessage() {
-		if err := oprot.WriteFieldBegin(ctx, "message", thrift.STRING, 2); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:message: ", p), err) }
-		if err := oprot.WriteString(ctx, string(*p.Message)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.message (2) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 2:message: ", p), err) }
-	}
-	return err
+  if p.IsSetMessage() {
+    if err := oprot.WriteFieldBegin(ctx, "message", thrift.STRING, 2); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:message: ", p), err) }
+    if err := oprot.WriteString(ctx, string(*p.Message)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.message (2) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 2:message: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSStatus) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetSubStatus() {
-		if err := oprot.WriteFieldBegin(ctx, "subStatus", thrift.LIST, 3); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:subStatus: ", p), err) }
-		if err := oprot.WriteListBegin(ctx, thrift.STRUCT, len(p.SubStatus)); err != nil {
-			return thrift.PrependError("error writing list begin: ", err)
-		}
-		for _, v := range p.SubStatus {
-			if err := v.Write(ctx, oprot); err != nil {
-				return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", v), err)
-			}
-		}
-		if err := oprot.WriteListEnd(ctx); err != nil {
-			return thrift.PrependError("error writing list end: ", err)
-		}
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 3:subStatus: ", p), err) }
-	}
-	return err
+  if p.IsSetSubStatus() {
+    if err := oprot.WriteFieldBegin(ctx, "subStatus", thrift.LIST, 3); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:subStatus: ", p), err) }
+    if err := oprot.WriteListBegin(ctx, thrift.STRUCT, len(p.SubStatus)); err != nil {
+      return thrift.PrependError("error writing list begin: ", err)
+    }
+    for _, v := range p.SubStatus {
+      if err := v.Write(ctx, oprot); err != nil {
+        return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", v), err)
+      }
+    }
+    if err := oprot.WriteListEnd(ctx); err != nil {
+      return thrift.PrependError("error writing list end: ", err)
+    }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 3:subStatus: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSStatus) writeField4(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetRedirectNode() {
-		if err := oprot.WriteFieldBegin(ctx, "redirectNode", thrift.STRUCT, 4); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:redirectNode: ", p), err) }
-		if err := p.RedirectNode.Write(ctx, oprot); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.RedirectNode), err)
-		}
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 4:redirectNode: ", p), err) }
-	}
-	return err
+  if p.IsSetRedirectNode() {
+    if err := oprot.WriteFieldBegin(ctx, "redirectNode", thrift.STRUCT, 4); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:redirectNode: ", p), err) }
+    if err := p.RedirectNode.Write(ctx, oprot); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.RedirectNode), err)
+    }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 4:redirectNode: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSStatus) Equals(other *TSStatus) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if p.Code != other.Code { return false }
-	if p.Message != other.Message {
-		if p.Message == nil || other.Message == nil {
-			return false
-		}
-		if (*p.Message) != (*other.Message) { return false }
-	}
-	if len(p.SubStatus) != len(other.SubStatus) { return false }
-	for i, _tgt := range p.SubStatus {
-		_src1 := other.SubStatus[i]
-		if !_tgt.Equals(_src1) { return false }
-	}
-	if !p.RedirectNode.Equals(other.RedirectNode) { return false }
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if p.Code != other.Code { return false }
+  if p.Message != other.Message {
+    if p.Message == nil || other.Message == nil {
+      return false
+    }
+    if (*p.Message) != (*other.Message) { return false }
+  }
+  if len(p.SubStatus) != len(other.SubStatus) { return false }
+  for i, _tgt := range p.SubStatus {
+    _src1 := other.SubStatus[i]
+    if !_tgt.Equals(_src1) { return false }
+  }
+  if !p.RedirectNode.Equals(other.RedirectNode) { return false }
+  return true
 }
 
 func (p *TSStatus) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSStatus(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSStatus(%+v)", *p)
 }
 
 // Attributes:
@@ -499,437 +499,1094 @@ func (p *TSStatus) String() string {
 //  - ValueList
 //  - BitmapList
 type TSQueryDataSet struct {
-	Time []byte `thrift:"time,1,required" db:"time" json:"time"`
-	ValueList [][]byte `thrift:"valueList,2,required" db:"valueList" json:"valueList"`
-	BitmapList [][]byte `thrift:"bitmapList,3,required" db:"bitmapList" json:"bitmapList"`
+  Time []byte `thrift:"time,1,required" db:"time" json:"time"`
+  ValueList [][]byte `thrift:"valueList,2,required" db:"valueList" json:"valueList"`
+  BitmapList [][]byte `thrift:"bitmapList,3,required" db:"bitmapList" json:"bitmapList"`
 }
 
 func NewTSQueryDataSet() *TSQueryDataSet {
-	return &TSQueryDataSet{}
+  return &TSQueryDataSet{}
 }
 
 
 func (p *TSQueryDataSet) GetTime() []byte {
-	return p.Time
+  return p.Time
 }
 
 func (p *TSQueryDataSet) GetValueList() [][]byte {
-	return p.ValueList
+  return p.ValueList
 }
 
 func (p *TSQueryDataSet) GetBitmapList() [][]byte {
-	return p.BitmapList
+  return p.BitmapList
 }
 func (p *TSQueryDataSet) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetTime bool = false;
-	var issetValueList bool = false;
-	var issetBitmapList bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetTime = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.LIST {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetValueList = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 3:
-			if fieldTypeId == thrift.LIST {
-				if err := p.ReadField3(ctx, iprot); err != nil {
-					return err
-				}
-				issetBitmapList = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetTime{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Time is not set"));
-	}
-	if !issetValueList{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field ValueList is not set"));
-	}
-	if !issetBitmapList{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field BitmapList is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetTime bool = false;
+  var issetValueList bool = false;
+  var issetBitmapList bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetTime = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetValueList = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 3:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField3(ctx, iprot); err != nil {
+          return err
+        }
+        issetBitmapList = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetTime{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Time is not set"));
+  }
+  if !issetValueList{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field ValueList is not set"));
+  }
+  if !issetBitmapList{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field BitmapList is not set"));
+  }
+  return nil
 }
 
 func (p *TSQueryDataSet)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadBinary(ctx); err != nil {
-		return thrift.PrependError("error reading field 1: ", err)
-	} else {
-		p.Time = v
-	}
-	return nil
+  if v, err := iprot.ReadBinary(ctx); err != nil {
+  return thrift.PrependError("error reading field 1: ", err)
+} else {
+  p.Time = v
+}
+  return nil
 }
 
 func (p *TSQueryDataSet)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	_, size, err := iprot.ReadListBegin(ctx)
-	if err != nil {
-		return thrift.PrependError("error reading list begin: ", err)
-	}
-	tSlice := make([][]byte, 0, size)
-	p.ValueList =  tSlice
-	for i := 0; i < size; i ++ {
-		var _elem2 []byte
-		if v, err := iprot.ReadBinary(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_elem2 = v
-		}
-		p.ValueList = append(p.ValueList, _elem2)
-	}
-	if err := iprot.ReadListEnd(ctx); err != nil {
-		return thrift.PrependError("error reading list end: ", err)
-	}
-	return nil
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([][]byte, 0, size)
+  p.ValueList =  tSlice
+  for i := 0; i < size; i ++ {
+var _elem2 []byte
+    if v, err := iprot.ReadBinary(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _elem2 = v
+}
+    p.ValueList = append(p.ValueList, _elem2)
+  }
+  if err := iprot.ReadListEnd(ctx); err != nil {
+    return thrift.PrependError("error reading list end: ", err)
+  }
+  return nil
 }
 
 func (p *TSQueryDataSet)  ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
-	_, size, err := iprot.ReadListBegin(ctx)
-	if err != nil {
-		return thrift.PrependError("error reading list begin: ", err)
-	}
-	tSlice := make([][]byte, 0, size)
-	p.BitmapList =  tSlice
-	for i := 0; i < size; i ++ {
-		var _elem3 []byte
-		if v, err := iprot.ReadBinary(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_elem3 = v
-		}
-		p.BitmapList = append(p.BitmapList, _elem3)
-	}
-	if err := iprot.ReadListEnd(ctx); err != nil {
-		return thrift.PrependError("error reading list end: ", err)
-	}
-	return nil
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([][]byte, 0, size)
+  p.BitmapList =  tSlice
+  for i := 0; i < size; i ++ {
+var _elem3 []byte
+    if v, err := iprot.ReadBinary(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _elem3 = v
+}
+    p.BitmapList = append(p.BitmapList, _elem3)
+  }
+  if err := iprot.ReadListEnd(ctx); err != nil {
+    return thrift.PrependError("error reading list end: ", err)
+  }
+  return nil
 }
 
 func (p *TSQueryDataSet) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSQueryDataSet"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-		if err := p.writeField3(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSQueryDataSet"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+    if err := p.writeField3(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSQueryDataSet) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "time", thrift.STRING, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:time: ", p), err) }
-	if err := oprot.WriteBinary(ctx, p.Time); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.time (1) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:time: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "time", thrift.STRING, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:time: ", p), err) }
+  if err := oprot.WriteBinary(ctx, p.Time); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.time (1) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:time: ", p), err) }
+  return err
 }
 
 func (p *TSQueryDataSet) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "valueList", thrift.LIST, 2); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:valueList: ", p), err) }
-	if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.ValueList)); err != nil {
-		return thrift.PrependError("error writing list begin: ", err)
-	}
-	for _, v := range p.ValueList {
-		if err := oprot.WriteBinary(ctx, v); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
-	}
-	if err := oprot.WriteListEnd(ctx); err != nil {
-		return thrift.PrependError("error writing list end: ", err)
-	}
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 2:valueList: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "valueList", thrift.LIST, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:valueList: ", p), err) }
+  if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.ValueList)); err != nil {
+    return thrift.PrependError("error writing list begin: ", err)
+  }
+  for _, v := range p.ValueList {
+    if err := oprot.WriteBinary(ctx, v); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+  }
+  if err := oprot.WriteListEnd(ctx); err != nil {
+    return thrift.PrependError("error writing list end: ", err)
+  }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:valueList: ", p), err) }
+  return err
 }
 
 func (p *TSQueryDataSet) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "bitmapList", thrift.LIST, 3); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:bitmapList: ", p), err) }
-	if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.BitmapList)); err != nil {
-		return thrift.PrependError("error writing list begin: ", err)
-	}
-	for _, v := range p.BitmapList {
-		if err := oprot.WriteBinary(ctx, v); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
-	}
-	if err := oprot.WriteListEnd(ctx); err != nil {
-		return thrift.PrependError("error writing list end: ", err)
-	}
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 3:bitmapList: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "bitmapList", thrift.LIST, 3); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:bitmapList: ", p), err) }
+  if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.BitmapList)); err != nil {
+    return thrift.PrependError("error writing list begin: ", err)
+  }
+  for _, v := range p.BitmapList {
+    if err := oprot.WriteBinary(ctx, v); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+  }
+  if err := oprot.WriteListEnd(ctx); err != nil {
+    return thrift.PrependError("error writing list end: ", err)
+  }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 3:bitmapList: ", p), err) }
+  return err
 }
 
 func (p *TSQueryDataSet) Equals(other *TSQueryDataSet) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if bytes.Compare(p.Time, other.Time) != 0 { return false }
-	if len(p.ValueList) != len(other.ValueList) { return false }
-	for i, _tgt := range p.ValueList {
-		_src4 := other.ValueList[i]
-		if bytes.Compare(_tgt, _src4) != 0 { return false }
-	}
-	if len(p.BitmapList) != len(other.BitmapList) { return false }
-	for i, _tgt := range p.BitmapList {
-		_src5 := other.BitmapList[i]
-		if bytes.Compare(_tgt, _src5) != 0 { return false }
-	}
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if bytes.Compare(p.Time, other.Time) != 0 { return false }
+  if len(p.ValueList) != len(other.ValueList) { return false }
+  for i, _tgt := range p.ValueList {
+    _src4 := other.ValueList[i]
+    if bytes.Compare(_tgt, _src4) != 0 { return false }
+  }
+  if len(p.BitmapList) != len(other.BitmapList) { return false }
+  for i, _tgt := range p.BitmapList {
+    _src5 := other.BitmapList[i]
+    if bytes.Compare(_tgt, _src5) != 0 { return false }
+  }
+  return true
 }
 
 func (p *TSQueryDataSet) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSQueryDataSet(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSQueryDataSet(%+v)", *p)
 }
 
 // Attributes:
 //  - TimeList
 //  - ValueList
 type TSQueryNonAlignDataSet struct {
-	TimeList [][]byte `thrift:"timeList,1,required" db:"timeList" json:"timeList"`
-	ValueList [][]byte `thrift:"valueList,2,required" db:"valueList" json:"valueList"`
+  TimeList [][]byte `thrift:"timeList,1,required" db:"timeList" json:"timeList"`
+  ValueList [][]byte `thrift:"valueList,2,required" db:"valueList" json:"valueList"`
 }
 
 func NewTSQueryNonAlignDataSet() *TSQueryNonAlignDataSet {
-	return &TSQueryNonAlignDataSet{}
+  return &TSQueryNonAlignDataSet{}
 }
 
 
 func (p *TSQueryNonAlignDataSet) GetTimeList() [][]byte {
-	return p.TimeList
+  return p.TimeList
 }
 
 func (p *TSQueryNonAlignDataSet) GetValueList() [][]byte {
-	return p.ValueList
+  return p.ValueList
 }
 func (p *TSQueryNonAlignDataSet) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetTimeList bool = false;
-	var issetValueList bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.LIST {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetTimeList = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.LIST {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetValueList = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetTimeList{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field TimeList is not set"));
-	}
-	if !issetValueList{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field ValueList is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetTimeList bool = false;
+  var issetValueList bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetTimeList = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetValueList = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetTimeList{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field TimeList is not set"));
+  }
+  if !issetValueList{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field ValueList is not set"));
+  }
+  return nil
 }
 
 func (p *TSQueryNonAlignDataSet)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	_, size, err := iprot.ReadListBegin(ctx)
-	if err != nil {
-		return thrift.PrependError("error reading list begin: ", err)
-	}
-	tSlice := make([][]byte, 0, size)
-	p.TimeList =  tSlice
-	for i := 0; i < size; i ++ {
-		var _elem6 []byte
-		if v, err := iprot.ReadBinary(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_elem6 = v
-		}
-		p.TimeList = append(p.TimeList, _elem6)
-	}
-	if err := iprot.ReadListEnd(ctx); err != nil {
-		return thrift.PrependError("error reading list end: ", err)
-	}
-	return nil
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([][]byte, 0, size)
+  p.TimeList =  tSlice
+  for i := 0; i < size; i ++ {
+var _elem6 []byte
+    if v, err := iprot.ReadBinary(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _elem6 = v
+}
+    p.TimeList = append(p.TimeList, _elem6)
+  }
+  if err := iprot.ReadListEnd(ctx); err != nil {
+    return thrift.PrependError("error reading list end: ", err)
+  }
+  return nil
 }
 
 func (p *TSQueryNonAlignDataSet)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	_, size, err := iprot.ReadListBegin(ctx)
-	if err != nil {
-		return thrift.PrependError("error reading list begin: ", err)
-	}
-	tSlice := make([][]byte, 0, size)
-	p.ValueList =  tSlice
-	for i := 0; i < size; i ++ {
-		var _elem7 []byte
-		if v, err := iprot.ReadBinary(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_elem7 = v
-		}
-		p.ValueList = append(p.ValueList, _elem7)
-	}
-	if err := iprot.ReadListEnd(ctx); err != nil {
-		return thrift.PrependError("error reading list end: ", err)
-	}
-	return nil
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([][]byte, 0, size)
+  p.ValueList =  tSlice
+  for i := 0; i < size; i ++ {
+var _elem7 []byte
+    if v, err := iprot.ReadBinary(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _elem7 = v
+}
+    p.ValueList = append(p.ValueList, _elem7)
+  }
+  if err := iprot.ReadListEnd(ctx); err != nil {
+    return thrift.PrependError("error reading list end: ", err)
+  }
+  return nil
 }
 
 func (p *TSQueryNonAlignDataSet) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSQueryNonAlignDataSet"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSQueryNonAlignDataSet"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSQueryNonAlignDataSet) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "timeList", thrift.LIST, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:timeList: ", p), err) }
-	if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.TimeList)); err != nil {
-		return thrift.PrependError("error writing list begin: ", err)
-	}
-	for _, v := range p.TimeList {
-		if err := oprot.WriteBinary(ctx, v); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
-	}
-	if err := oprot.WriteListEnd(ctx); err != nil {
-		return thrift.PrependError("error writing list end: ", err)
-	}
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:timeList: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "timeList", thrift.LIST, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:timeList: ", p), err) }
+  if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.TimeList)); err != nil {
+    return thrift.PrependError("error writing list begin: ", err)
+  }
+  for _, v := range p.TimeList {
+    if err := oprot.WriteBinary(ctx, v); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+  }
+  if err := oprot.WriteListEnd(ctx); err != nil {
+    return thrift.PrependError("error writing list end: ", err)
+  }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:timeList: ", p), err) }
+  return err
 }
 
 func (p *TSQueryNonAlignDataSet) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "valueList", thrift.LIST, 2); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:valueList: ", p), err) }
-	if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.ValueList)); err != nil {
-		return thrift.PrependError("error writing list begin: ", err)
-	}
-	for _, v := range p.ValueList {
-		if err := oprot.WriteBinary(ctx, v); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
-	}
-	if err := oprot.WriteListEnd(ctx); err != nil {
-		return thrift.PrependError("error writing list end: ", err)
-	}
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 2:valueList: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "valueList", thrift.LIST, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:valueList: ", p), err) }
+  if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.ValueList)); err != nil {
+    return thrift.PrependError("error writing list begin: ", err)
+  }
+  for _, v := range p.ValueList {
+    if err := oprot.WriteBinary(ctx, v); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+  }
+  if err := oprot.WriteListEnd(ctx); err != nil {
+    return thrift.PrependError("error writing list end: ", err)
+  }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:valueList: ", p), err) }
+  return err
 }
 
 func (p *TSQueryNonAlignDataSet) Equals(other *TSQueryNonAlignDataSet) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if len(p.TimeList) != len(other.TimeList) { return false }
-	for i, _tgt := range p.TimeList {
-		_src8 := other.TimeList[i]
-		if bytes.Compare(_tgt, _src8) != 0 { return false }
-	}
-	if len(p.ValueList) != len(other.ValueList) { return false }
-	for i, _tgt := range p.ValueList {
-		_src9 := other.ValueList[i]
-		if bytes.Compare(_tgt, _src9) != 0 { return false }
-	}
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if len(p.TimeList) != len(other.TimeList) { return false }
+  for i, _tgt := range p.TimeList {
+    _src8 := other.TimeList[i]
+    if bytes.Compare(_tgt, _src8) != 0 { return false }
+  }
+  if len(p.ValueList) != len(other.ValueList) { return false }
+  for i, _tgt := range p.ValueList {
+    _src9 := other.ValueList[i]
+    if bytes.Compare(_tgt, _src9) != 0 { return false }
+  }
+  return true
 }
 
 func (p *TSQueryNonAlignDataSet) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSQueryNonAlignDataSet(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSQueryNonAlignDataSet(%+v)", *p)
+}
+
+// Attributes:
+//  - ActivityList
+//  - ElapsedTimeList
+//  - SeriesPathNum
+//  - SeqFileNum
+//  - UnSeqFileNum
+//  - SequenceChunkNum
+//  - SequenceChunkPointNum
+//  - UnsequenceChunkNum
+//  - UnsequenceChunkPointNum
+//  - TotalPageNum
+//  - OverlappedPageNum
+type TSTracingInfo struct {
+  ActivityList []string `thrift:"activityList,1,required" db:"activityList" json:"activityList"`
+  ElapsedTimeList []int64 `thrift:"elapsedTimeList,2,required" db:"elapsedTimeList" json:"elapsedTimeList"`
+  SeriesPathNum *int32 `thrift:"seriesPathNum,3" db:"seriesPathNum" json:"seriesPathNum,omitempty"`
+  SeqFileNum *int32 `thrift:"seqFileNum,4" db:"seqFileNum" json:"seqFileNum,omitempty"`
+  UnSeqFileNum *int32 `thrift:"unSeqFileNum,5" db:"unSeqFileNum" json:"unSeqFileNum,omitempty"`
+  SequenceChunkNum *int32 `thrift:"sequenceChunkNum,6" db:"sequenceChunkNum" json:"sequenceChunkNum,omitempty"`
+  SequenceChunkPointNum *int64 `thrift:"sequenceChunkPointNum,7" db:"sequenceChunkPointNum" json:"sequenceChunkPointNum,omitempty"`
+  UnsequenceChunkNum *int32 `thrift:"unsequenceChunkNum,8" db:"unsequenceChunkNum" json:"unsequenceChunkNum,omitempty"`
+  UnsequenceChunkPointNum *int64 `thrift:"unsequenceChunkPointNum,9" db:"unsequenceChunkPointNum" json:"unsequenceChunkPointNum,omitempty"`
+  TotalPageNum *int32 `thrift:"totalPageNum,10" db:"totalPageNum" json:"totalPageNum,omitempty"`
+  OverlappedPageNum *int32 `thrift:"overlappedPageNum,11" db:"overlappedPageNum" json:"overlappedPageNum,omitempty"`
+}
+
+func NewTSTracingInfo() *TSTracingInfo {
+  return &TSTracingInfo{}
+}
+
+
+func (p *TSTracingInfo) GetActivityList() []string {
+  return p.ActivityList
+}
+
+func (p *TSTracingInfo) GetElapsedTimeList() []int64 {
+  return p.ElapsedTimeList
+}
+var TSTracingInfo_SeriesPathNum_DEFAULT int32
+func (p *TSTracingInfo) GetSeriesPathNum() int32 {
+  if !p.IsSetSeriesPathNum() {
+    return TSTracingInfo_SeriesPathNum_DEFAULT
+  }
+return *p.SeriesPathNum
+}
+var TSTracingInfo_SeqFileNum_DEFAULT int32
+func (p *TSTracingInfo) GetSeqFileNum() int32 {
+  if !p.IsSetSeqFileNum() {
+    return TSTracingInfo_SeqFileNum_DEFAULT
+  }
+return *p.SeqFileNum
+}
+var TSTracingInfo_UnSeqFileNum_DEFAULT int32
+func (p *TSTracingInfo) GetUnSeqFileNum() int32 {
+  if !p.IsSetUnSeqFileNum() {
+    return TSTracingInfo_UnSeqFileNum_DEFAULT
+  }
+return *p.UnSeqFileNum
+}
+var TSTracingInfo_SequenceChunkNum_DEFAULT int32
+func (p *TSTracingInfo) GetSequenceChunkNum() int32 {
+  if !p.IsSetSequenceChunkNum() {
+    return TSTracingInfo_SequenceChunkNum_DEFAULT
+  }
+return *p.SequenceChunkNum
+}
+var TSTracingInfo_SequenceChunkPointNum_DEFAULT int64
+func (p *TSTracingInfo) GetSequenceChunkPointNum() int64 {
+  if !p.IsSetSequenceChunkPointNum() {
+    return TSTracingInfo_SequenceChunkPointNum_DEFAULT
+  }
+return *p.SequenceChunkPointNum
+}
+var TSTracingInfo_UnsequenceChunkNum_DEFAULT int32
+func (p *TSTracingInfo) GetUnsequenceChunkNum() int32 {
+  if !p.IsSetUnsequenceChunkNum() {
+    return TSTracingInfo_UnsequenceChunkNum_DEFAULT
+  }
+return *p.UnsequenceChunkNum
+}
+var TSTracingInfo_UnsequenceChunkPointNum_DEFAULT int64
+func (p *TSTracingInfo) GetUnsequenceChunkPointNum() int64 {
+  if !p.IsSetUnsequenceChunkPointNum() {
+    return TSTracingInfo_UnsequenceChunkPointNum_DEFAULT
+  }
+return *p.UnsequenceChunkPointNum
+}
+var TSTracingInfo_TotalPageNum_DEFAULT int32
+func (p *TSTracingInfo) GetTotalPageNum() int32 {
+  if !p.IsSetTotalPageNum() {
+    return TSTracingInfo_TotalPageNum_DEFAULT
+  }
+return *p.TotalPageNum
+}
+var TSTracingInfo_OverlappedPageNum_DEFAULT int32
+func (p *TSTracingInfo) GetOverlappedPageNum() int32 {
+  if !p.IsSetOverlappedPageNum() {
+    return TSTracingInfo_OverlappedPageNum_DEFAULT
+  }
+return *p.OverlappedPageNum
+}
+func (p *TSTracingInfo) IsSetSeriesPathNum() bool {
+  return p.SeriesPathNum != nil
+}
+
+func (p *TSTracingInfo) IsSetSeqFileNum() bool {
+  return p.SeqFileNum != nil
+}
+
+func (p *TSTracingInfo) IsSetUnSeqFileNum() bool {
+  return p.UnSeqFileNum != nil
+}
+
+func (p *TSTracingInfo) IsSetSequenceChunkNum() bool {
+  return p.SequenceChunkNum != nil
+}
+
+func (p *TSTracingInfo) IsSetSequenceChunkPointNum() bool {
+  return p.SequenceChunkPointNum != nil
+}
+
+func (p *TSTracingInfo) IsSetUnsequenceChunkNum() bool {
+  return p.UnsequenceChunkNum != nil
+}
+
+func (p *TSTracingInfo) IsSetUnsequenceChunkPointNum() bool {
+  return p.UnsequenceChunkPointNum != nil
+}
+
+func (p *TSTracingInfo) IsSetTotalPageNum() bool {
+  return p.TotalPageNum != nil
+}
+
+func (p *TSTracingInfo) IsSetOverlappedPageNum() bool {
+  return p.OverlappedPageNum != nil
+}
+
+func (p *TSTracingInfo) Read(ctx context.Context, iprot thrift.TProtocol) error {
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetActivityList bool = false;
+  var issetElapsedTimeList bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetActivityList = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetElapsedTimeList = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 3:
+      if fieldTypeId == thrift.I32 {
+        if err := p.ReadField3(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 4:
+      if fieldTypeId == thrift.I32 {
+        if err := p.ReadField4(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 5:
+      if fieldTypeId == thrift.I32 {
+        if err := p.ReadField5(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 6:
+      if fieldTypeId == thrift.I32 {
+        if err := p.ReadField6(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 7:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField7(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 8:
+      if fieldTypeId == thrift.I32 {
+        if err := p.ReadField8(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 9:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField9(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 10:
+      if fieldTypeId == thrift.I32 {
+        if err := p.ReadField10(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 11:
+      if fieldTypeId == thrift.I32 {
+        if err := p.ReadField11(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetActivityList{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field ActivityList is not set"));
+  }
+  if !issetElapsedTimeList{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field ElapsedTimeList is not set"));
+  }
+  return nil
+}
+
+func (p *TSTracingInfo)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([]string, 0, size)
+  p.ActivityList =  tSlice
+  for i := 0; i < size; i ++ {
+var _elem10 string
+    if v, err := iprot.ReadString(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _elem10 = v
+}
+    p.ActivityList = append(p.ActivityList, _elem10)
+  }
+  if err := iprot.ReadListEnd(ctx); err != nil {
+    return thrift.PrependError("error reading list end: ", err)
+  }
+  return nil
+}
+
+func (p *TSTracingInfo)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([]int64, 0, size)
+  p.ElapsedTimeList =  tSlice
+  for i := 0; i < size; i ++ {
+var _elem11 int64
+    if v, err := iprot.ReadI64(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _elem11 = v
+}
+    p.ElapsedTimeList = append(p.ElapsedTimeList, _elem11)
+  }
+  if err := iprot.ReadListEnd(ctx); err != nil {
+    return thrift.PrependError("error reading list end: ", err)
+  }
+  return nil
+}
+
+func (p *TSTracingInfo)  ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
+  if v, err := iprot.ReadI32(ctx); err != nil {
+  return thrift.PrependError("error reading field 3: ", err)
+} else {
+  p.SeriesPathNum = &v
+}
+  return nil
+}
+
+func (p *TSTracingInfo)  ReadField4(ctx context.Context, iprot thrift.TProtocol) error {
+  if v, err := iprot.ReadI32(ctx); err != nil {
+  return thrift.PrependError("error reading field 4: ", err)
+} else {
+  p.SeqFileNum = &v
+}
+  return nil
+}
+
+func (p *TSTracingInfo)  ReadField5(ctx context.Context, iprot thrift.TProtocol) error {
+  if v, err := iprot.ReadI32(ctx); err != nil {
+  return thrift.PrependError("error reading field 5: ", err)
+} else {
+  p.UnSeqFileNum = &v
+}
+  return nil
+}
+
+func (p *TSTracingInfo)  ReadField6(ctx context.Context, iprot thrift.TProtocol) error {
+  if v, err := iprot.ReadI32(ctx); err != nil {
+  return thrift.PrependError("error reading field 6: ", err)
+} else {
+  p.SequenceChunkNum = &v
+}
+  return nil
+}
+
+func (p *TSTracingInfo)  ReadField7(ctx context.Context, iprot thrift.TProtocol) error {
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 7: ", err)
+} else {
+  p.SequenceChunkPointNum = &v
+}
+  return nil
+}
+
+func (p *TSTracingInfo)  ReadField8(ctx context.Context, iprot thrift.TProtocol) error {
+  if v, err := iprot.ReadI32(ctx); err != nil {
+  return thrift.PrependError("error reading field 8: ", err)
+} else {
+  p.UnsequenceChunkNum = &v
+}
+  return nil
+}
+
+func (p *TSTracingInfo)  ReadField9(ctx context.Context, iprot thrift.TProtocol) error {
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 9: ", err)
+} else {
+  p.UnsequenceChunkPointNum = &v
+}
+  return nil
+}
+
+func (p *TSTracingInfo)  ReadField10(ctx context.Context, iprot thrift.TProtocol) error {
+  if v, err := iprot.ReadI32(ctx); err != nil {
+  return thrift.PrependError("error reading field 10: ", err)
+} else {
+  p.TotalPageNum = &v
+}
+  return nil
+}
+
+func (p *TSTracingInfo)  ReadField11(ctx context.Context, iprot thrift.TProtocol) error {
+  if v, err := iprot.ReadI32(ctx); err != nil {
+  return thrift.PrependError("error reading field 11: ", err)
+} else {
+  p.OverlappedPageNum = &v
+}
+  return nil
+}
+
+func (p *TSTracingInfo) Write(ctx context.Context, oprot thrift.TProtocol) error {
+  if err := oprot.WriteStructBegin(ctx, "TSTracingInfo"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+    if err := p.writeField3(ctx, oprot); err != nil { return err }
+    if err := p.writeField4(ctx, oprot); err != nil { return err }
+    if err := p.writeField5(ctx, oprot); err != nil { return err }
+    if err := p.writeField6(ctx, oprot); err != nil { return err }
+    if err := p.writeField7(ctx, oprot); err != nil { return err }
+    if err := p.writeField8(ctx, oprot); err != nil { return err }
+    if err := p.writeField9(ctx, oprot); err != nil { return err }
+    if err := p.writeField10(ctx, oprot); err != nil { return err }
+    if err := p.writeField11(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
+}
+
+func (p *TSTracingInfo) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if err := oprot.WriteFieldBegin(ctx, "activityList", thrift.LIST, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:activityList: ", p), err) }
+  if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.ActivityList)); err != nil {
+    return thrift.PrependError("error writing list begin: ", err)
+  }
+  for _, v := range p.ActivityList {
+    if err := oprot.WriteString(ctx, string(v)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+  }
+  if err := oprot.WriteListEnd(ctx); err != nil {
+    return thrift.PrependError("error writing list end: ", err)
+  }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:activityList: ", p), err) }
+  return err
+}
+
+func (p *TSTracingInfo) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if err := oprot.WriteFieldBegin(ctx, "elapsedTimeList", thrift.LIST, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:elapsedTimeList: ", p), err) }
+  if err := oprot.WriteListBegin(ctx, thrift.I64, len(p.ElapsedTimeList)); err != nil {
+    return thrift.PrependError("error writing list begin: ", err)
+  }
+  for _, v := range p.ElapsedTimeList {
+    if err := oprot.WriteI64(ctx, int64(v)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+  }
+  if err := oprot.WriteListEnd(ctx); err != nil {
+    return thrift.PrependError("error writing list end: ", err)
+  }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:elapsedTimeList: ", p), err) }
+  return err
+}
+
+func (p *TSTracingInfo) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if p.IsSetSeriesPathNum() {
+    if err := oprot.WriteFieldBegin(ctx, "seriesPathNum", thrift.I32, 3); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:seriesPathNum: ", p), err) }
+    if err := oprot.WriteI32(ctx, int32(*p.SeriesPathNum)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.seriesPathNum (3) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 3:seriesPathNum: ", p), err) }
+  }
+  return err
+}
+
+func (p *TSTracingInfo) writeField4(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if p.IsSetSeqFileNum() {
+    if err := oprot.WriteFieldBegin(ctx, "seqFileNum", thrift.I32, 4); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:seqFileNum: ", p), err) }
+    if err := oprot.WriteI32(ctx, int32(*p.SeqFileNum)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.seqFileNum (4) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 4:seqFileNum: ", p), err) }
+  }
+  return err
+}
+
+func (p *TSTracingInfo) writeField5(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if p.IsSetUnSeqFileNum() {
+    if err := oprot.WriteFieldBegin(ctx, "unSeqFileNum", thrift.I32, 5); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 5:unSeqFileNum: ", p), err) }
+    if err := oprot.WriteI32(ctx, int32(*p.UnSeqFileNum)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.unSeqFileNum (5) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 5:unSeqFileNum: ", p), err) }
+  }
+  return err
+}
+
+func (p *TSTracingInfo) writeField6(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if p.IsSetSequenceChunkNum() {
+    if err := oprot.WriteFieldBegin(ctx, "sequenceChunkNum", thrift.I32, 6); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 6:sequenceChunkNum: ", p), err) }
+    if err := oprot.WriteI32(ctx, int32(*p.SequenceChunkNum)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.sequenceChunkNum (6) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 6:sequenceChunkNum: ", p), err) }
+  }
+  return err
+}
+
+func (p *TSTracingInfo) writeField7(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if p.IsSetSequenceChunkPointNum() {
+    if err := oprot.WriteFieldBegin(ctx, "sequenceChunkPointNum", thrift.I64, 7); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 7:sequenceChunkPointNum: ", p), err) }
+    if err := oprot.WriteI64(ctx, int64(*p.SequenceChunkPointNum)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.sequenceChunkPointNum (7) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 7:sequenceChunkPointNum: ", p), err) }
+  }
+  return err
+}
+
+func (p *TSTracingInfo) writeField8(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if p.IsSetUnsequenceChunkNum() {
+    if err := oprot.WriteFieldBegin(ctx, "unsequenceChunkNum", thrift.I32, 8); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 8:unsequenceChunkNum: ", p), err) }
+    if err := oprot.WriteI32(ctx, int32(*p.UnsequenceChunkNum)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.unsequenceChunkNum (8) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 8:unsequenceChunkNum: ", p), err) }
+  }
+  return err
+}
+
+func (p *TSTracingInfo) writeField9(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if p.IsSetUnsequenceChunkPointNum() {
+    if err := oprot.WriteFieldBegin(ctx, "unsequenceChunkPointNum", thrift.I64, 9); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 9:unsequenceChunkPointNum: ", p), err) }
+    if err := oprot.WriteI64(ctx, int64(*p.UnsequenceChunkPointNum)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.unsequenceChunkPointNum (9) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 9:unsequenceChunkPointNum: ", p), err) }
+  }
+  return err
+}
+
+func (p *TSTracingInfo) writeField10(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if p.IsSetTotalPageNum() {
+    if err := oprot.WriteFieldBegin(ctx, "totalPageNum", thrift.I32, 10); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 10:totalPageNum: ", p), err) }
+    if err := oprot.WriteI32(ctx, int32(*p.TotalPageNum)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.totalPageNum (10) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 10:totalPageNum: ", p), err) }
+  }
+  return err
+}
+
+func (p *TSTracingInfo) writeField11(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if p.IsSetOverlappedPageNum() {
+    if err := oprot.WriteFieldBegin(ctx, "overlappedPageNum", thrift.I32, 11); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 11:overlappedPageNum: ", p), err) }
+    if err := oprot.WriteI32(ctx, int32(*p.OverlappedPageNum)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.overlappedPageNum (11) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 11:overlappedPageNum: ", p), err) }
+  }
+  return err
+}
+
+func (p *TSTracingInfo) Equals(other *TSTracingInfo) bool {
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if len(p.ActivityList) != len(other.ActivityList) { return false }
+  for i, _tgt := range p.ActivityList {
+    _src12 := other.ActivityList[i]
+    if _tgt != _src12 { return false }
+  }
+  if len(p.ElapsedTimeList) != len(other.ElapsedTimeList) { return false }
+  for i, _tgt := range p.ElapsedTimeList {
+    _src13 := other.ElapsedTimeList[i]
+    if _tgt != _src13 { return false }
+  }
+  if p.SeriesPathNum != other.SeriesPathNum {
+    if p.SeriesPathNum == nil || other.SeriesPathNum == nil {
+      return false
+    }
+    if (*p.SeriesPathNum) != (*other.SeriesPathNum) { return false }
+  }
+  if p.SeqFileNum != other.SeqFileNum {
+    if p.SeqFileNum == nil || other.SeqFileNum == nil {
+      return false
+    }
+    if (*p.SeqFileNum) != (*other.SeqFileNum) { return false }
+  }
+  if p.UnSeqFileNum != other.UnSeqFileNum {
+    if p.UnSeqFileNum == nil || other.UnSeqFileNum == nil {
+      return false
+    }
+    if (*p.UnSeqFileNum) != (*other.UnSeqFileNum) { return false }
+  }
+  if p.SequenceChunkNum != other.SequenceChunkNum {
+    if p.SequenceChunkNum == nil || other.SequenceChunkNum == nil {
+      return false
+    }
+    if (*p.SequenceChunkNum) != (*other.SequenceChunkNum) { return false }
+  }
+  if p.SequenceChunkPointNum != other.SequenceChunkPointNum {
+    if p.SequenceChunkPointNum == nil || other.SequenceChunkPointNum == nil {
+      return false
+    }
+    if (*p.SequenceChunkPointNum) != (*other.SequenceChunkPointNum) { return false }
+  }
+  if p.UnsequenceChunkNum != other.UnsequenceChunkNum {
+    if p.UnsequenceChunkNum == nil || other.UnsequenceChunkNum == nil {
+      return false
+    }
+    if (*p.UnsequenceChunkNum) != (*other.UnsequenceChunkNum) { return false }
+  }
+  if p.UnsequenceChunkPointNum != other.UnsequenceChunkPointNum {
+    if p.UnsequenceChunkPointNum == nil || other.UnsequenceChunkPointNum == nil {
+      return false
+    }
+    if (*p.UnsequenceChunkPointNum) != (*other.UnsequenceChunkPointNum) { return false }
+  }
+  if p.TotalPageNum != other.TotalPageNum {
+    if p.TotalPageNum == nil || other.TotalPageNum == nil {
+      return false
+    }
+    if (*p.TotalPageNum) != (*other.TotalPageNum) { return false }
+  }
+  if p.OverlappedPageNum != other.OverlappedPageNum {
+    if p.OverlappedPageNum == nil || other.OverlappedPageNum == nil {
+      return false
+    }
+    if (*p.OverlappedPageNum) != (*other.OverlappedPageNum) { return false }
+  }
+  return true
+}
+
+func (p *TSTracingInfo) String() string {
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSTracingInfo(%+v)", *p)
 }
 
 // Attributes:
@@ -942,567 +1599,752 @@ func (p *TSQueryNonAlignDataSet) String() string {
 //  - QueryDataSet
 //  - NonAlignQueryDataSet
 //  - ColumnNameIndexMap
+//  - SgColumns
+//  - AliasColumns
+//  - TracingInfo
 type TSExecuteStatementResp struct {
-	Status *TSStatus `thrift:"status,1,required" db:"status" json:"status"`
-	QueryId *int64 `thrift:"queryId,2" db:"queryId" json:"queryId,omitempty"`
-	Columns []string `thrift:"columns,3" db:"columns" json:"columns,omitempty"`
-	OperationType *string `thrift:"operationType,4" db:"operationType" json:"operationType,omitempty"`
-	IgnoreTimeStamp *bool `thrift:"ignoreTimeStamp,5" db:"ignoreTimeStamp" json:"ignoreTimeStamp,omitempty"`
-	DataTypeList []string `thrift:"dataTypeList,6" db:"dataTypeList" json:"dataTypeList,omitempty"`
-	QueryDataSet *TSQueryDataSet `thrift:"queryDataSet,7" db:"queryDataSet" json:"queryDataSet,omitempty"`
-	NonAlignQueryDataSet *TSQueryNonAlignDataSet `thrift:"nonAlignQueryDataSet,8" db:"nonAlignQueryDataSet" json:"nonAlignQueryDataSet,omitempty"`
-	ColumnNameIndexMap map[string]int32 `thrift:"columnNameIndexMap,9" db:"columnNameIndexMap" json:"columnNameIndexMap,omitempty"`
+  Status *TSStatus `thrift:"status,1,required" db:"status" json:"status"`
+  QueryId *int64 `thrift:"queryId,2" db:"queryId" json:"queryId,omitempty"`
+  Columns []string `thrift:"columns,3" db:"columns" json:"columns,omitempty"`
+  OperationType *string `thrift:"operationType,4" db:"operationType" json:"operationType,omitempty"`
+  IgnoreTimeStamp *bool `thrift:"ignoreTimeStamp,5" db:"ignoreTimeStamp" json:"ignoreTimeStamp,omitempty"`
+  DataTypeList []string `thrift:"dataTypeList,6" db:"dataTypeList" json:"dataTypeList,omitempty"`
+  QueryDataSet *TSQueryDataSet `thrift:"queryDataSet,7" db:"queryDataSet" json:"queryDataSet,omitempty"`
+  NonAlignQueryDataSet *TSQueryNonAlignDataSet `thrift:"nonAlignQueryDataSet,8" db:"nonAlignQueryDataSet" json:"nonAlignQueryDataSet,omitempty"`
+  ColumnNameIndexMap map[string]int32 `thrift:"columnNameIndexMap,9" db:"columnNameIndexMap" json:"columnNameIndexMap,omitempty"`
+  SgColumns []string `thrift:"sgColumns,10" db:"sgColumns" json:"sgColumns,omitempty"`
+  AliasColumns []int8 `thrift:"aliasColumns,11" db:"aliasColumns" json:"aliasColumns,omitempty"`
+  TracingInfo *TSTracingInfo `thrift:"tracingInfo,12" db:"tracingInfo" json:"tracingInfo,omitempty"`
 }
 
 func NewTSExecuteStatementResp() *TSExecuteStatementResp {
-	return &TSExecuteStatementResp{}
+  return &TSExecuteStatementResp{}
 }
 
 var TSExecuteStatementResp_Status_DEFAULT *TSStatus
 func (p *TSExecuteStatementResp) GetStatus() *TSStatus {
-	if !p.IsSetStatus() {
-		return TSExecuteStatementResp_Status_DEFAULT
-	}
-	return p.Status
+  if !p.IsSetStatus() {
+    return TSExecuteStatementResp_Status_DEFAULT
+  }
+return p.Status
 }
 var TSExecuteStatementResp_QueryId_DEFAULT int64
 func (p *TSExecuteStatementResp) GetQueryId() int64 {
-	if !p.IsSetQueryId() {
-		return TSExecuteStatementResp_QueryId_DEFAULT
-	}
-	return *p.QueryId
+  if !p.IsSetQueryId() {
+    return TSExecuteStatementResp_QueryId_DEFAULT
+  }
+return *p.QueryId
 }
 var TSExecuteStatementResp_Columns_DEFAULT []string
 
 func (p *TSExecuteStatementResp) GetColumns() []string {
-	return p.Columns
+  return p.Columns
 }
 var TSExecuteStatementResp_OperationType_DEFAULT string
 func (p *TSExecuteStatementResp) GetOperationType() string {
-	if !p.IsSetOperationType() {
-		return TSExecuteStatementResp_OperationType_DEFAULT
-	}
-	return *p.OperationType
+  if !p.IsSetOperationType() {
+    return TSExecuteStatementResp_OperationType_DEFAULT
+  }
+return *p.OperationType
 }
 var TSExecuteStatementResp_IgnoreTimeStamp_DEFAULT bool
 func (p *TSExecuteStatementResp) GetIgnoreTimeStamp() bool {
-	if !p.IsSetIgnoreTimeStamp() {
-		return TSExecuteStatementResp_IgnoreTimeStamp_DEFAULT
-	}
-	return *p.IgnoreTimeStamp
+  if !p.IsSetIgnoreTimeStamp() {
+    return TSExecuteStatementResp_IgnoreTimeStamp_DEFAULT
+  }
+return *p.IgnoreTimeStamp
 }
 var TSExecuteStatementResp_DataTypeList_DEFAULT []string
 
 func (p *TSExecuteStatementResp) GetDataTypeList() []string {
-	return p.DataTypeList
+  return p.DataTypeList
 }
 var TSExecuteStatementResp_QueryDataSet_DEFAULT *TSQueryDataSet
 func (p *TSExecuteStatementResp) GetQueryDataSet() *TSQueryDataSet {
-	if !p.IsSetQueryDataSet() {
-		return TSExecuteStatementResp_QueryDataSet_DEFAULT
-	}
-	return p.QueryDataSet
+  if !p.IsSetQueryDataSet() {
+    return TSExecuteStatementResp_QueryDataSet_DEFAULT
+  }
+return p.QueryDataSet
 }
 var TSExecuteStatementResp_NonAlignQueryDataSet_DEFAULT *TSQueryNonAlignDataSet
 func (p *TSExecuteStatementResp) GetNonAlignQueryDataSet() *TSQueryNonAlignDataSet {
-	if !p.IsSetNonAlignQueryDataSet() {
-		return TSExecuteStatementResp_NonAlignQueryDataSet_DEFAULT
-	}
-	return p.NonAlignQueryDataSet
+  if !p.IsSetNonAlignQueryDataSet() {
+    return TSExecuteStatementResp_NonAlignQueryDataSet_DEFAULT
+  }
+return p.NonAlignQueryDataSet
 }
 var TSExecuteStatementResp_ColumnNameIndexMap_DEFAULT map[string]int32
 
 func (p *TSExecuteStatementResp) GetColumnNameIndexMap() map[string]int32 {
-	return p.ColumnNameIndexMap
+  return p.ColumnNameIndexMap
+}
+var TSExecuteStatementResp_SgColumns_DEFAULT []string
+
+func (p *TSExecuteStatementResp) GetSgColumns() []string {
+  return p.SgColumns
+}
+var TSExecuteStatementResp_AliasColumns_DEFAULT []int8
+
+func (p *TSExecuteStatementResp) GetAliasColumns() []int8 {
+  return p.AliasColumns
+}
+var TSExecuteStatementResp_TracingInfo_DEFAULT *TSTracingInfo
+func (p *TSExecuteStatementResp) GetTracingInfo() *TSTracingInfo {
+  if !p.IsSetTracingInfo() {
+    return TSExecuteStatementResp_TracingInfo_DEFAULT
+  }
+return p.TracingInfo
 }
 func (p *TSExecuteStatementResp) IsSetStatus() bool {
-	return p.Status != nil
+  return p.Status != nil
 }
 
 func (p *TSExecuteStatementResp) IsSetQueryId() bool {
-	return p.QueryId != nil
+  return p.QueryId != nil
 }
 
 func (p *TSExecuteStatementResp) IsSetColumns() bool {
-	return p.Columns != nil
+  return p.Columns != nil
 }
 
 func (p *TSExecuteStatementResp) IsSetOperationType() bool {
-	return p.OperationType != nil
+  return p.OperationType != nil
 }
 
 func (p *TSExecuteStatementResp) IsSetIgnoreTimeStamp() bool {
-	return p.IgnoreTimeStamp != nil
+  return p.IgnoreTimeStamp != nil
 }
 
 func (p *TSExecuteStatementResp) IsSetDataTypeList() bool {
-	return p.DataTypeList != nil
+  return p.DataTypeList != nil
 }
 
 func (p *TSExecuteStatementResp) IsSetQueryDataSet() bool {
-	return p.QueryDataSet != nil
+  return p.QueryDataSet != nil
 }
 
 func (p *TSExecuteStatementResp) IsSetNonAlignQueryDataSet() bool {
-	return p.NonAlignQueryDataSet != nil
+  return p.NonAlignQueryDataSet != nil
 }
 
 func (p *TSExecuteStatementResp) IsSetColumnNameIndexMap() bool {
-	return p.ColumnNameIndexMap != nil
+  return p.ColumnNameIndexMap != nil
+}
+
+func (p *TSExecuteStatementResp) IsSetSgColumns() bool {
+  return p.SgColumns != nil
+}
+
+func (p *TSExecuteStatementResp) IsSetAliasColumns() bool {
+  return p.AliasColumns != nil
+}
+
+func (p *TSExecuteStatementResp) IsSetTracingInfo() bool {
+  return p.TracingInfo != nil
 }
 
 func (p *TSExecuteStatementResp) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetStatus bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.STRUCT {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetStatus = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 3:
-			if fieldTypeId == thrift.LIST {
-				if err := p.ReadField3(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 4:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField4(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 5:
-			if fieldTypeId == thrift.BOOL {
-				if err := p.ReadField5(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 6:
-			if fieldTypeId == thrift.LIST {
-				if err := p.ReadField6(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 7:
-			if fieldTypeId == thrift.STRUCT {
-				if err := p.ReadField7(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 8:
-			if fieldTypeId == thrift.STRUCT {
-				if err := p.ReadField8(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 9:
-			if fieldTypeId == thrift.MAP {
-				if err := p.ReadField9(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetStatus{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Status is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetStatus bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.STRUCT {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetStatus = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 3:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField3(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 4:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField4(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 5:
+      if fieldTypeId == thrift.BOOL {
+        if err := p.ReadField5(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 6:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField6(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 7:
+      if fieldTypeId == thrift.STRUCT {
+        if err := p.ReadField7(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 8:
+      if fieldTypeId == thrift.STRUCT {
+        if err := p.ReadField8(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 9:
+      if fieldTypeId == thrift.MAP {
+        if err := p.ReadField9(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 10:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField10(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 11:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField11(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 12:
+      if fieldTypeId == thrift.STRUCT {
+        if err := p.ReadField12(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetStatus{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Status is not set"));
+  }
+  return nil
 }
 
 func (p *TSExecuteStatementResp)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	p.Status = &TSStatus{}
-	if err := p.Status.Read(ctx, iprot); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Status), err)
-	}
-	return nil
+  p.Status = &TSStatus{}
+  if err := p.Status.Read(ctx, iprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Status), err)
+  }
+  return nil
 }
 
 func (p *TSExecuteStatementResp)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.QueryId = &v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.QueryId = &v
+}
+  return nil
 }
 
 func (p *TSExecuteStatementResp)  ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
-	_, size, err := iprot.ReadListBegin(ctx)
-	if err != nil {
-		return thrift.PrependError("error reading list begin: ", err)
-	}
-	tSlice := make([]string, 0, size)
-	p.Columns =  tSlice
-	for i := 0; i < size; i ++ {
-		var _elem10 string
-		if v, err := iprot.ReadString(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_elem10 = v
-		}
-		p.Columns = append(p.Columns, _elem10)
-	}
-	if err := iprot.ReadListEnd(ctx); err != nil {
-		return thrift.PrependError("error reading list end: ", err)
-	}
-	return nil
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([]string, 0, size)
+  p.Columns =  tSlice
+  for i := 0; i < size; i ++ {
+var _elem14 string
+    if v, err := iprot.ReadString(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _elem14 = v
+}
+    p.Columns = append(p.Columns, _elem14)
+  }
+  if err := iprot.ReadListEnd(ctx); err != nil {
+    return thrift.PrependError("error reading list end: ", err)
+  }
+  return nil
 }
 
 func (p *TSExecuteStatementResp)  ReadField4(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 4: ", err)
-	} else {
-		p.OperationType = &v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 4: ", err)
+} else {
+  p.OperationType = &v
+}
+  return nil
 }
 
 func (p *TSExecuteStatementResp)  ReadField5(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadBool(ctx); err != nil {
-		return thrift.PrependError("error reading field 5: ", err)
-	} else {
-		p.IgnoreTimeStamp = &v
-	}
-	return nil
+  if v, err := iprot.ReadBool(ctx); err != nil {
+  return thrift.PrependError("error reading field 5: ", err)
+} else {
+  p.IgnoreTimeStamp = &v
+}
+  return nil
 }
 
 func (p *TSExecuteStatementResp)  ReadField6(ctx context.Context, iprot thrift.TProtocol) error {
-	_, size, err := iprot.ReadListBegin(ctx)
-	if err != nil {
-		return thrift.PrependError("error reading list begin: ", err)
-	}
-	tSlice := make([]string, 0, size)
-	p.DataTypeList =  tSlice
-	for i := 0; i < size; i ++ {
-		var _elem11 string
-		if v, err := iprot.ReadString(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_elem11 = v
-		}
-		p.DataTypeList = append(p.DataTypeList, _elem11)
-	}
-	if err := iprot.ReadListEnd(ctx); err != nil {
-		return thrift.PrependError("error reading list end: ", err)
-	}
-	return nil
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([]string, 0, size)
+  p.DataTypeList =  tSlice
+  for i := 0; i < size; i ++ {
+var _elem15 string
+    if v, err := iprot.ReadString(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _elem15 = v
+}
+    p.DataTypeList = append(p.DataTypeList, _elem15)
+  }
+  if err := iprot.ReadListEnd(ctx); err != nil {
+    return thrift.PrependError("error reading list end: ", err)
+  }
+  return nil
 }
 
 func (p *TSExecuteStatementResp)  ReadField7(ctx context.Context, iprot thrift.TProtocol) error {
-	p.QueryDataSet = &TSQueryDataSet{}
-	if err := p.QueryDataSet.Read(ctx, iprot); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.QueryDataSet), err)
-	}
-	return nil
+  p.QueryDataSet = &TSQueryDataSet{}
+  if err := p.QueryDataSet.Read(ctx, iprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.QueryDataSet), err)
+  }
+  return nil
 }
 
 func (p *TSExecuteStatementResp)  ReadField8(ctx context.Context, iprot thrift.TProtocol) error {
-	p.NonAlignQueryDataSet = &TSQueryNonAlignDataSet{}
-	if err := p.NonAlignQueryDataSet.Read(ctx, iprot); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.NonAlignQueryDataSet), err)
-	}
-	return nil
+  p.NonAlignQueryDataSet = &TSQueryNonAlignDataSet{}
+  if err := p.NonAlignQueryDataSet.Read(ctx, iprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.NonAlignQueryDataSet), err)
+  }
+  return nil
 }
 
 func (p *TSExecuteStatementResp)  ReadField9(ctx context.Context, iprot thrift.TProtocol) error {
-	_, _, size, err := iprot.ReadMapBegin(ctx)
-	if err != nil {
-		return thrift.PrependError("error reading map begin: ", err)
-	}
-	tMap := make(map[string]int32, size)
-	p.ColumnNameIndexMap =  tMap
-	for i := 0; i < size; i ++ {
-		var _key12 string
-		if v, err := iprot.ReadString(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_key12 = v
-		}
-		var _val13 int32
-		if v, err := iprot.ReadI32(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_val13 = v
-		}
-		p.ColumnNameIndexMap[_key12] = _val13
-	}
-	if err := iprot.ReadMapEnd(ctx); err != nil {
-		return thrift.PrependError("error reading map end: ", err)
-	}
-	return nil
+  _, _, size, err := iprot.ReadMapBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading map begin: ", err)
+  }
+  tMap := make(map[string]int32, size)
+  p.ColumnNameIndexMap =  tMap
+  for i := 0; i < size; i ++ {
+var _key16 string
+    if v, err := iprot.ReadString(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _key16 = v
+}
+var _val17 int32
+    if v, err := iprot.ReadI32(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _val17 = v
+}
+    p.ColumnNameIndexMap[_key16] = _val17
+  }
+  if err := iprot.ReadMapEnd(ctx); err != nil {
+    return thrift.PrependError("error reading map end: ", err)
+  }
+  return nil
+}
+
+func (p *TSExecuteStatementResp)  ReadField10(ctx context.Context, iprot thrift.TProtocol) error {
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([]string, 0, size)
+  p.SgColumns =  tSlice
+  for i := 0; i < size; i ++ {
+var _elem18 string
+    if v, err := iprot.ReadString(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _elem18 = v
+}
+    p.SgColumns = append(p.SgColumns, _elem18)
+  }
+  if err := iprot.ReadListEnd(ctx); err != nil {
+    return thrift.PrependError("error reading list end: ", err)
+  }
+  return nil
+}
+
+func (p *TSExecuteStatementResp)  ReadField11(ctx context.Context, iprot thrift.TProtocol) error {
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([]int8, 0, size)
+  p.AliasColumns =  tSlice
+  for i := 0; i < size; i ++ {
+var _elem19 int8
+    if v, err := iprot.ReadByte(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    temp := int8(v)
+    _elem19 = temp
+}
+    p.AliasColumns = append(p.AliasColumns, _elem19)
+  }
+  if err := iprot.ReadListEnd(ctx); err != nil {
+    return thrift.PrependError("error reading list end: ", err)
+  }
+  return nil
+}
+
+func (p *TSExecuteStatementResp)  ReadField12(ctx context.Context, iprot thrift.TProtocol) error {
+  p.TracingInfo = &TSTracingInfo{}
+  if err := p.TracingInfo.Read(ctx, iprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.TracingInfo), err)
+  }
+  return nil
 }
 
 func (p *TSExecuteStatementResp) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSExecuteStatementResp"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-		if err := p.writeField3(ctx, oprot); err != nil { return err }
-		if err := p.writeField4(ctx, oprot); err != nil { return err }
-		if err := p.writeField5(ctx, oprot); err != nil { return err }
-		if err := p.writeField6(ctx, oprot); err != nil { return err }
-		if err := p.writeField7(ctx, oprot); err != nil { return err }
-		if err := p.writeField8(ctx, oprot); err != nil { return err }
-		if err := p.writeField9(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSExecuteStatementResp"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+    if err := p.writeField3(ctx, oprot); err != nil { return err }
+    if err := p.writeField4(ctx, oprot); err != nil { return err }
+    if err := p.writeField5(ctx, oprot); err != nil { return err }
+    if err := p.writeField6(ctx, oprot); err != nil { return err }
+    if err := p.writeField7(ctx, oprot); err != nil { return err }
+    if err := p.writeField8(ctx, oprot); err != nil { return err }
+    if err := p.writeField9(ctx, oprot); err != nil { return err }
+    if err := p.writeField10(ctx, oprot); err != nil { return err }
+    if err := p.writeField11(ctx, oprot); err != nil { return err }
+    if err := p.writeField12(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSExecuteStatementResp) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "status", thrift.STRUCT, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:status: ", p), err) }
-	if err := p.Status.Write(ctx, oprot); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Status), err)
-	}
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:status: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "status", thrift.STRUCT, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:status: ", p), err) }
+  if err := p.Status.Write(ctx, oprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Status), err)
+  }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:status: ", p), err) }
+  return err
 }
 
 func (p *TSExecuteStatementResp) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetQueryId() {
-		if err := oprot.WriteFieldBegin(ctx, "queryId", thrift.I64, 2); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:queryId: ", p), err) }
-		if err := oprot.WriteI64(ctx, int64(*p.QueryId)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.queryId (2) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 2:queryId: ", p), err) }
-	}
-	return err
+  if p.IsSetQueryId() {
+    if err := oprot.WriteFieldBegin(ctx, "queryId", thrift.I64, 2); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:queryId: ", p), err) }
+    if err := oprot.WriteI64(ctx, int64(*p.QueryId)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.queryId (2) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 2:queryId: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSExecuteStatementResp) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetColumns() {
-		if err := oprot.WriteFieldBegin(ctx, "columns", thrift.LIST, 3); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:columns: ", p), err) }
-		if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.Columns)); err != nil {
-			return thrift.PrependError("error writing list begin: ", err)
-		}
-		for _, v := range p.Columns {
-			if err := oprot.WriteString(ctx, string(v)); err != nil {
-				return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
-		}
-		if err := oprot.WriteListEnd(ctx); err != nil {
-			return thrift.PrependError("error writing list end: ", err)
-		}
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 3:columns: ", p), err) }
-	}
-	return err
+  if p.IsSetColumns() {
+    if err := oprot.WriteFieldBegin(ctx, "columns", thrift.LIST, 3); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:columns: ", p), err) }
+    if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.Columns)); err != nil {
+      return thrift.PrependError("error writing list begin: ", err)
+    }
+    for _, v := range p.Columns {
+      if err := oprot.WriteString(ctx, string(v)); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+    }
+    if err := oprot.WriteListEnd(ctx); err != nil {
+      return thrift.PrependError("error writing list end: ", err)
+    }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 3:columns: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSExecuteStatementResp) writeField4(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetOperationType() {
-		if err := oprot.WriteFieldBegin(ctx, "operationType", thrift.STRING, 4); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:operationType: ", p), err) }
-		if err := oprot.WriteString(ctx, string(*p.OperationType)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.operationType (4) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 4:operationType: ", p), err) }
-	}
-	return err
+  if p.IsSetOperationType() {
+    if err := oprot.WriteFieldBegin(ctx, "operationType", thrift.STRING, 4); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:operationType: ", p), err) }
+    if err := oprot.WriteString(ctx, string(*p.OperationType)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.operationType (4) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 4:operationType: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSExecuteStatementResp) writeField5(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetIgnoreTimeStamp() {
-		if err := oprot.WriteFieldBegin(ctx, "ignoreTimeStamp", thrift.BOOL, 5); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 5:ignoreTimeStamp: ", p), err) }
-		if err := oprot.WriteBool(ctx, bool(*p.IgnoreTimeStamp)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.ignoreTimeStamp (5) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 5:ignoreTimeStamp: ", p), err) }
-	}
-	return err
+  if p.IsSetIgnoreTimeStamp() {
+    if err := oprot.WriteFieldBegin(ctx, "ignoreTimeStamp", thrift.BOOL, 5); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 5:ignoreTimeStamp: ", p), err) }
+    if err := oprot.WriteBool(ctx, bool(*p.IgnoreTimeStamp)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.ignoreTimeStamp (5) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 5:ignoreTimeStamp: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSExecuteStatementResp) writeField6(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetDataTypeList() {
-		if err := oprot.WriteFieldBegin(ctx, "dataTypeList", thrift.LIST, 6); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 6:dataTypeList: ", p), err) }
-		if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.DataTypeList)); err != nil {
-			return thrift.PrependError("error writing list begin: ", err)
-		}
-		for _, v := range p.DataTypeList {
-			if err := oprot.WriteString(ctx, string(v)); err != nil {
-				return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
-		}
-		if err := oprot.WriteListEnd(ctx); err != nil {
-			return thrift.PrependError("error writing list end: ", err)
-		}
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 6:dataTypeList: ", p), err) }
-	}
-	return err
+  if p.IsSetDataTypeList() {
+    if err := oprot.WriteFieldBegin(ctx, "dataTypeList", thrift.LIST, 6); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 6:dataTypeList: ", p), err) }
+    if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.DataTypeList)); err != nil {
+      return thrift.PrependError("error writing list begin: ", err)
+    }
+    for _, v := range p.DataTypeList {
+      if err := oprot.WriteString(ctx, string(v)); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+    }
+    if err := oprot.WriteListEnd(ctx); err != nil {
+      return thrift.PrependError("error writing list end: ", err)
+    }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 6:dataTypeList: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSExecuteStatementResp) writeField7(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetQueryDataSet() {
-		if err := oprot.WriteFieldBegin(ctx, "queryDataSet", thrift.STRUCT, 7); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 7:queryDataSet: ", p), err) }
-		if err := p.QueryDataSet.Write(ctx, oprot); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.QueryDataSet), err)
-		}
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 7:queryDataSet: ", p), err) }
-	}
-	return err
+  if p.IsSetQueryDataSet() {
+    if err := oprot.WriteFieldBegin(ctx, "queryDataSet", thrift.STRUCT, 7); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 7:queryDataSet: ", p), err) }
+    if err := p.QueryDataSet.Write(ctx, oprot); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.QueryDataSet), err)
+    }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 7:queryDataSet: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSExecuteStatementResp) writeField8(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetNonAlignQueryDataSet() {
-		if err := oprot.WriteFieldBegin(ctx, "nonAlignQueryDataSet", thrift.STRUCT, 8); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 8:nonAlignQueryDataSet: ", p), err) }
-		if err := p.NonAlignQueryDataSet.Write(ctx, oprot); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.NonAlignQueryDataSet), err)
-		}
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 8:nonAlignQueryDataSet: ", p), err) }
-	}
-	return err
+  if p.IsSetNonAlignQueryDataSet() {
+    if err := oprot.WriteFieldBegin(ctx, "nonAlignQueryDataSet", thrift.STRUCT, 8); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 8:nonAlignQueryDataSet: ", p), err) }
+    if err := p.NonAlignQueryDataSet.Write(ctx, oprot); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.NonAlignQueryDataSet), err)
+    }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 8:nonAlignQueryDataSet: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSExecuteStatementResp) writeField9(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetColumnNameIndexMap() {
-		if err := oprot.WriteFieldBegin(ctx, "columnNameIndexMap", thrift.MAP, 9); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 9:columnNameIndexMap: ", p), err) }
-		if err := oprot.WriteMapBegin(ctx, thrift.STRING, thrift.I32, len(p.ColumnNameIndexMap)); err != nil {
-			return thrift.PrependError("error writing map begin: ", err)
-		}
-		for k, v := range p.ColumnNameIndexMap {
-			if err := oprot.WriteString(ctx, string(k)); err != nil {
-				return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
-			if err := oprot.WriteI32(ctx, int32(v)); err != nil {
-				return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
-		}
-		if err := oprot.WriteMapEnd(ctx); err != nil {
-			return thrift.PrependError("error writing map end: ", err)
-		}
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 9:columnNameIndexMap: ", p), err) }
-	}
-	return err
+  if p.IsSetColumnNameIndexMap() {
+    if err := oprot.WriteFieldBegin(ctx, "columnNameIndexMap", thrift.MAP, 9); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 9:columnNameIndexMap: ", p), err) }
+    if err := oprot.WriteMapBegin(ctx, thrift.STRING, thrift.I32, len(p.ColumnNameIndexMap)); err != nil {
+      return thrift.PrependError("error writing map begin: ", err)
+    }
+    for k, v := range p.ColumnNameIndexMap {
+      if err := oprot.WriteString(ctx, string(k)); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+      if err := oprot.WriteI32(ctx, int32(v)); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+    }
+    if err := oprot.WriteMapEnd(ctx); err != nil {
+      return thrift.PrependError("error writing map end: ", err)
+    }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 9:columnNameIndexMap: ", p), err) }
+  }
+  return err
+}
+
+func (p *TSExecuteStatementResp) writeField10(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if p.IsSetSgColumns() {
+    if err := oprot.WriteFieldBegin(ctx, "sgColumns", thrift.LIST, 10); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 10:sgColumns: ", p), err) }
+    if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.SgColumns)); err != nil {
+      return thrift.PrependError("error writing list begin: ", err)
+    }
+    for _, v := range p.SgColumns {
+      if err := oprot.WriteString(ctx, string(v)); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+    }
+    if err := oprot.WriteListEnd(ctx); err != nil {
+      return thrift.PrependError("error writing list end: ", err)
+    }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 10:sgColumns: ", p), err) }
+  }
+  return err
+}
+
+func (p *TSExecuteStatementResp) writeField11(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if p.IsSetAliasColumns() {
+    if err := oprot.WriteFieldBegin(ctx, "aliasColumns", thrift.LIST, 11); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 11:aliasColumns: ", p), err) }
+    if err := oprot.WriteListBegin(ctx, thrift.BYTE, len(p.AliasColumns)); err != nil {
+      return thrift.PrependError("error writing list begin: ", err)
+    }
+    for _, v := range p.AliasColumns {
+      if err := oprot.WriteByte(ctx, int8(v)); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+    }
+    if err := oprot.WriteListEnd(ctx); err != nil {
+      return thrift.PrependError("error writing list end: ", err)
+    }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 11:aliasColumns: ", p), err) }
+  }
+  return err
+}
+
+func (p *TSExecuteStatementResp) writeField12(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if p.IsSetTracingInfo() {
+    if err := oprot.WriteFieldBegin(ctx, "tracingInfo", thrift.STRUCT, 12); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 12:tracingInfo: ", p), err) }
+    if err := p.TracingInfo.Write(ctx, oprot); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.TracingInfo), err)
+    }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 12:tracingInfo: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSExecuteStatementResp) Equals(other *TSExecuteStatementResp) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if !p.Status.Equals(other.Status) { return false }
-	if p.QueryId != other.QueryId {
-		if p.QueryId == nil || other.QueryId == nil {
-			return false
-		}
-		if (*p.QueryId) != (*other.QueryId) { return false }
-	}
-	if len(p.Columns) != len(other.Columns) { return false }
-	for i, _tgt := range p.Columns {
-		_src14 := other.Columns[i]
-		if _tgt != _src14 { return false }
-	}
-	if p.OperationType != other.OperationType {
-		if p.OperationType == nil || other.OperationType == nil {
-			return false
-		}
-		if (*p.OperationType) != (*other.OperationType) { return false }
-	}
-	if p.IgnoreTimeStamp != other.IgnoreTimeStamp {
-		if p.IgnoreTimeStamp == nil || other.IgnoreTimeStamp == nil {
-			return false
-		}
-		if (*p.IgnoreTimeStamp) != (*other.IgnoreTimeStamp) { return false }
-	}
-	if len(p.DataTypeList) != len(other.DataTypeList) { return false }
-	for i, _tgt := range p.DataTypeList {
-		_src15 := other.DataTypeList[i]
-		if _tgt != _src15 { return false }
-	}
-	if !p.QueryDataSet.Equals(other.QueryDataSet) { return false }
-	if !p.NonAlignQueryDataSet.Equals(other.NonAlignQueryDataSet) { return false }
-	if len(p.ColumnNameIndexMap) != len(other.ColumnNameIndexMap) { return false }
-	for k, _tgt := range p.ColumnNameIndexMap {
-		_src16 := other.ColumnNameIndexMap[k]
-		if _tgt != _src16 { return false }
-	}
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if !p.Status.Equals(other.Status) { return false }
+  if p.QueryId != other.QueryId {
+    if p.QueryId == nil || other.QueryId == nil {
+      return false
+    }
+    if (*p.QueryId) != (*other.QueryId) { return false }
+  }
+  if len(p.Columns) != len(other.Columns) { return false }
+  for i, _tgt := range p.Columns {
+    _src20 := other.Columns[i]
+    if _tgt != _src20 { return false }
+  }
+  if p.OperationType != other.OperationType {
+    if p.OperationType == nil || other.OperationType == nil {
+      return false
+    }
+    if (*p.OperationType) != (*other.OperationType) { return false }
+  }
+  if p.IgnoreTimeStamp != other.IgnoreTimeStamp {
+    if p.IgnoreTimeStamp == nil || other.IgnoreTimeStamp == nil {
+      return false
+    }
+    if (*p.IgnoreTimeStamp) != (*other.IgnoreTimeStamp) { return false }
+  }
+  if len(p.DataTypeList) != len(other.DataTypeList) { return false }
+  for i, _tgt := range p.DataTypeList {
+    _src21 := other.DataTypeList[i]
+    if _tgt != _src21 { return false }
+  }
+  if !p.QueryDataSet.Equals(other.QueryDataSet) { return false }
+  if !p.NonAlignQueryDataSet.Equals(other.NonAlignQueryDataSet) { return false }
+  if len(p.ColumnNameIndexMap) != len(other.ColumnNameIndexMap) { return false }
+  for k, _tgt := range p.ColumnNameIndexMap {
+    _src22 := other.ColumnNameIndexMap[k]
+    if _tgt != _src22 { return false }
+  }
+  if len(p.SgColumns) != len(other.SgColumns) { return false }
+  for i, _tgt := range p.SgColumns {
+    _src23 := other.SgColumns[i]
+    if _tgt != _src23 { return false }
+  }
+  if len(p.AliasColumns) != len(other.AliasColumns) { return false }
+  for i, _tgt := range p.AliasColumns {
+    _src24 := other.AliasColumns[i]
+    if _tgt != _src24 { return false }
+  }
+  if !p.TracingInfo.Equals(other.TracingInfo) { return false }
+  return true
 }
 
 func (p *TSExecuteStatementResp) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSExecuteStatementResp(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSExecuteStatementResp(%+v)", *p)
 }
 
 // Attributes:
@@ -1511,284 +2353,284 @@ func (p *TSExecuteStatementResp) String() string {
 //  - SessionId
 //  - Configuration
 type TSOpenSessionResp struct {
-	Status *TSStatus `thrift:"status,1,required" db:"status" json:"status"`
-	ServerProtocolVersion TSProtocolVersion `thrift:"serverProtocolVersion,2,required" db:"serverProtocolVersion" json:"serverProtocolVersion"`
-	SessionId *int64 `thrift:"sessionId,3" db:"sessionId" json:"sessionId,omitempty"`
-	Configuration map[string]string `thrift:"configuration,4" db:"configuration" json:"configuration,omitempty"`
+  Status *TSStatus `thrift:"status,1,required" db:"status" json:"status"`
+  ServerProtocolVersion TSProtocolVersion `thrift:"serverProtocolVersion,2,required" db:"serverProtocolVersion" json:"serverProtocolVersion"`
+  SessionId *int64 `thrift:"sessionId,3" db:"sessionId" json:"sessionId,omitempty"`
+  Configuration map[string]string `thrift:"configuration,4" db:"configuration" json:"configuration,omitempty"`
 }
 
 func NewTSOpenSessionResp() *TSOpenSessionResp {
-	return &TSOpenSessionResp{
-		ServerProtocolVersion: 0,
-	}
+  return &TSOpenSessionResp{
+ServerProtocolVersion: 0,
+}
 }
 
 var TSOpenSessionResp_Status_DEFAULT *TSStatus
 func (p *TSOpenSessionResp) GetStatus() *TSStatus {
-	if !p.IsSetStatus() {
-		return TSOpenSessionResp_Status_DEFAULT
-	}
-	return p.Status
+  if !p.IsSetStatus() {
+    return TSOpenSessionResp_Status_DEFAULT
+  }
+return p.Status
 }
 
 func (p *TSOpenSessionResp) GetServerProtocolVersion() TSProtocolVersion {
-	return p.ServerProtocolVersion
+  return p.ServerProtocolVersion
 }
 var TSOpenSessionResp_SessionId_DEFAULT int64
 func (p *TSOpenSessionResp) GetSessionId() int64 {
-	if !p.IsSetSessionId() {
-		return TSOpenSessionResp_SessionId_DEFAULT
-	}
-	return *p.SessionId
+  if !p.IsSetSessionId() {
+    return TSOpenSessionResp_SessionId_DEFAULT
+  }
+return *p.SessionId
 }
 var TSOpenSessionResp_Configuration_DEFAULT map[string]string
 
 func (p *TSOpenSessionResp) GetConfiguration() map[string]string {
-	return p.Configuration
+  return p.Configuration
 }
 func (p *TSOpenSessionResp) IsSetStatus() bool {
-	return p.Status != nil
+  return p.Status != nil
 }
 
 func (p *TSOpenSessionResp) IsSetSessionId() bool {
-	return p.SessionId != nil
+  return p.SessionId != nil
 }
 
 func (p *TSOpenSessionResp) IsSetConfiguration() bool {
-	return p.Configuration != nil
+  return p.Configuration != nil
 }
 
 func (p *TSOpenSessionResp) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetStatus bool = false;
-	var issetServerProtocolVersion bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.STRUCT {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetStatus = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.I32 {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetServerProtocolVersion = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 3:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField3(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 4:
-			if fieldTypeId == thrift.MAP {
-				if err := p.ReadField4(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetStatus{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Status is not set"));
-	}
-	if !issetServerProtocolVersion{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field ServerProtocolVersion is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetStatus bool = false;
+  var issetServerProtocolVersion bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.STRUCT {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetStatus = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.I32 {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetServerProtocolVersion = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 3:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField3(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 4:
+      if fieldTypeId == thrift.MAP {
+        if err := p.ReadField4(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetStatus{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Status is not set"));
+  }
+  if !issetServerProtocolVersion{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field ServerProtocolVersion is not set"));
+  }
+  return nil
 }
 
 func (p *TSOpenSessionResp)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	p.Status = &TSStatus{}
-	if err := p.Status.Read(ctx, iprot); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Status), err)
-	}
-	return nil
+  p.Status = &TSStatus{}
+  if err := p.Status.Read(ctx, iprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Status), err)
+  }
+  return nil
 }
 
 func (p *TSOpenSessionResp)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI32(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		temp := TSProtocolVersion(v)
-		p.ServerProtocolVersion = temp
-	}
-	return nil
+  if v, err := iprot.ReadI32(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  temp := TSProtocolVersion(v)
+  p.ServerProtocolVersion = temp
+}
+  return nil
 }
 
 func (p *TSOpenSessionResp)  ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 3: ", err)
-	} else {
-		p.SessionId = &v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 3: ", err)
+} else {
+  p.SessionId = &v
+}
+  return nil
 }
 
 func (p *TSOpenSessionResp)  ReadField4(ctx context.Context, iprot thrift.TProtocol) error {
-	_, _, size, err := iprot.ReadMapBegin(ctx)
-	if err != nil {
-		return thrift.PrependError("error reading map begin: ", err)
-	}
-	tMap := make(map[string]string, size)
-	p.Configuration =  tMap
-	for i := 0; i < size; i ++ {
-		var _key17 string
-		if v, err := iprot.ReadString(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_key17 = v
-		}
-		var _val18 string
-		if v, err := iprot.ReadString(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_val18 = v
-		}
-		p.Configuration[_key17] = _val18
-	}
-	if err := iprot.ReadMapEnd(ctx); err != nil {
-		return thrift.PrependError("error reading map end: ", err)
-	}
-	return nil
+  _, _, size, err := iprot.ReadMapBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading map begin: ", err)
+  }
+  tMap := make(map[string]string, size)
+  p.Configuration =  tMap
+  for i := 0; i < size; i ++ {
+var _key25 string
+    if v, err := iprot.ReadString(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _key25 = v
+}
+var _val26 string
+    if v, err := iprot.ReadString(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _val26 = v
+}
+    p.Configuration[_key25] = _val26
+  }
+  if err := iprot.ReadMapEnd(ctx); err != nil {
+    return thrift.PrependError("error reading map end: ", err)
+  }
+  return nil
 }
 
 func (p *TSOpenSessionResp) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSOpenSessionResp"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-		if err := p.writeField3(ctx, oprot); err != nil { return err }
-		if err := p.writeField4(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSOpenSessionResp"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+    if err := p.writeField3(ctx, oprot); err != nil { return err }
+    if err := p.writeField4(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSOpenSessionResp) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "status", thrift.STRUCT, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:status: ", p), err) }
-	if err := p.Status.Write(ctx, oprot); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Status), err)
-	}
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:status: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "status", thrift.STRUCT, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:status: ", p), err) }
+  if err := p.Status.Write(ctx, oprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Status), err)
+  }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:status: ", p), err) }
+  return err
 }
 
 func (p *TSOpenSessionResp) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "serverProtocolVersion", thrift.I32, 2); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:serverProtocolVersion: ", p), err) }
-	if err := oprot.WriteI32(ctx, int32(p.ServerProtocolVersion)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.serverProtocolVersion (2) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 2:serverProtocolVersion: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "serverProtocolVersion", thrift.I32, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:serverProtocolVersion: ", p), err) }
+  if err := oprot.WriteI32(ctx, int32(p.ServerProtocolVersion)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.serverProtocolVersion (2) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:serverProtocolVersion: ", p), err) }
+  return err
 }
 
 func (p *TSOpenSessionResp) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetSessionId() {
-		if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 3); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:sessionId: ", p), err) }
-		if err := oprot.WriteI64(ctx, int64(*p.SessionId)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.sessionId (3) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 3:sessionId: ", p), err) }
-	}
-	return err
+  if p.IsSetSessionId() {
+    if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 3); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:sessionId: ", p), err) }
+    if err := oprot.WriteI64(ctx, int64(*p.SessionId)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.sessionId (3) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 3:sessionId: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSOpenSessionResp) writeField4(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetConfiguration() {
-		if err := oprot.WriteFieldBegin(ctx, "configuration", thrift.MAP, 4); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:configuration: ", p), err) }
-		if err := oprot.WriteMapBegin(ctx, thrift.STRING, thrift.STRING, len(p.Configuration)); err != nil {
-			return thrift.PrependError("error writing map begin: ", err)
-		}
-		for k, v := range p.Configuration {
-			if err := oprot.WriteString(ctx, string(k)); err != nil {
-				return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
-			if err := oprot.WriteString(ctx, string(v)); err != nil {
-				return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
-		}
-		if err := oprot.WriteMapEnd(ctx); err != nil {
-			return thrift.PrependError("error writing map end: ", err)
-		}
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 4:configuration: ", p), err) }
-	}
-	return err
+  if p.IsSetConfiguration() {
+    if err := oprot.WriteFieldBegin(ctx, "configuration", thrift.MAP, 4); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:configuration: ", p), err) }
+    if err := oprot.WriteMapBegin(ctx, thrift.STRING, thrift.STRING, len(p.Configuration)); err != nil {
+      return thrift.PrependError("error writing map begin: ", err)
+    }
+    for k, v := range p.Configuration {
+      if err := oprot.WriteString(ctx, string(k)); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+      if err := oprot.WriteString(ctx, string(v)); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+    }
+    if err := oprot.WriteMapEnd(ctx); err != nil {
+      return thrift.PrependError("error writing map end: ", err)
+    }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 4:configuration: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSOpenSessionResp) Equals(other *TSOpenSessionResp) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if !p.Status.Equals(other.Status) { return false }
-	if p.ServerProtocolVersion != other.ServerProtocolVersion { return false }
-	if p.SessionId != other.SessionId {
-		if p.SessionId == nil || other.SessionId == nil {
-			return false
-		}
-		if (*p.SessionId) != (*other.SessionId) { return false }
-	}
-	if len(p.Configuration) != len(other.Configuration) { return false }
-	for k, _tgt := range p.Configuration {
-		_src19 := other.Configuration[k]
-		if _tgt != _src19 { return false }
-	}
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if !p.Status.Equals(other.Status) { return false }
+  if p.ServerProtocolVersion != other.ServerProtocolVersion { return false }
+  if p.SessionId != other.SessionId {
+    if p.SessionId == nil || other.SessionId == nil {
+      return false
+    }
+    if (*p.SessionId) != (*other.SessionId) { return false }
+  }
+  if len(p.Configuration) != len(other.Configuration) { return false }
+  for k, _tgt := range p.Configuration {
+    _src27 := other.Configuration[k]
+    if _tgt != _src27 { return false }
+  }
+  return true
 }
 
 func (p *TSOpenSessionResp) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSOpenSessionResp(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSOpenSessionResp(%+v)", *p)
 }
 
 // Attributes:
@@ -1798,433 +2640,433 @@ func (p *TSOpenSessionResp) String() string {
 //  - Password
 //  - Configuration
 type TSOpenSessionReq struct {
-	ClientProtocol TSProtocolVersion `thrift:"client_protocol,1,required" db:"client_protocol" json:"client_protocol"`
-	ZoneId string `thrift:"zoneId,2,required" db:"zoneId" json:"zoneId"`
-	Username *string `thrift:"username,3" db:"username" json:"username,omitempty"`
-	Password *string `thrift:"password,4" db:"password" json:"password,omitempty"`
-	Configuration map[string]string `thrift:"configuration,5" db:"configuration" json:"configuration,omitempty"`
+  ClientProtocol TSProtocolVersion `thrift:"client_protocol,1,required" db:"client_protocol" json:"client_protocol"`
+  ZoneId string `thrift:"zoneId,2,required" db:"zoneId" json:"zoneId"`
+  Username *string `thrift:"username,3" db:"username" json:"username,omitempty"`
+  Password *string `thrift:"password,4" db:"password" json:"password,omitempty"`
+  Configuration map[string]string `thrift:"configuration,5" db:"configuration" json:"configuration,omitempty"`
 }
 
 func NewTSOpenSessionReq() *TSOpenSessionReq {
-	return &TSOpenSessionReq{
-		ClientProtocol: 2,
-	}
+  return &TSOpenSessionReq{
+ClientProtocol: 2,
+}
 }
 
 
 func (p *TSOpenSessionReq) GetClientProtocol() TSProtocolVersion {
-	return p.ClientProtocol
+  return p.ClientProtocol
 }
 
 func (p *TSOpenSessionReq) GetZoneId() string {
-	return p.ZoneId
+  return p.ZoneId
 }
 var TSOpenSessionReq_Username_DEFAULT string
 func (p *TSOpenSessionReq) GetUsername() string {
-	if !p.IsSetUsername() {
-		return TSOpenSessionReq_Username_DEFAULT
-	}
-	return *p.Username
+  if !p.IsSetUsername() {
+    return TSOpenSessionReq_Username_DEFAULT
+  }
+return *p.Username
 }
 var TSOpenSessionReq_Password_DEFAULT string
 func (p *TSOpenSessionReq) GetPassword() string {
-	if !p.IsSetPassword() {
-		return TSOpenSessionReq_Password_DEFAULT
-	}
-	return *p.Password
+  if !p.IsSetPassword() {
+    return TSOpenSessionReq_Password_DEFAULT
+  }
+return *p.Password
 }
 var TSOpenSessionReq_Configuration_DEFAULT map[string]string
 
 func (p *TSOpenSessionReq) GetConfiguration() map[string]string {
-	return p.Configuration
+  return p.Configuration
 }
 func (p *TSOpenSessionReq) IsSetUsername() bool {
-	return p.Username != nil
+  return p.Username != nil
 }
 
 func (p *TSOpenSessionReq) IsSetPassword() bool {
-	return p.Password != nil
+  return p.Password != nil
 }
 
 func (p *TSOpenSessionReq) IsSetConfiguration() bool {
-	return p.Configuration != nil
+  return p.Configuration != nil
 }
 
 func (p *TSOpenSessionReq) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetClientProtocol bool = false;
-	var issetZoneId bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.I32 {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetClientProtocol = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetZoneId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 3:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField3(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 4:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField4(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 5:
-			if fieldTypeId == thrift.MAP {
-				if err := p.ReadField5(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetClientProtocol{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field ClientProtocol is not set"));
-	}
-	if !issetZoneId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field ZoneId is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetClientProtocol bool = false;
+  var issetZoneId bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.I32 {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetClientProtocol = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetZoneId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 3:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField3(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 4:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField4(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 5:
+      if fieldTypeId == thrift.MAP {
+        if err := p.ReadField5(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetClientProtocol{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field ClientProtocol is not set"));
+  }
+  if !issetZoneId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field ZoneId is not set"));
+  }
+  return nil
 }
 
 func (p *TSOpenSessionReq)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI32(ctx); err != nil {
-		return thrift.PrependError("error reading field 1: ", err)
-	} else {
-		temp := TSProtocolVersion(v)
-		p.ClientProtocol = temp
-	}
-	return nil
+  if v, err := iprot.ReadI32(ctx); err != nil {
+  return thrift.PrependError("error reading field 1: ", err)
+} else {
+  temp := TSProtocolVersion(v)
+  p.ClientProtocol = temp
+}
+  return nil
 }
 
 func (p *TSOpenSessionReq)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.ZoneId = v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.ZoneId = v
+}
+  return nil
 }
 
 func (p *TSOpenSessionReq)  ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 3: ", err)
-	} else {
-		p.Username = &v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 3: ", err)
+} else {
+  p.Username = &v
+}
+  return nil
 }
 
 func (p *TSOpenSessionReq)  ReadField4(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 4: ", err)
-	} else {
-		p.Password = &v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 4: ", err)
+} else {
+  p.Password = &v
+}
+  return nil
 }
 
 func (p *TSOpenSessionReq)  ReadField5(ctx context.Context, iprot thrift.TProtocol) error {
-	_, _, size, err := iprot.ReadMapBegin(ctx)
-	if err != nil {
-		return thrift.PrependError("error reading map begin: ", err)
-	}
-	tMap := make(map[string]string, size)
-	p.Configuration =  tMap
-	for i := 0; i < size; i ++ {
-		var _key20 string
-		if v, err := iprot.ReadString(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_key20 = v
-		}
-		var _val21 string
-		if v, err := iprot.ReadString(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_val21 = v
-		}
-		p.Configuration[_key20] = _val21
-	}
-	if err := iprot.ReadMapEnd(ctx); err != nil {
-		return thrift.PrependError("error reading map end: ", err)
-	}
-	return nil
+  _, _, size, err := iprot.ReadMapBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading map begin: ", err)
+  }
+  tMap := make(map[string]string, size)
+  p.Configuration =  tMap
+  for i := 0; i < size; i ++ {
+var _key28 string
+    if v, err := iprot.ReadString(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _key28 = v
+}
+var _val29 string
+    if v, err := iprot.ReadString(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _val29 = v
+}
+    p.Configuration[_key28] = _val29
+  }
+  if err := iprot.ReadMapEnd(ctx); err != nil {
+    return thrift.PrependError("error reading map end: ", err)
+  }
+  return nil
 }
 
 func (p *TSOpenSessionReq) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSOpenSessionReq"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-		if err := p.writeField3(ctx, oprot); err != nil { return err }
-		if err := p.writeField4(ctx, oprot); err != nil { return err }
-		if err := p.writeField5(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSOpenSessionReq"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+    if err := p.writeField3(ctx, oprot); err != nil { return err }
+    if err := p.writeField4(ctx, oprot); err != nil { return err }
+    if err := p.writeField5(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSOpenSessionReq) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "client_protocol", thrift.I32, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:client_protocol: ", p), err) }
-	if err := oprot.WriteI32(ctx, int32(p.ClientProtocol)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.client_protocol (1) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:client_protocol: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "client_protocol", thrift.I32, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:client_protocol: ", p), err) }
+  if err := oprot.WriteI32(ctx, int32(p.ClientProtocol)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.client_protocol (1) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:client_protocol: ", p), err) }
+  return err
 }
 
 func (p *TSOpenSessionReq) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "zoneId", thrift.STRING, 2); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:zoneId: ", p), err) }
-	if err := oprot.WriteString(ctx, string(p.ZoneId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.zoneId (2) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 2:zoneId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "zoneId", thrift.STRING, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:zoneId: ", p), err) }
+  if err := oprot.WriteString(ctx, string(p.ZoneId)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.zoneId (2) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:zoneId: ", p), err) }
+  return err
 }
 
 func (p *TSOpenSessionReq) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetUsername() {
-		if err := oprot.WriteFieldBegin(ctx, "username", thrift.STRING, 3); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:username: ", p), err) }
-		if err := oprot.WriteString(ctx, string(*p.Username)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.username (3) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 3:username: ", p), err) }
-	}
-	return err
+  if p.IsSetUsername() {
+    if err := oprot.WriteFieldBegin(ctx, "username", thrift.STRING, 3); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:username: ", p), err) }
+    if err := oprot.WriteString(ctx, string(*p.Username)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.username (3) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 3:username: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSOpenSessionReq) writeField4(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetPassword() {
-		if err := oprot.WriteFieldBegin(ctx, "password", thrift.STRING, 4); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:password: ", p), err) }
-		if err := oprot.WriteString(ctx, string(*p.Password)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.password (4) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 4:password: ", p), err) }
-	}
-	return err
+  if p.IsSetPassword() {
+    if err := oprot.WriteFieldBegin(ctx, "password", thrift.STRING, 4); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:password: ", p), err) }
+    if err := oprot.WriteString(ctx, string(*p.Password)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.password (4) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 4:password: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSOpenSessionReq) writeField5(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetConfiguration() {
-		if err := oprot.WriteFieldBegin(ctx, "configuration", thrift.MAP, 5); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 5:configuration: ", p), err) }
-		if err := oprot.WriteMapBegin(ctx, thrift.STRING, thrift.STRING, len(p.Configuration)); err != nil {
-			return thrift.PrependError("error writing map begin: ", err)
-		}
-		for k, v := range p.Configuration {
-			if err := oprot.WriteString(ctx, string(k)); err != nil {
-				return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
-			if err := oprot.WriteString(ctx, string(v)); err != nil {
-				return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
-		}
-		if err := oprot.WriteMapEnd(ctx); err != nil {
-			return thrift.PrependError("error writing map end: ", err)
-		}
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 5:configuration: ", p), err) }
-	}
-	return err
+  if p.IsSetConfiguration() {
+    if err := oprot.WriteFieldBegin(ctx, "configuration", thrift.MAP, 5); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 5:configuration: ", p), err) }
+    if err := oprot.WriteMapBegin(ctx, thrift.STRING, thrift.STRING, len(p.Configuration)); err != nil {
+      return thrift.PrependError("error writing map begin: ", err)
+    }
+    for k, v := range p.Configuration {
+      if err := oprot.WriteString(ctx, string(k)); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+      if err := oprot.WriteString(ctx, string(v)); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+    }
+    if err := oprot.WriteMapEnd(ctx); err != nil {
+      return thrift.PrependError("error writing map end: ", err)
+    }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 5:configuration: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSOpenSessionReq) Equals(other *TSOpenSessionReq) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if p.ClientProtocol != other.ClientProtocol { return false }
-	if p.ZoneId != other.ZoneId { return false }
-	if p.Username != other.Username {
-		if p.Username == nil || other.Username == nil {
-			return false
-		}
-		if (*p.Username) != (*other.Username) { return false }
-	}
-	if p.Password != other.Password {
-		if p.Password == nil || other.Password == nil {
-			return false
-		}
-		if (*p.Password) != (*other.Password) { return false }
-	}
-	if len(p.Configuration) != len(other.Configuration) { return false }
-	for k, _tgt := range p.Configuration {
-		_src22 := other.Configuration[k]
-		if _tgt != _src22 { return false }
-	}
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if p.ClientProtocol != other.ClientProtocol { return false }
+  if p.ZoneId != other.ZoneId { return false }
+  if p.Username != other.Username {
+    if p.Username == nil || other.Username == nil {
+      return false
+    }
+    if (*p.Username) != (*other.Username) { return false }
+  }
+  if p.Password != other.Password {
+    if p.Password == nil || other.Password == nil {
+      return false
+    }
+    if (*p.Password) != (*other.Password) { return false }
+  }
+  if len(p.Configuration) != len(other.Configuration) { return false }
+  for k, _tgt := range p.Configuration {
+    _src30 := other.Configuration[k]
+    if _tgt != _src30 { return false }
+  }
+  return true
 }
 
 func (p *TSOpenSessionReq) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSOpenSessionReq(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSOpenSessionReq(%+v)", *p)
 }
 
 // Attributes:
 //  - SessionId
 type TSCloseSessionReq struct {
-	SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
+  SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
 }
 
 func NewTSCloseSessionReq() *TSCloseSessionReq {
-	return &TSCloseSessionReq{}
+  return &TSCloseSessionReq{}
 }
 
 
 func (p *TSCloseSessionReq) GetSessionId() int64 {
-	return p.SessionId
+  return p.SessionId
 }
 func (p *TSCloseSessionReq) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetSessionId bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetSessionId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetSessionId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetSessionId bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetSessionId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetSessionId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
+  }
+  return nil
 }
 
 func (p *TSCloseSessionReq)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 1: ", err)
-	} else {
-		p.SessionId = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 1: ", err)
+} else {
+  p.SessionId = v
+}
+  return nil
 }
 
 func (p *TSCloseSessionReq) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSCloseSessionReq"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSCloseSessionReq"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSCloseSessionReq) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
-	if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
+  if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
+  return err
 }
 
 func (p *TSCloseSessionReq) Equals(other *TSCloseSessionReq) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if p.SessionId != other.SessionId { return false }
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if p.SessionId != other.SessionId { return false }
+  return true
 }
 
 func (p *TSCloseSessionReq) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSCloseSessionReq(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSCloseSessionReq(%+v)", *p)
 }
 
 // Attributes:
@@ -2234,809 +3076,860 @@ func (p *TSCloseSessionReq) String() string {
 //  - FetchSize
 //  - Timeout
 //  - EnableRedirectQuery
+//  - JdbcQuery
 type TSExecuteStatementReq struct {
-	SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
-	Statement string `thrift:"statement,2,required" db:"statement" json:"statement"`
-	StatementId int64 `thrift:"statementId,3,required" db:"statementId" json:"statementId"`
-	FetchSize *int32 `thrift:"fetchSize,4" db:"fetchSize" json:"fetchSize,omitempty"`
-	Timeout *int64 `thrift:"timeout,5" db:"timeout" json:"timeout,omitempty"`
-	EnableRedirectQuery *bool `thrift:"enableRedirectQuery,6" db:"enableRedirectQuery" json:"enableRedirectQuery,omitempty"`
+  SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
+  Statement string `thrift:"statement,2,required" db:"statement" json:"statement"`
+  StatementId int64 `thrift:"statementId,3,required" db:"statementId" json:"statementId"`
+  FetchSize *int32 `thrift:"fetchSize,4" db:"fetchSize" json:"fetchSize,omitempty"`
+  Timeout *int64 `thrift:"timeout,5" db:"timeout" json:"timeout,omitempty"`
+  EnableRedirectQuery *bool `thrift:"enableRedirectQuery,6" db:"enableRedirectQuery" json:"enableRedirectQuery,omitempty"`
+  JdbcQuery *bool `thrift:"jdbcQuery,7" db:"jdbcQuery" json:"jdbcQuery,omitempty"`
 }
 
 func NewTSExecuteStatementReq() *TSExecuteStatementReq {
-	return &TSExecuteStatementReq{}
+  return &TSExecuteStatementReq{}
 }
 
 
 func (p *TSExecuteStatementReq) GetSessionId() int64 {
-	return p.SessionId
+  return p.SessionId
 }
 
 func (p *TSExecuteStatementReq) GetStatement() string {
-	return p.Statement
+  return p.Statement
 }
 
 func (p *TSExecuteStatementReq) GetStatementId() int64 {
-	return p.StatementId
+  return p.StatementId
 }
 var TSExecuteStatementReq_FetchSize_DEFAULT int32
 func (p *TSExecuteStatementReq) GetFetchSize() int32 {
-	if !p.IsSetFetchSize() {
-		return TSExecuteStatementReq_FetchSize_DEFAULT
-	}
-	return *p.FetchSize
+  if !p.IsSetFetchSize() {
+    return TSExecuteStatementReq_FetchSize_DEFAULT
+  }
+return *p.FetchSize
 }
 var TSExecuteStatementReq_Timeout_DEFAULT int64
 func (p *TSExecuteStatementReq) GetTimeout() int64 {
-	if !p.IsSetTimeout() {
-		return TSExecuteStatementReq_Timeout_DEFAULT
-	}
-	return *p.Timeout
+  if !p.IsSetTimeout() {
+    return TSExecuteStatementReq_Timeout_DEFAULT
+  }
+return *p.Timeout
 }
 var TSExecuteStatementReq_EnableRedirectQuery_DEFAULT bool
 func (p *TSExecuteStatementReq) GetEnableRedirectQuery() bool {
-	if !p.IsSetEnableRedirectQuery() {
-		return TSExecuteStatementReq_EnableRedirectQuery_DEFAULT
-	}
-	return *p.EnableRedirectQuery
+  if !p.IsSetEnableRedirectQuery() {
+    return TSExecuteStatementReq_EnableRedirectQuery_DEFAULT
+  }
+return *p.EnableRedirectQuery
+}
+var TSExecuteStatementReq_JdbcQuery_DEFAULT bool
+func (p *TSExecuteStatementReq) GetJdbcQuery() bool {
+  if !p.IsSetJdbcQuery() {
+    return TSExecuteStatementReq_JdbcQuery_DEFAULT
+  }
+return *p.JdbcQuery
 }
 func (p *TSExecuteStatementReq) IsSetFetchSize() bool {
-	return p.FetchSize != nil
+  return p.FetchSize != nil
 }
 
 func (p *TSExecuteStatementReq) IsSetTimeout() bool {
-	return p.Timeout != nil
+  return p.Timeout != nil
 }
 
 func (p *TSExecuteStatementReq) IsSetEnableRedirectQuery() bool {
-	return p.EnableRedirectQuery != nil
+  return p.EnableRedirectQuery != nil
+}
+
+func (p *TSExecuteStatementReq) IsSetJdbcQuery() bool {
+  return p.JdbcQuery != nil
 }
 
 func (p *TSExecuteStatementReq) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetSessionId bool = false;
-	var issetStatement bool = false;
-	var issetStatementId bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetSessionId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetStatement = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 3:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField3(ctx, iprot); err != nil {
-					return err
-				}
-				issetStatementId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 4:
-			if fieldTypeId == thrift.I32 {
-				if err := p.ReadField4(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 5:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField5(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 6:
-			if fieldTypeId == thrift.BOOL {
-				if err := p.ReadField6(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetSessionId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
-	}
-	if !issetStatement{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Statement is not set"));
-	}
-	if !issetStatementId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field StatementId is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetSessionId bool = false;
+  var issetStatement bool = false;
+  var issetStatementId bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetSessionId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetStatement = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 3:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField3(ctx, iprot); err != nil {
+          return err
+        }
+        issetStatementId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 4:
+      if fieldTypeId == thrift.I32 {
+        if err := p.ReadField4(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 5:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField5(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 6:
+      if fieldTypeId == thrift.BOOL {
+        if err := p.ReadField6(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 7:
+      if fieldTypeId == thrift.BOOL {
+        if err := p.ReadField7(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetSessionId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
+  }
+  if !issetStatement{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Statement is not set"));
+  }
+  if !issetStatementId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field StatementId is not set"));
+  }
+  return nil
 }
 
 func (p *TSExecuteStatementReq)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 1: ", err)
-	} else {
-		p.SessionId = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 1: ", err)
+} else {
+  p.SessionId = v
+}
+  return nil
 }
 
 func (p *TSExecuteStatementReq)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.Statement = v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.Statement = v
+}
+  return nil
 }
 
 func (p *TSExecuteStatementReq)  ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 3: ", err)
-	} else {
-		p.StatementId = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 3: ", err)
+} else {
+  p.StatementId = v
+}
+  return nil
 }
 
 func (p *TSExecuteStatementReq)  ReadField4(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI32(ctx); err != nil {
-		return thrift.PrependError("error reading field 4: ", err)
-	} else {
-		p.FetchSize = &v
-	}
-	return nil
+  if v, err := iprot.ReadI32(ctx); err != nil {
+  return thrift.PrependError("error reading field 4: ", err)
+} else {
+  p.FetchSize = &v
+}
+  return nil
 }
 
 func (p *TSExecuteStatementReq)  ReadField5(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 5: ", err)
-	} else {
-		p.Timeout = &v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 5: ", err)
+} else {
+  p.Timeout = &v
+}
+  return nil
 }
 
 func (p *TSExecuteStatementReq)  ReadField6(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadBool(ctx); err != nil {
-		return thrift.PrependError("error reading field 6: ", err)
-	} else {
-		p.EnableRedirectQuery = &v
-	}
-	return nil
+  if v, err := iprot.ReadBool(ctx); err != nil {
+  return thrift.PrependError("error reading field 6: ", err)
+} else {
+  p.EnableRedirectQuery = &v
+}
+  return nil
+}
+
+func (p *TSExecuteStatementReq)  ReadField7(ctx context.Context, iprot thrift.TProtocol) error {
+  if v, err := iprot.ReadBool(ctx); err != nil {
+  return thrift.PrependError("error reading field 7: ", err)
+} else {
+  p.JdbcQuery = &v
+}
+  return nil
 }
 
 func (p *TSExecuteStatementReq) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSExecuteStatementReq"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-		if err := p.writeField3(ctx, oprot); err != nil { return err }
-		if err := p.writeField4(ctx, oprot); err != nil { return err }
-		if err := p.writeField5(ctx, oprot); err != nil { return err }
-		if err := p.writeField6(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSExecuteStatementReq"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+    if err := p.writeField3(ctx, oprot); err != nil { return err }
+    if err := p.writeField4(ctx, oprot); err != nil { return err }
+    if err := p.writeField5(ctx, oprot); err != nil { return err }
+    if err := p.writeField6(ctx, oprot); err != nil { return err }
+    if err := p.writeField7(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSExecuteStatementReq) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
-	if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
+  if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
+  return err
 }
 
 func (p *TSExecuteStatementReq) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "statement", thrift.STRING, 2); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:statement: ", p), err) }
-	if err := oprot.WriteString(ctx, string(p.Statement)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.statement (2) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 2:statement: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "statement", thrift.STRING, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:statement: ", p), err) }
+  if err := oprot.WriteString(ctx, string(p.Statement)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.statement (2) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:statement: ", p), err) }
+  return err
 }
 
 func (p *TSExecuteStatementReq) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "statementId", thrift.I64, 3); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:statementId: ", p), err) }
-	if err := oprot.WriteI64(ctx, int64(p.StatementId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.statementId (3) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 3:statementId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "statementId", thrift.I64, 3); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:statementId: ", p), err) }
+  if err := oprot.WriteI64(ctx, int64(p.StatementId)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.statementId (3) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 3:statementId: ", p), err) }
+  return err
 }
 
 func (p *TSExecuteStatementReq) writeField4(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetFetchSize() {
-		if err := oprot.WriteFieldBegin(ctx, "fetchSize", thrift.I32, 4); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:fetchSize: ", p), err) }
-		if err := oprot.WriteI32(ctx, int32(*p.FetchSize)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.fetchSize (4) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 4:fetchSize: ", p), err) }
-	}
-	return err
+  if p.IsSetFetchSize() {
+    if err := oprot.WriteFieldBegin(ctx, "fetchSize", thrift.I32, 4); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:fetchSize: ", p), err) }
+    if err := oprot.WriteI32(ctx, int32(*p.FetchSize)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.fetchSize (4) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 4:fetchSize: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSExecuteStatementReq) writeField5(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetTimeout() {
-		if err := oprot.WriteFieldBegin(ctx, "timeout", thrift.I64, 5); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 5:timeout: ", p), err) }
-		if err := oprot.WriteI64(ctx, int64(*p.Timeout)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.timeout (5) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 5:timeout: ", p), err) }
-	}
-	return err
+  if p.IsSetTimeout() {
+    if err := oprot.WriteFieldBegin(ctx, "timeout", thrift.I64, 5); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 5:timeout: ", p), err) }
+    if err := oprot.WriteI64(ctx, int64(*p.Timeout)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.timeout (5) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 5:timeout: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSExecuteStatementReq) writeField6(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetEnableRedirectQuery() {
-		if err := oprot.WriteFieldBegin(ctx, "enableRedirectQuery", thrift.BOOL, 6); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 6:enableRedirectQuery: ", p), err) }
-		if err := oprot.WriteBool(ctx, bool(*p.EnableRedirectQuery)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.enableRedirectQuery (6) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 6:enableRedirectQuery: ", p), err) }
-	}
-	return err
+  if p.IsSetEnableRedirectQuery() {
+    if err := oprot.WriteFieldBegin(ctx, "enableRedirectQuery", thrift.BOOL, 6); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 6:enableRedirectQuery: ", p), err) }
+    if err := oprot.WriteBool(ctx, bool(*p.EnableRedirectQuery)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.enableRedirectQuery (6) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 6:enableRedirectQuery: ", p), err) }
+  }
+  return err
+}
+
+func (p *TSExecuteStatementReq) writeField7(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if p.IsSetJdbcQuery() {
+    if err := oprot.WriteFieldBegin(ctx, "jdbcQuery", thrift.BOOL, 7); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 7:jdbcQuery: ", p), err) }
+    if err := oprot.WriteBool(ctx, bool(*p.JdbcQuery)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.jdbcQuery (7) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 7:jdbcQuery: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSExecuteStatementReq) Equals(other *TSExecuteStatementReq) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if p.SessionId != other.SessionId { return false }
-	if p.Statement != other.Statement { return false }
-	if p.StatementId != other.StatementId { return false }
-	if p.FetchSize != other.FetchSize {
-		if p.FetchSize == nil || other.FetchSize == nil {
-			return false
-		}
-		if (*p.FetchSize) != (*other.FetchSize) { return false }
-	}
-	if p.Timeout != other.Timeout {
-		if p.Timeout == nil || other.Timeout == nil {
-			return false
-		}
-		if (*p.Timeout) != (*other.Timeout) { return false }
-	}
-	if p.EnableRedirectQuery != other.EnableRedirectQuery {
-		if p.EnableRedirectQuery == nil || other.EnableRedirectQuery == nil {
-			return false
-		}
-		if (*p.EnableRedirectQuery) != (*other.EnableRedirectQuery) { return false }
-	}
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if p.SessionId != other.SessionId { return false }
+  if p.Statement != other.Statement { return false }
+  if p.StatementId != other.StatementId { return false }
+  if p.FetchSize != other.FetchSize {
+    if p.FetchSize == nil || other.FetchSize == nil {
+      return false
+    }
+    if (*p.FetchSize) != (*other.FetchSize) { return false }
+  }
+  if p.Timeout != other.Timeout {
+    if p.Timeout == nil || other.Timeout == nil {
+      return false
+    }
+    if (*p.Timeout) != (*other.Timeout) { return false }
+  }
+  if p.EnableRedirectQuery != other.EnableRedirectQuery {
+    if p.EnableRedirectQuery == nil || other.EnableRedirectQuery == nil {
+      return false
+    }
+    if (*p.EnableRedirectQuery) != (*other.EnableRedirectQuery) { return false }
+  }
+  if p.JdbcQuery != other.JdbcQuery {
+    if p.JdbcQuery == nil || other.JdbcQuery == nil {
+      return false
+    }
+    if (*p.JdbcQuery) != (*other.JdbcQuery) { return false }
+  }
+  return true
 }
 
 func (p *TSExecuteStatementReq) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSExecuteStatementReq(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSExecuteStatementReq(%+v)", *p)
 }
 
 // Attributes:
 //  - SessionId
 //  - Statements
 type TSExecuteBatchStatementReq struct {
-	SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
-	Statements []string `thrift:"statements,2,required" db:"statements" json:"statements"`
+  SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
+  Statements []string `thrift:"statements,2,required" db:"statements" json:"statements"`
 }
 
 func NewTSExecuteBatchStatementReq() *TSExecuteBatchStatementReq {
-	return &TSExecuteBatchStatementReq{}
+  return &TSExecuteBatchStatementReq{}
 }
 
 
 func (p *TSExecuteBatchStatementReq) GetSessionId() int64 {
-	return p.SessionId
+  return p.SessionId
 }
 
 func (p *TSExecuteBatchStatementReq) GetStatements() []string {
-	return p.Statements
+  return p.Statements
 }
 func (p *TSExecuteBatchStatementReq) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetSessionId bool = false;
-	var issetStatements bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetSessionId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.LIST {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetStatements = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetSessionId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
-	}
-	if !issetStatements{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Statements is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetSessionId bool = false;
+  var issetStatements bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetSessionId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetStatements = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetSessionId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
+  }
+  if !issetStatements{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Statements is not set"));
+  }
+  return nil
 }
 
 func (p *TSExecuteBatchStatementReq)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 1: ", err)
-	} else {
-		p.SessionId = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 1: ", err)
+} else {
+  p.SessionId = v
+}
+  return nil
 }
 
 func (p *TSExecuteBatchStatementReq)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	_, size, err := iprot.ReadListBegin(ctx)
-	if err != nil {
-		return thrift.PrependError("error reading list begin: ", err)
-	}
-	tSlice := make([]string, 0, size)
-	p.Statements =  tSlice
-	for i := 0; i < size; i ++ {
-		var _elem23 string
-		if v, err := iprot.ReadString(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_elem23 = v
-		}
-		p.Statements = append(p.Statements, _elem23)
-	}
-	if err := iprot.ReadListEnd(ctx); err != nil {
-		return thrift.PrependError("error reading list end: ", err)
-	}
-	return nil
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([]string, 0, size)
+  p.Statements =  tSlice
+  for i := 0; i < size; i ++ {
+var _elem31 string
+    if v, err := iprot.ReadString(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _elem31 = v
+}
+    p.Statements = append(p.Statements, _elem31)
+  }
+  if err := iprot.ReadListEnd(ctx); err != nil {
+    return thrift.PrependError("error reading list end: ", err)
+  }
+  return nil
 }
 
 func (p *TSExecuteBatchStatementReq) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSExecuteBatchStatementReq"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSExecuteBatchStatementReq"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSExecuteBatchStatementReq) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
-	if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
+  if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
+  return err
 }
 
 func (p *TSExecuteBatchStatementReq) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "statements", thrift.LIST, 2); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:statements: ", p), err) }
-	if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.Statements)); err != nil {
-		return thrift.PrependError("error writing list begin: ", err)
-	}
-	for _, v := range p.Statements {
-		if err := oprot.WriteString(ctx, string(v)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
-	}
-	if err := oprot.WriteListEnd(ctx); err != nil {
-		return thrift.PrependError("error writing list end: ", err)
-	}
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 2:statements: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "statements", thrift.LIST, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:statements: ", p), err) }
+  if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.Statements)); err != nil {
+    return thrift.PrependError("error writing list begin: ", err)
+  }
+  for _, v := range p.Statements {
+    if err := oprot.WriteString(ctx, string(v)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+  }
+  if err := oprot.WriteListEnd(ctx); err != nil {
+    return thrift.PrependError("error writing list end: ", err)
+  }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:statements: ", p), err) }
+  return err
 }
 
 func (p *TSExecuteBatchStatementReq) Equals(other *TSExecuteBatchStatementReq) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if p.SessionId != other.SessionId { return false }
-	if len(p.Statements) != len(other.Statements) { return false }
-	for i, _tgt := range p.Statements {
-		_src24 := other.Statements[i]
-		if _tgt != _src24 { return false }
-	}
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if p.SessionId != other.SessionId { return false }
+  if len(p.Statements) != len(other.Statements) { return false }
+  for i, _tgt := range p.Statements {
+    _src32 := other.Statements[i]
+    if _tgt != _src32 { return false }
+  }
+  return true
 }
 
 func (p *TSExecuteBatchStatementReq) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSExecuteBatchStatementReq(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSExecuteBatchStatementReq(%+v)", *p)
 }
 
 // Attributes:
 //  - SessionId
 //  - QueryId
 type TSGetOperationStatusReq struct {
-	SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
-	QueryId int64 `thrift:"queryId,2,required" db:"queryId" json:"queryId"`
+  SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
+  QueryId int64 `thrift:"queryId,2,required" db:"queryId" json:"queryId"`
 }
 
 func NewTSGetOperationStatusReq() *TSGetOperationStatusReq {
-	return &TSGetOperationStatusReq{}
+  return &TSGetOperationStatusReq{}
 }
 
 
 func (p *TSGetOperationStatusReq) GetSessionId() int64 {
-	return p.SessionId
+  return p.SessionId
 }
 
 func (p *TSGetOperationStatusReq) GetQueryId() int64 {
-	return p.QueryId
+  return p.QueryId
 }
 func (p *TSGetOperationStatusReq) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetSessionId bool = false;
-	var issetQueryId bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetSessionId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetQueryId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetSessionId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
-	}
-	if !issetQueryId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field QueryId is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetSessionId bool = false;
+  var issetQueryId bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetSessionId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetQueryId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetSessionId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
+  }
+  if !issetQueryId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field QueryId is not set"));
+  }
+  return nil
 }
 
 func (p *TSGetOperationStatusReq)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 1: ", err)
-	} else {
-		p.SessionId = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 1: ", err)
+} else {
+  p.SessionId = v
+}
+  return nil
 }
 
 func (p *TSGetOperationStatusReq)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.QueryId = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.QueryId = v
+}
+  return nil
 }
 
 func (p *TSGetOperationStatusReq) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSGetOperationStatusReq"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSGetOperationStatusReq"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSGetOperationStatusReq) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
-	if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
+  if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
+  return err
 }
 
 func (p *TSGetOperationStatusReq) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "queryId", thrift.I64, 2); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:queryId: ", p), err) }
-	if err := oprot.WriteI64(ctx, int64(p.QueryId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.queryId (2) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 2:queryId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "queryId", thrift.I64, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:queryId: ", p), err) }
+  if err := oprot.WriteI64(ctx, int64(p.QueryId)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.queryId (2) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:queryId: ", p), err) }
+  return err
 }
 
 func (p *TSGetOperationStatusReq) Equals(other *TSGetOperationStatusReq) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if p.SessionId != other.SessionId { return false }
-	if p.QueryId != other.QueryId { return false }
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if p.SessionId != other.SessionId { return false }
+  if p.QueryId != other.QueryId { return false }
+  return true
 }
 
 func (p *TSGetOperationStatusReq) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSGetOperationStatusReq(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSGetOperationStatusReq(%+v)", *p)
 }
 
 // Attributes:
 //  - SessionId
 //  - QueryId
 type TSCancelOperationReq struct {
-	SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
-	QueryId int64 `thrift:"queryId,2,required" db:"queryId" json:"queryId"`
+  SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
+  QueryId int64 `thrift:"queryId,2,required" db:"queryId" json:"queryId"`
 }
 
 func NewTSCancelOperationReq() *TSCancelOperationReq {
-	return &TSCancelOperationReq{}
+  return &TSCancelOperationReq{}
 }
 
 
 func (p *TSCancelOperationReq) GetSessionId() int64 {
-	return p.SessionId
+  return p.SessionId
 }
 
 func (p *TSCancelOperationReq) GetQueryId() int64 {
-	return p.QueryId
+  return p.QueryId
 }
 func (p *TSCancelOperationReq) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetSessionId bool = false;
-	var issetQueryId bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetSessionId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetQueryId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetSessionId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
-	}
-	if !issetQueryId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field QueryId is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetSessionId bool = false;
+  var issetQueryId bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetSessionId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetQueryId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetSessionId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
+  }
+  if !issetQueryId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field QueryId is not set"));
+  }
+  return nil
 }
 
 func (p *TSCancelOperationReq)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 1: ", err)
-	} else {
-		p.SessionId = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 1: ", err)
+} else {
+  p.SessionId = v
+}
+  return nil
 }
 
 func (p *TSCancelOperationReq)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.QueryId = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.QueryId = v
+}
+  return nil
 }
 
 func (p *TSCancelOperationReq) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSCancelOperationReq"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSCancelOperationReq"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSCancelOperationReq) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
-	if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
+  if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
+  return err
 }
 
 func (p *TSCancelOperationReq) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "queryId", thrift.I64, 2); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:queryId: ", p), err) }
-	if err := oprot.WriteI64(ctx, int64(p.QueryId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.queryId (2) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 2:queryId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "queryId", thrift.I64, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:queryId: ", p), err) }
+  if err := oprot.WriteI64(ctx, int64(p.QueryId)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.queryId (2) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:queryId: ", p), err) }
+  return err
 }
 
 func (p *TSCancelOperationReq) Equals(other *TSCancelOperationReq) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if p.SessionId != other.SessionId { return false }
-	if p.QueryId != other.QueryId { return false }
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if p.SessionId != other.SessionId { return false }
+  if p.QueryId != other.QueryId { return false }
+  return true
 }
 
 func (p *TSCancelOperationReq) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSCancelOperationReq(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSCancelOperationReq(%+v)", *p)
 }
 
 // Attributes:
@@ -3044,207 +3937,207 @@ func (p *TSCancelOperationReq) String() string {
 //  - QueryId
 //  - StatementId
 type TSCloseOperationReq struct {
-	SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
-	QueryId *int64 `thrift:"queryId,2" db:"queryId" json:"queryId,omitempty"`
-	StatementId *int64 `thrift:"statementId,3" db:"statementId" json:"statementId,omitempty"`
+  SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
+  QueryId *int64 `thrift:"queryId,2" db:"queryId" json:"queryId,omitempty"`
+  StatementId *int64 `thrift:"statementId,3" db:"statementId" json:"statementId,omitempty"`
 }
 
 func NewTSCloseOperationReq() *TSCloseOperationReq {
-	return &TSCloseOperationReq{}
+  return &TSCloseOperationReq{}
 }
 
 
 func (p *TSCloseOperationReq) GetSessionId() int64 {
-	return p.SessionId
+  return p.SessionId
 }
 var TSCloseOperationReq_QueryId_DEFAULT int64
 func (p *TSCloseOperationReq) GetQueryId() int64 {
-	if !p.IsSetQueryId() {
-		return TSCloseOperationReq_QueryId_DEFAULT
-	}
-	return *p.QueryId
+  if !p.IsSetQueryId() {
+    return TSCloseOperationReq_QueryId_DEFAULT
+  }
+return *p.QueryId
 }
 var TSCloseOperationReq_StatementId_DEFAULT int64
 func (p *TSCloseOperationReq) GetStatementId() int64 {
-	if !p.IsSetStatementId() {
-		return TSCloseOperationReq_StatementId_DEFAULT
-	}
-	return *p.StatementId
+  if !p.IsSetStatementId() {
+    return TSCloseOperationReq_StatementId_DEFAULT
+  }
+return *p.StatementId
 }
 func (p *TSCloseOperationReq) IsSetQueryId() bool {
-	return p.QueryId != nil
+  return p.QueryId != nil
 }
 
 func (p *TSCloseOperationReq) IsSetStatementId() bool {
-	return p.StatementId != nil
+  return p.StatementId != nil
 }
 
 func (p *TSCloseOperationReq) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetSessionId bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetSessionId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 3:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField3(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetSessionId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetSessionId bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetSessionId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 3:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField3(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetSessionId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
+  }
+  return nil
 }
 
 func (p *TSCloseOperationReq)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 1: ", err)
-	} else {
-		p.SessionId = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 1: ", err)
+} else {
+  p.SessionId = v
+}
+  return nil
 }
 
 func (p *TSCloseOperationReq)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.QueryId = &v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.QueryId = &v
+}
+  return nil
 }
 
 func (p *TSCloseOperationReq)  ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 3: ", err)
-	} else {
-		p.StatementId = &v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 3: ", err)
+} else {
+  p.StatementId = &v
+}
+  return nil
 }
 
 func (p *TSCloseOperationReq) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSCloseOperationReq"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-		if err := p.writeField3(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSCloseOperationReq"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+    if err := p.writeField3(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSCloseOperationReq) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
-	if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
+  if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
+  return err
 }
 
 func (p *TSCloseOperationReq) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetQueryId() {
-		if err := oprot.WriteFieldBegin(ctx, "queryId", thrift.I64, 2); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:queryId: ", p), err) }
-		if err := oprot.WriteI64(ctx, int64(*p.QueryId)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.queryId (2) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 2:queryId: ", p), err) }
-	}
-	return err
+  if p.IsSetQueryId() {
+    if err := oprot.WriteFieldBegin(ctx, "queryId", thrift.I64, 2); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:queryId: ", p), err) }
+    if err := oprot.WriteI64(ctx, int64(*p.QueryId)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.queryId (2) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 2:queryId: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSCloseOperationReq) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetStatementId() {
-		if err := oprot.WriteFieldBegin(ctx, "statementId", thrift.I64, 3); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:statementId: ", p), err) }
-		if err := oprot.WriteI64(ctx, int64(*p.StatementId)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.statementId (3) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 3:statementId: ", p), err) }
-	}
-	return err
+  if p.IsSetStatementId() {
+    if err := oprot.WriteFieldBegin(ctx, "statementId", thrift.I64, 3); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:statementId: ", p), err) }
+    if err := oprot.WriteI64(ctx, int64(*p.StatementId)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.statementId (3) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 3:statementId: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSCloseOperationReq) Equals(other *TSCloseOperationReq) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if p.SessionId != other.SessionId { return false }
-	if p.QueryId != other.QueryId {
-		if p.QueryId == nil || other.QueryId == nil {
-			return false
-		}
-		if (*p.QueryId) != (*other.QueryId) { return false }
-	}
-	if p.StatementId != other.StatementId {
-		if p.StatementId == nil || other.StatementId == nil {
-			return false
-		}
-		if (*p.StatementId) != (*other.StatementId) { return false }
-	}
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if p.SessionId != other.SessionId { return false }
+  if p.QueryId != other.QueryId {
+    if p.QueryId == nil || other.QueryId == nil {
+      return false
+    }
+    if (*p.QueryId) != (*other.QueryId) { return false }
+  }
+  if p.StatementId != other.StatementId {
+    if p.StatementId == nil || other.StatementId == nil {
+      return false
+    }
+    if (*p.StatementId) != (*other.StatementId) { return false }
+  }
+  return true
 }
 
 func (p *TSCloseOperationReq) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSCloseOperationReq(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSCloseOperationReq(%+v)", *p)
 }
 
 // Attributes:
@@ -3255,321 +4148,321 @@ func (p *TSCloseOperationReq) String() string {
 //  - IsAlign
 //  - Timeout
 type TSFetchResultsReq struct {
-	SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
-	Statement string `thrift:"statement,2,required" db:"statement" json:"statement"`
-	FetchSize int32 `thrift:"fetchSize,3,required" db:"fetchSize" json:"fetchSize"`
-	QueryId int64 `thrift:"queryId,4,required" db:"queryId" json:"queryId"`
-	IsAlign bool `thrift:"isAlign,5,required" db:"isAlign" json:"isAlign"`
-	Timeout *int64 `thrift:"timeout,6" db:"timeout" json:"timeout,omitempty"`
+  SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
+  Statement string `thrift:"statement,2,required" db:"statement" json:"statement"`
+  FetchSize int32 `thrift:"fetchSize,3,required" db:"fetchSize" json:"fetchSize"`
+  QueryId int64 `thrift:"queryId,4,required" db:"queryId" json:"queryId"`
+  IsAlign bool `thrift:"isAlign,5,required" db:"isAlign" json:"isAlign"`
+  Timeout *int64 `thrift:"timeout,6" db:"timeout" json:"timeout,omitempty"`
 }
 
 func NewTSFetchResultsReq() *TSFetchResultsReq {
-	return &TSFetchResultsReq{}
+  return &TSFetchResultsReq{}
 }
 
 
 func (p *TSFetchResultsReq) GetSessionId() int64 {
-	return p.SessionId
+  return p.SessionId
 }
 
 func (p *TSFetchResultsReq) GetStatement() string {
-	return p.Statement
+  return p.Statement
 }
 
 func (p *TSFetchResultsReq) GetFetchSize() int32 {
-	return p.FetchSize
+  return p.FetchSize
 }
 
 func (p *TSFetchResultsReq) GetQueryId() int64 {
-	return p.QueryId
+  return p.QueryId
 }
 
 func (p *TSFetchResultsReq) GetIsAlign() bool {
-	return p.IsAlign
+  return p.IsAlign
 }
 var TSFetchResultsReq_Timeout_DEFAULT int64
 func (p *TSFetchResultsReq) GetTimeout() int64 {
-	if !p.IsSetTimeout() {
-		return TSFetchResultsReq_Timeout_DEFAULT
-	}
-	return *p.Timeout
+  if !p.IsSetTimeout() {
+    return TSFetchResultsReq_Timeout_DEFAULT
+  }
+return *p.Timeout
 }
 func (p *TSFetchResultsReq) IsSetTimeout() bool {
-	return p.Timeout != nil
+  return p.Timeout != nil
 }
 
 func (p *TSFetchResultsReq) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetSessionId bool = false;
-	var issetStatement bool = false;
-	var issetFetchSize bool = false;
-	var issetQueryId bool = false;
-	var issetIsAlign bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetSessionId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetStatement = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 3:
-			if fieldTypeId == thrift.I32 {
-				if err := p.ReadField3(ctx, iprot); err != nil {
-					return err
-				}
-				issetFetchSize = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 4:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField4(ctx, iprot); err != nil {
-					return err
-				}
-				issetQueryId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 5:
-			if fieldTypeId == thrift.BOOL {
-				if err := p.ReadField5(ctx, iprot); err != nil {
-					return err
-				}
-				issetIsAlign = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 6:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField6(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetSessionId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
-	}
-	if !issetStatement{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Statement is not set"));
-	}
-	if !issetFetchSize{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field FetchSize is not set"));
-	}
-	if !issetQueryId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field QueryId is not set"));
-	}
-	if !issetIsAlign{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field IsAlign is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetSessionId bool = false;
+  var issetStatement bool = false;
+  var issetFetchSize bool = false;
+  var issetQueryId bool = false;
+  var issetIsAlign bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetSessionId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetStatement = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 3:
+      if fieldTypeId == thrift.I32 {
+        if err := p.ReadField3(ctx, iprot); err != nil {
+          return err
+        }
+        issetFetchSize = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 4:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField4(ctx, iprot); err != nil {
+          return err
+        }
+        issetQueryId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 5:
+      if fieldTypeId == thrift.BOOL {
+        if err := p.ReadField5(ctx, iprot); err != nil {
+          return err
+        }
+        issetIsAlign = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 6:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField6(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetSessionId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
+  }
+  if !issetStatement{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Statement is not set"));
+  }
+  if !issetFetchSize{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field FetchSize is not set"));
+  }
+  if !issetQueryId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field QueryId is not set"));
+  }
+  if !issetIsAlign{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field IsAlign is not set"));
+  }
+  return nil
 }
 
 func (p *TSFetchResultsReq)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 1: ", err)
-	} else {
-		p.SessionId = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 1: ", err)
+} else {
+  p.SessionId = v
+}
+  return nil
 }
 
 func (p *TSFetchResultsReq)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.Statement = v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.Statement = v
+}
+  return nil
 }
 
 func (p *TSFetchResultsReq)  ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI32(ctx); err != nil {
-		return thrift.PrependError("error reading field 3: ", err)
-	} else {
-		p.FetchSize = v
-	}
-	return nil
+  if v, err := iprot.ReadI32(ctx); err != nil {
+  return thrift.PrependError("error reading field 3: ", err)
+} else {
+  p.FetchSize = v
+}
+  return nil
 }
 
 func (p *TSFetchResultsReq)  ReadField4(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 4: ", err)
-	} else {
-		p.QueryId = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 4: ", err)
+} else {
+  p.QueryId = v
+}
+  return nil
 }
 
 func (p *TSFetchResultsReq)  ReadField5(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadBool(ctx); err != nil {
-		return thrift.PrependError("error reading field 5: ", err)
-	} else {
-		p.IsAlign = v
-	}
-	return nil
+  if v, err := iprot.ReadBool(ctx); err != nil {
+  return thrift.PrependError("error reading field 5: ", err)
+} else {
+  p.IsAlign = v
+}
+  return nil
 }
 
 func (p *TSFetchResultsReq)  ReadField6(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 6: ", err)
-	} else {
-		p.Timeout = &v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 6: ", err)
+} else {
+  p.Timeout = &v
+}
+  return nil
 }
 
 func (p *TSFetchResultsReq) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSFetchResultsReq"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-		if err := p.writeField3(ctx, oprot); err != nil { return err }
-		if err := p.writeField4(ctx, oprot); err != nil { return err }
-		if err := p.writeField5(ctx, oprot); err != nil { return err }
-		if err := p.writeField6(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSFetchResultsReq"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+    if err := p.writeField3(ctx, oprot); err != nil { return err }
+    if err := p.writeField4(ctx, oprot); err != nil { return err }
+    if err := p.writeField5(ctx, oprot); err != nil { return err }
+    if err := p.writeField6(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSFetchResultsReq) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
-	if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
+  if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
+  return err
 }
 
 func (p *TSFetchResultsReq) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "statement", thrift.STRING, 2); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:statement: ", p), err) }
-	if err := oprot.WriteString(ctx, string(p.Statement)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.statement (2) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 2:statement: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "statement", thrift.STRING, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:statement: ", p), err) }
+  if err := oprot.WriteString(ctx, string(p.Statement)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.statement (2) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:statement: ", p), err) }
+  return err
 }
 
 func (p *TSFetchResultsReq) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "fetchSize", thrift.I32, 3); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:fetchSize: ", p), err) }
-	if err := oprot.WriteI32(ctx, int32(p.FetchSize)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.fetchSize (3) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 3:fetchSize: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "fetchSize", thrift.I32, 3); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:fetchSize: ", p), err) }
+  if err := oprot.WriteI32(ctx, int32(p.FetchSize)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.fetchSize (3) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 3:fetchSize: ", p), err) }
+  return err
 }
 
 func (p *TSFetchResultsReq) writeField4(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "queryId", thrift.I64, 4); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:queryId: ", p), err) }
-	if err := oprot.WriteI64(ctx, int64(p.QueryId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.queryId (4) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 4:queryId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "queryId", thrift.I64, 4); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:queryId: ", p), err) }
+  if err := oprot.WriteI64(ctx, int64(p.QueryId)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.queryId (4) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 4:queryId: ", p), err) }
+  return err
 }
 
 func (p *TSFetchResultsReq) writeField5(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "isAlign", thrift.BOOL, 5); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 5:isAlign: ", p), err) }
-	if err := oprot.WriteBool(ctx, bool(p.IsAlign)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.isAlign (5) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 5:isAlign: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "isAlign", thrift.BOOL, 5); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 5:isAlign: ", p), err) }
+  if err := oprot.WriteBool(ctx, bool(p.IsAlign)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.isAlign (5) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 5:isAlign: ", p), err) }
+  return err
 }
 
 func (p *TSFetchResultsReq) writeField6(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetTimeout() {
-		if err := oprot.WriteFieldBegin(ctx, "timeout", thrift.I64, 6); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 6:timeout: ", p), err) }
-		if err := oprot.WriteI64(ctx, int64(*p.Timeout)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.timeout (6) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 6:timeout: ", p), err) }
-	}
-	return err
+  if p.IsSetTimeout() {
+    if err := oprot.WriteFieldBegin(ctx, "timeout", thrift.I64, 6); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 6:timeout: ", p), err) }
+    if err := oprot.WriteI64(ctx, int64(*p.Timeout)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.timeout (6) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 6:timeout: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSFetchResultsReq) Equals(other *TSFetchResultsReq) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if p.SessionId != other.SessionId { return false }
-	if p.Statement != other.Statement { return false }
-	if p.FetchSize != other.FetchSize { return false }
-	if p.QueryId != other.QueryId { return false }
-	if p.IsAlign != other.IsAlign { return false }
-	if p.Timeout != other.Timeout {
-		if p.Timeout == nil || other.Timeout == nil {
-			return false
-		}
-		if (*p.Timeout) != (*other.Timeout) { return false }
-	}
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if p.SessionId != other.SessionId { return false }
+  if p.Statement != other.Statement { return false }
+  if p.FetchSize != other.FetchSize { return false }
+  if p.QueryId != other.QueryId { return false }
+  if p.IsAlign != other.IsAlign { return false }
+  if p.Timeout != other.Timeout {
+    if p.Timeout == nil || other.Timeout == nil {
+      return false
+    }
+    if (*p.Timeout) != (*other.Timeout) { return false }
+  }
+  return true
 }
 
 func (p *TSFetchResultsReq) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSFetchResultsReq(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSFetchResultsReq(%+v)", *p)
 }
 
 // Attributes:
@@ -3579,286 +4472,286 @@ func (p *TSFetchResultsReq) String() string {
 //  - QueryDataSet
 //  - NonAlignQueryDataSet
 type TSFetchResultsResp struct {
-	Status *TSStatus `thrift:"status,1,required" db:"status" json:"status"`
-	HasResultSet bool `thrift:"hasResultSet,2,required" db:"hasResultSet" json:"hasResultSet"`
-	IsAlign bool `thrift:"isAlign,3,required" db:"isAlign" json:"isAlign"`
-	QueryDataSet *TSQueryDataSet `thrift:"queryDataSet,4" db:"queryDataSet" json:"queryDataSet,omitempty"`
-	NonAlignQueryDataSet *TSQueryNonAlignDataSet `thrift:"nonAlignQueryDataSet,5" db:"nonAlignQueryDataSet" json:"nonAlignQueryDataSet,omitempty"`
+  Status *TSStatus `thrift:"status,1,required" db:"status" json:"status"`
+  HasResultSet bool `thrift:"hasResultSet,2,required" db:"hasResultSet" json:"hasResultSet"`
+  IsAlign bool `thrift:"isAlign,3,required" db:"isAlign" json:"isAlign"`
+  QueryDataSet *TSQueryDataSet `thrift:"queryDataSet,4" db:"queryDataSet" json:"queryDataSet,omitempty"`
+  NonAlignQueryDataSet *TSQueryNonAlignDataSet `thrift:"nonAlignQueryDataSet,5" db:"nonAlignQueryDataSet" json:"nonAlignQueryDataSet,omitempty"`
 }
 
 func NewTSFetchResultsResp() *TSFetchResultsResp {
-	return &TSFetchResultsResp{}
+  return &TSFetchResultsResp{}
 }
 
 var TSFetchResultsResp_Status_DEFAULT *TSStatus
 func (p *TSFetchResultsResp) GetStatus() *TSStatus {
-	if !p.IsSetStatus() {
-		return TSFetchResultsResp_Status_DEFAULT
-	}
-	return p.Status
+  if !p.IsSetStatus() {
+    return TSFetchResultsResp_Status_DEFAULT
+  }
+return p.Status
 }
 
 func (p *TSFetchResultsResp) GetHasResultSet() bool {
-	return p.HasResultSet
+  return p.HasResultSet
 }
 
 func (p *TSFetchResultsResp) GetIsAlign() bool {
-	return p.IsAlign
+  return p.IsAlign
 }
 var TSFetchResultsResp_QueryDataSet_DEFAULT *TSQueryDataSet
 func (p *TSFetchResultsResp) GetQueryDataSet() *TSQueryDataSet {
-	if !p.IsSetQueryDataSet() {
-		return TSFetchResultsResp_QueryDataSet_DEFAULT
-	}
-	return p.QueryDataSet
+  if !p.IsSetQueryDataSet() {
+    return TSFetchResultsResp_QueryDataSet_DEFAULT
+  }
+return p.QueryDataSet
 }
 var TSFetchResultsResp_NonAlignQueryDataSet_DEFAULT *TSQueryNonAlignDataSet
 func (p *TSFetchResultsResp) GetNonAlignQueryDataSet() *TSQueryNonAlignDataSet {
-	if !p.IsSetNonAlignQueryDataSet() {
-		return TSFetchResultsResp_NonAlignQueryDataSet_DEFAULT
-	}
-	return p.NonAlignQueryDataSet
+  if !p.IsSetNonAlignQueryDataSet() {
+    return TSFetchResultsResp_NonAlignQueryDataSet_DEFAULT
+  }
+return p.NonAlignQueryDataSet
 }
 func (p *TSFetchResultsResp) IsSetStatus() bool {
-	return p.Status != nil
+  return p.Status != nil
 }
 
 func (p *TSFetchResultsResp) IsSetQueryDataSet() bool {
-	return p.QueryDataSet != nil
+  return p.QueryDataSet != nil
 }
 
 func (p *TSFetchResultsResp) IsSetNonAlignQueryDataSet() bool {
-	return p.NonAlignQueryDataSet != nil
+  return p.NonAlignQueryDataSet != nil
 }
 
 func (p *TSFetchResultsResp) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetStatus bool = false;
-	var issetHasResultSet bool = false;
-	var issetIsAlign bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.STRUCT {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetStatus = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.BOOL {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetHasResultSet = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 3:
-			if fieldTypeId == thrift.BOOL {
-				if err := p.ReadField3(ctx, iprot); err != nil {
-					return err
-				}
-				issetIsAlign = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 4:
-			if fieldTypeId == thrift.STRUCT {
-				if err := p.ReadField4(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 5:
-			if fieldTypeId == thrift.STRUCT {
-				if err := p.ReadField5(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetStatus{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Status is not set"));
-	}
-	if !issetHasResultSet{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field HasResultSet is not set"));
-	}
-	if !issetIsAlign{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field IsAlign is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetStatus bool = false;
+  var issetHasResultSet bool = false;
+  var issetIsAlign bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.STRUCT {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetStatus = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.BOOL {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetHasResultSet = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 3:
+      if fieldTypeId == thrift.BOOL {
+        if err := p.ReadField3(ctx, iprot); err != nil {
+          return err
+        }
+        issetIsAlign = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 4:
+      if fieldTypeId == thrift.STRUCT {
+        if err := p.ReadField4(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 5:
+      if fieldTypeId == thrift.STRUCT {
+        if err := p.ReadField5(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetStatus{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Status is not set"));
+  }
+  if !issetHasResultSet{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field HasResultSet is not set"));
+  }
+  if !issetIsAlign{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field IsAlign is not set"));
+  }
+  return nil
 }
 
 func (p *TSFetchResultsResp)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	p.Status = &TSStatus{}
-	if err := p.Status.Read(ctx, iprot); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Status), err)
-	}
-	return nil
+  p.Status = &TSStatus{}
+  if err := p.Status.Read(ctx, iprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Status), err)
+  }
+  return nil
 }
 
 func (p *TSFetchResultsResp)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadBool(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.HasResultSet = v
-	}
-	return nil
+  if v, err := iprot.ReadBool(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.HasResultSet = v
+}
+  return nil
 }
 
 func (p *TSFetchResultsResp)  ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadBool(ctx); err != nil {
-		return thrift.PrependError("error reading field 3: ", err)
-	} else {
-		p.IsAlign = v
-	}
-	return nil
+  if v, err := iprot.ReadBool(ctx); err != nil {
+  return thrift.PrependError("error reading field 3: ", err)
+} else {
+  p.IsAlign = v
+}
+  return nil
 }
 
 func (p *TSFetchResultsResp)  ReadField4(ctx context.Context, iprot thrift.TProtocol) error {
-	p.QueryDataSet = &TSQueryDataSet{}
-	if err := p.QueryDataSet.Read(ctx, iprot); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.QueryDataSet), err)
-	}
-	return nil
+  p.QueryDataSet = &TSQueryDataSet{}
+  if err := p.QueryDataSet.Read(ctx, iprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.QueryDataSet), err)
+  }
+  return nil
 }
 
 func (p *TSFetchResultsResp)  ReadField5(ctx context.Context, iprot thrift.TProtocol) error {
-	p.NonAlignQueryDataSet = &TSQueryNonAlignDataSet{}
-	if err := p.NonAlignQueryDataSet.Read(ctx, iprot); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.NonAlignQueryDataSet), err)
-	}
-	return nil
+  p.NonAlignQueryDataSet = &TSQueryNonAlignDataSet{}
+  if err := p.NonAlignQueryDataSet.Read(ctx, iprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.NonAlignQueryDataSet), err)
+  }
+  return nil
 }
 
 func (p *TSFetchResultsResp) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSFetchResultsResp"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-		if err := p.writeField3(ctx, oprot); err != nil { return err }
-		if err := p.writeField4(ctx, oprot); err != nil { return err }
-		if err := p.writeField5(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSFetchResultsResp"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+    if err := p.writeField3(ctx, oprot); err != nil { return err }
+    if err := p.writeField4(ctx, oprot); err != nil { return err }
+    if err := p.writeField5(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSFetchResultsResp) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "status", thrift.STRUCT, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:status: ", p), err) }
-	if err := p.Status.Write(ctx, oprot); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Status), err)
-	}
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:status: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "status", thrift.STRUCT, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:status: ", p), err) }
+  if err := p.Status.Write(ctx, oprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Status), err)
+  }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:status: ", p), err) }
+  return err
 }
 
 func (p *TSFetchResultsResp) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "hasResultSet", thrift.BOOL, 2); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:hasResultSet: ", p), err) }
-	if err := oprot.WriteBool(ctx, bool(p.HasResultSet)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.hasResultSet (2) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 2:hasResultSet: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "hasResultSet", thrift.BOOL, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:hasResultSet: ", p), err) }
+  if err := oprot.WriteBool(ctx, bool(p.HasResultSet)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.hasResultSet (2) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:hasResultSet: ", p), err) }
+  return err
 }
 
 func (p *TSFetchResultsResp) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "isAlign", thrift.BOOL, 3); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:isAlign: ", p), err) }
-	if err := oprot.WriteBool(ctx, bool(p.IsAlign)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.isAlign (3) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 3:isAlign: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "isAlign", thrift.BOOL, 3); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:isAlign: ", p), err) }
+  if err := oprot.WriteBool(ctx, bool(p.IsAlign)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.isAlign (3) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 3:isAlign: ", p), err) }
+  return err
 }
 
 func (p *TSFetchResultsResp) writeField4(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetQueryDataSet() {
-		if err := oprot.WriteFieldBegin(ctx, "queryDataSet", thrift.STRUCT, 4); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:queryDataSet: ", p), err) }
-		if err := p.QueryDataSet.Write(ctx, oprot); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.QueryDataSet), err)
-		}
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 4:queryDataSet: ", p), err) }
-	}
-	return err
+  if p.IsSetQueryDataSet() {
+    if err := oprot.WriteFieldBegin(ctx, "queryDataSet", thrift.STRUCT, 4); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:queryDataSet: ", p), err) }
+    if err := p.QueryDataSet.Write(ctx, oprot); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.QueryDataSet), err)
+    }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 4:queryDataSet: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSFetchResultsResp) writeField5(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetNonAlignQueryDataSet() {
-		if err := oprot.WriteFieldBegin(ctx, "nonAlignQueryDataSet", thrift.STRUCT, 5); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 5:nonAlignQueryDataSet: ", p), err) }
-		if err := p.NonAlignQueryDataSet.Write(ctx, oprot); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.NonAlignQueryDataSet), err)
-		}
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 5:nonAlignQueryDataSet: ", p), err) }
-	}
-	return err
+  if p.IsSetNonAlignQueryDataSet() {
+    if err := oprot.WriteFieldBegin(ctx, "nonAlignQueryDataSet", thrift.STRUCT, 5); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 5:nonAlignQueryDataSet: ", p), err) }
+    if err := p.NonAlignQueryDataSet.Write(ctx, oprot); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.NonAlignQueryDataSet), err)
+    }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 5:nonAlignQueryDataSet: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSFetchResultsResp) Equals(other *TSFetchResultsResp) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if !p.Status.Equals(other.Status) { return false }
-	if p.HasResultSet != other.HasResultSet { return false }
-	if p.IsAlign != other.IsAlign { return false }
-	if !p.QueryDataSet.Equals(other.QueryDataSet) { return false }
-	if !p.NonAlignQueryDataSet.Equals(other.NonAlignQueryDataSet) { return false }
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if !p.Status.Equals(other.Status) { return false }
+  if p.HasResultSet != other.HasResultSet { return false }
+  if p.IsAlign != other.IsAlign { return false }
+  if !p.QueryDataSet.Equals(other.QueryDataSet) { return false }
+  if !p.NonAlignQueryDataSet.Equals(other.NonAlignQueryDataSet) { return false }
+  return true
 }
 
 func (p *TSFetchResultsResp) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSFetchResultsResp(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSFetchResultsResp(%+v)", *p)
 }
 
 // Attributes:
@@ -3867,282 +4760,282 @@ func (p *TSFetchResultsResp) String() string {
 //  - ColumnsList
 //  - DataType
 type TSFetchMetadataResp struct {
-	Status *TSStatus `thrift:"status,1,required" db:"status" json:"status"`
-	MetadataInJson *string `thrift:"metadataInJson,2" db:"metadataInJson" json:"metadataInJson,omitempty"`
-	ColumnsList []string `thrift:"columnsList,3" db:"columnsList" json:"columnsList,omitempty"`
-	DataType *string `thrift:"dataType,4" db:"dataType" json:"dataType,omitempty"`
+  Status *TSStatus `thrift:"status,1,required" db:"status" json:"status"`
+  MetadataInJson *string `thrift:"metadataInJson,2" db:"metadataInJson" json:"metadataInJson,omitempty"`
+  ColumnsList []string `thrift:"columnsList,3" db:"columnsList" json:"columnsList,omitempty"`
+  DataType *string `thrift:"dataType,4" db:"dataType" json:"dataType,omitempty"`
 }
 
 func NewTSFetchMetadataResp() *TSFetchMetadataResp {
-	return &TSFetchMetadataResp{}
+  return &TSFetchMetadataResp{}
 }
 
 var TSFetchMetadataResp_Status_DEFAULT *TSStatus
 func (p *TSFetchMetadataResp) GetStatus() *TSStatus {
-	if !p.IsSetStatus() {
-		return TSFetchMetadataResp_Status_DEFAULT
-	}
-	return p.Status
+  if !p.IsSetStatus() {
+    return TSFetchMetadataResp_Status_DEFAULT
+  }
+return p.Status
 }
 var TSFetchMetadataResp_MetadataInJson_DEFAULT string
 func (p *TSFetchMetadataResp) GetMetadataInJson() string {
-	if !p.IsSetMetadataInJson() {
-		return TSFetchMetadataResp_MetadataInJson_DEFAULT
-	}
-	return *p.MetadataInJson
+  if !p.IsSetMetadataInJson() {
+    return TSFetchMetadataResp_MetadataInJson_DEFAULT
+  }
+return *p.MetadataInJson
 }
 var TSFetchMetadataResp_ColumnsList_DEFAULT []string
 
 func (p *TSFetchMetadataResp) GetColumnsList() []string {
-	return p.ColumnsList
+  return p.ColumnsList
 }
 var TSFetchMetadataResp_DataType_DEFAULT string
 func (p *TSFetchMetadataResp) GetDataType() string {
-	if !p.IsSetDataType() {
-		return TSFetchMetadataResp_DataType_DEFAULT
-	}
-	return *p.DataType
+  if !p.IsSetDataType() {
+    return TSFetchMetadataResp_DataType_DEFAULT
+  }
+return *p.DataType
 }
 func (p *TSFetchMetadataResp) IsSetStatus() bool {
-	return p.Status != nil
+  return p.Status != nil
 }
 
 func (p *TSFetchMetadataResp) IsSetMetadataInJson() bool {
-	return p.MetadataInJson != nil
+  return p.MetadataInJson != nil
 }
 
 func (p *TSFetchMetadataResp) IsSetColumnsList() bool {
-	return p.ColumnsList != nil
+  return p.ColumnsList != nil
 }
 
 func (p *TSFetchMetadataResp) IsSetDataType() bool {
-	return p.DataType != nil
+  return p.DataType != nil
 }
 
 func (p *TSFetchMetadataResp) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetStatus bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.STRUCT {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetStatus = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 3:
-			if fieldTypeId == thrift.LIST {
-				if err := p.ReadField3(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 4:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField4(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetStatus{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Status is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetStatus bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.STRUCT {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetStatus = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 3:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField3(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 4:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField4(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetStatus{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Status is not set"));
+  }
+  return nil
 }
 
 func (p *TSFetchMetadataResp)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	p.Status = &TSStatus{}
-	if err := p.Status.Read(ctx, iprot); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Status), err)
-	}
-	return nil
+  p.Status = &TSStatus{}
+  if err := p.Status.Read(ctx, iprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Status), err)
+  }
+  return nil
 }
 
 func (p *TSFetchMetadataResp)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.MetadataInJson = &v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.MetadataInJson = &v
+}
+  return nil
 }
 
 func (p *TSFetchMetadataResp)  ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
-	_, size, err := iprot.ReadListBegin(ctx)
-	if err != nil {
-		return thrift.PrependError("error reading list begin: ", err)
-	}
-	tSlice := make([]string, 0, size)
-	p.ColumnsList =  tSlice
-	for i := 0; i < size; i ++ {
-		var _elem25 string
-		if v, err := iprot.ReadString(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_elem25 = v
-		}
-		p.ColumnsList = append(p.ColumnsList, _elem25)
-	}
-	if err := iprot.ReadListEnd(ctx); err != nil {
-		return thrift.PrependError("error reading list end: ", err)
-	}
-	return nil
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([]string, 0, size)
+  p.ColumnsList =  tSlice
+  for i := 0; i < size; i ++ {
+var _elem33 string
+    if v, err := iprot.ReadString(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _elem33 = v
+}
+    p.ColumnsList = append(p.ColumnsList, _elem33)
+  }
+  if err := iprot.ReadListEnd(ctx); err != nil {
+    return thrift.PrependError("error reading list end: ", err)
+  }
+  return nil
 }
 
 func (p *TSFetchMetadataResp)  ReadField4(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 4: ", err)
-	} else {
-		p.DataType = &v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 4: ", err)
+} else {
+  p.DataType = &v
+}
+  return nil
 }
 
 func (p *TSFetchMetadataResp) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSFetchMetadataResp"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-		if err := p.writeField3(ctx, oprot); err != nil { return err }
-		if err := p.writeField4(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSFetchMetadataResp"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+    if err := p.writeField3(ctx, oprot); err != nil { return err }
+    if err := p.writeField4(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSFetchMetadataResp) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "status", thrift.STRUCT, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:status: ", p), err) }
-	if err := p.Status.Write(ctx, oprot); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Status), err)
-	}
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:status: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "status", thrift.STRUCT, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:status: ", p), err) }
+  if err := p.Status.Write(ctx, oprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Status), err)
+  }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:status: ", p), err) }
+  return err
 }
 
 func (p *TSFetchMetadataResp) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetMetadataInJson() {
-		if err := oprot.WriteFieldBegin(ctx, "metadataInJson", thrift.STRING, 2); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:metadataInJson: ", p), err) }
-		if err := oprot.WriteString(ctx, string(*p.MetadataInJson)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.metadataInJson (2) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 2:metadataInJson: ", p), err) }
-	}
-	return err
+  if p.IsSetMetadataInJson() {
+    if err := oprot.WriteFieldBegin(ctx, "metadataInJson", thrift.STRING, 2); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:metadataInJson: ", p), err) }
+    if err := oprot.WriteString(ctx, string(*p.MetadataInJson)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.metadataInJson (2) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 2:metadataInJson: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSFetchMetadataResp) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetColumnsList() {
-		if err := oprot.WriteFieldBegin(ctx, "columnsList", thrift.LIST, 3); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:columnsList: ", p), err) }
-		if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.ColumnsList)); err != nil {
-			return thrift.PrependError("error writing list begin: ", err)
-		}
-		for _, v := range p.ColumnsList {
-			if err := oprot.WriteString(ctx, string(v)); err != nil {
-				return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
-		}
-		if err := oprot.WriteListEnd(ctx); err != nil {
-			return thrift.PrependError("error writing list end: ", err)
-		}
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 3:columnsList: ", p), err) }
-	}
-	return err
+  if p.IsSetColumnsList() {
+    if err := oprot.WriteFieldBegin(ctx, "columnsList", thrift.LIST, 3); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:columnsList: ", p), err) }
+    if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.ColumnsList)); err != nil {
+      return thrift.PrependError("error writing list begin: ", err)
+    }
+    for _, v := range p.ColumnsList {
+      if err := oprot.WriteString(ctx, string(v)); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+    }
+    if err := oprot.WriteListEnd(ctx); err != nil {
+      return thrift.PrependError("error writing list end: ", err)
+    }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 3:columnsList: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSFetchMetadataResp) writeField4(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetDataType() {
-		if err := oprot.WriteFieldBegin(ctx, "dataType", thrift.STRING, 4); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:dataType: ", p), err) }
-		if err := oprot.WriteString(ctx, string(*p.DataType)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.dataType (4) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 4:dataType: ", p), err) }
-	}
-	return err
+  if p.IsSetDataType() {
+    if err := oprot.WriteFieldBegin(ctx, "dataType", thrift.STRING, 4); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:dataType: ", p), err) }
+    if err := oprot.WriteString(ctx, string(*p.DataType)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.dataType (4) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 4:dataType: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSFetchMetadataResp) Equals(other *TSFetchMetadataResp) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if !p.Status.Equals(other.Status) { return false }
-	if p.MetadataInJson != other.MetadataInJson {
-		if p.MetadataInJson == nil || other.MetadataInJson == nil {
-			return false
-		}
-		if (*p.MetadataInJson) != (*other.MetadataInJson) { return false }
-	}
-	if len(p.ColumnsList) != len(other.ColumnsList) { return false }
-	for i, _tgt := range p.ColumnsList {
-		_src26 := other.ColumnsList[i]
-		if _tgt != _src26 { return false }
-	}
-	if p.DataType != other.DataType {
-		if p.DataType == nil || other.DataType == nil {
-			return false
-		}
-		if (*p.DataType) != (*other.DataType) { return false }
-	}
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if !p.Status.Equals(other.Status) { return false }
+  if p.MetadataInJson != other.MetadataInJson {
+    if p.MetadataInJson == nil || other.MetadataInJson == nil {
+      return false
+    }
+    if (*p.MetadataInJson) != (*other.MetadataInJson) { return false }
+  }
+  if len(p.ColumnsList) != len(other.ColumnsList) { return false }
+  for i, _tgt := range p.ColumnsList {
+    _src34 := other.ColumnsList[i]
+    if _tgt != _src34 { return false }
+  }
+  if p.DataType != other.DataType {
+    if p.DataType == nil || other.DataType == nil {
+      return false
+    }
+    if (*p.DataType) != (*other.DataType) { return false }
+  }
+  return true
 }
 
 func (p *TSFetchMetadataResp) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSFetchMetadataResp(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSFetchMetadataResp(%+v)", *p)
 }
 
 // Attributes:
@@ -4150,3281 +5043,4086 @@ func (p *TSFetchMetadataResp) String() string {
 //  - Type
 //  - ColumnPath
 type TSFetchMetadataReq struct {
-	SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
-	Type string `thrift:"type,2,required" db:"type" json:"type"`
-	ColumnPath *string `thrift:"columnPath,3" db:"columnPath" json:"columnPath,omitempty"`
+  SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
+  Type string `thrift:"type,2,required" db:"type" json:"type"`
+  ColumnPath *string `thrift:"columnPath,3" db:"columnPath" json:"columnPath,omitempty"`
 }
 
 func NewTSFetchMetadataReq() *TSFetchMetadataReq {
-	return &TSFetchMetadataReq{}
+  return &TSFetchMetadataReq{}
 }
 
 
 func (p *TSFetchMetadataReq) GetSessionId() int64 {
-	return p.SessionId
+  return p.SessionId
 }
 
 func (p *TSFetchMetadataReq) GetType() string {
-	return p.Type
+  return p.Type
 }
 var TSFetchMetadataReq_ColumnPath_DEFAULT string
 func (p *TSFetchMetadataReq) GetColumnPath() string {
-	if !p.IsSetColumnPath() {
-		return TSFetchMetadataReq_ColumnPath_DEFAULT
-	}
-	return *p.ColumnPath
+  if !p.IsSetColumnPath() {
+    return TSFetchMetadataReq_ColumnPath_DEFAULT
+  }
+return *p.ColumnPath
 }
 func (p *TSFetchMetadataReq) IsSetColumnPath() bool {
-	return p.ColumnPath != nil
+  return p.ColumnPath != nil
 }
 
 func (p *TSFetchMetadataReq) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetSessionId bool = false;
-	var issetType bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetSessionId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetType = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 3:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField3(ctx, iprot); err != nil {
-					return err
-				}
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetSessionId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
-	}
-	if !issetType{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Type is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetSessionId bool = false;
+  var issetType bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetSessionId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetType = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 3:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField3(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetSessionId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
+  }
+  if !issetType{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Type is not set"));
+  }
+  return nil
 }
 
 func (p *TSFetchMetadataReq)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 1: ", err)
-	} else {
-		p.SessionId = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 1: ", err)
+} else {
+  p.SessionId = v
+}
+  return nil
 }
 
 func (p *TSFetchMetadataReq)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.Type = v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.Type = v
+}
+  return nil
 }
 
 func (p *TSFetchMetadataReq)  ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 3: ", err)
-	} else {
-		p.ColumnPath = &v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 3: ", err)
+} else {
+  p.ColumnPath = &v
+}
+  return nil
 }
 
 func (p *TSFetchMetadataReq) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSFetchMetadataReq"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-		if err := p.writeField3(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSFetchMetadataReq"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+    if err := p.writeField3(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSFetchMetadataReq) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
-	if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
+  if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
+  return err
 }
 
 func (p *TSFetchMetadataReq) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "type", thrift.STRING, 2); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:type: ", p), err) }
-	if err := oprot.WriteString(ctx, string(p.Type)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.type (2) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 2:type: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "type", thrift.STRING, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:type: ", p), err) }
+  if err := oprot.WriteString(ctx, string(p.Type)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.type (2) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:type: ", p), err) }
+  return err
 }
 
 func (p *TSFetchMetadataReq) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if p.IsSetColumnPath() {
-		if err := oprot.WriteFieldBegin(ctx, "columnPath", thrift.STRING, 3); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:columnPath: ", p), err) }
-		if err := oprot.WriteString(ctx, string(*p.ColumnPath)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T.columnPath (3) field write error: ", p), err) }
-		if err := oprot.WriteFieldEnd(ctx); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T write field end error 3:columnPath: ", p), err) }
-	}
-	return err
+  if p.IsSetColumnPath() {
+    if err := oprot.WriteFieldBegin(ctx, "columnPath", thrift.STRING, 3); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:columnPath: ", p), err) }
+    if err := oprot.WriteString(ctx, string(*p.ColumnPath)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.columnPath (3) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 3:columnPath: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSFetchMetadataReq) Equals(other *TSFetchMetadataReq) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if p.SessionId != other.SessionId { return false }
-	if p.Type != other.Type { return false }
-	if p.ColumnPath != other.ColumnPath {
-		if p.ColumnPath == nil || other.ColumnPath == nil {
-			return false
-		}
-		if (*p.ColumnPath) != (*other.ColumnPath) { return false }
-	}
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if p.SessionId != other.SessionId { return false }
+  if p.Type != other.Type { return false }
+  if p.ColumnPath != other.ColumnPath {
+    if p.ColumnPath == nil || other.ColumnPath == nil {
+      return false
+    }
+    if (*p.ColumnPath) != (*other.ColumnPath) { return false }
+  }
+  return true
 }
 
 func (p *TSFetchMetadataReq) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSFetchMetadataReq(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSFetchMetadataReq(%+v)", *p)
 }
 
 // Attributes:
 //  - Status
 //  - TimeZone
 type TSGetTimeZoneResp struct {
-	Status *TSStatus `thrift:"status,1,required" db:"status" json:"status"`
-	TimeZone string `thrift:"timeZone,2,required" db:"timeZone" json:"timeZone"`
+  Status *TSStatus `thrift:"status,1,required" db:"status" json:"status"`
+  TimeZone string `thrift:"timeZone,2,required" db:"timeZone" json:"timeZone"`
 }
 
 func NewTSGetTimeZoneResp() *TSGetTimeZoneResp {
-	return &TSGetTimeZoneResp{}
+  return &TSGetTimeZoneResp{}
 }
 
 var TSGetTimeZoneResp_Status_DEFAULT *TSStatus
 func (p *TSGetTimeZoneResp) GetStatus() *TSStatus {
-	if !p.IsSetStatus() {
-		return TSGetTimeZoneResp_Status_DEFAULT
-	}
-	return p.Status
+  if !p.IsSetStatus() {
+    return TSGetTimeZoneResp_Status_DEFAULT
+  }
+return p.Status
 }
 
 func (p *TSGetTimeZoneResp) GetTimeZone() string {
-	return p.TimeZone
+  return p.TimeZone
 }
 func (p *TSGetTimeZoneResp) IsSetStatus() bool {
-	return p.Status != nil
+  return p.Status != nil
 }
 
 func (p *TSGetTimeZoneResp) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetStatus bool = false;
-	var issetTimeZone bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.STRUCT {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetStatus = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetTimeZone = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetStatus{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Status is not set"));
-	}
-	if !issetTimeZone{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field TimeZone is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetStatus bool = false;
+  var issetTimeZone bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.STRUCT {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetStatus = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetTimeZone = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetStatus{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Status is not set"));
+  }
+  if !issetTimeZone{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field TimeZone is not set"));
+  }
+  return nil
 }
 
 func (p *TSGetTimeZoneResp)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	p.Status = &TSStatus{}
-	if err := p.Status.Read(ctx, iprot); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Status), err)
-	}
-	return nil
+  p.Status = &TSStatus{}
+  if err := p.Status.Read(ctx, iprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Status), err)
+  }
+  return nil
 }
 
 func (p *TSGetTimeZoneResp)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.TimeZone = v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.TimeZone = v
+}
+  return nil
 }
 
 func (p *TSGetTimeZoneResp) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSGetTimeZoneResp"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSGetTimeZoneResp"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSGetTimeZoneResp) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "status", thrift.STRUCT, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:status: ", p), err) }
-	if err := p.Status.Write(ctx, oprot); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Status), err)
-	}
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:status: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "status", thrift.STRUCT, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:status: ", p), err) }
+  if err := p.Status.Write(ctx, oprot); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Status), err)
+  }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:status: ", p), err) }
+  return err
 }
 
 func (p *TSGetTimeZoneResp) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "timeZone", thrift.STRING, 2); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:timeZone: ", p), err) }
-	if err := oprot.WriteString(ctx, string(p.TimeZone)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.timeZone (2) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 2:timeZone: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "timeZone", thrift.STRING, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:timeZone: ", p), err) }
+  if err := oprot.WriteString(ctx, string(p.TimeZone)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.timeZone (2) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:timeZone: ", p), err) }
+  return err
 }
 
 func (p *TSGetTimeZoneResp) Equals(other *TSGetTimeZoneResp) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if !p.Status.Equals(other.Status) { return false }
-	if p.TimeZone != other.TimeZone { return false }
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if !p.Status.Equals(other.Status) { return false }
+  if p.TimeZone != other.TimeZone { return false }
+  return true
 }
 
 func (p *TSGetTimeZoneResp) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSGetTimeZoneResp(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSGetTimeZoneResp(%+v)", *p)
 }
 
 // Attributes:
 //  - SessionId
 //  - TimeZone
 type TSSetTimeZoneReq struct {
-	SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
-	TimeZone string `thrift:"timeZone,2,required" db:"timeZone" json:"timeZone"`
+  SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
+  TimeZone string `thrift:"timeZone,2,required" db:"timeZone" json:"timeZone"`
 }
 
 func NewTSSetTimeZoneReq() *TSSetTimeZoneReq {
-	return &TSSetTimeZoneReq{}
+  return &TSSetTimeZoneReq{}
 }
 
 
 func (p *TSSetTimeZoneReq) GetSessionId() int64 {
-	return p.SessionId
+  return p.SessionId
 }
 
 func (p *TSSetTimeZoneReq) GetTimeZone() string {
-	return p.TimeZone
+  return p.TimeZone
 }
 func (p *TSSetTimeZoneReq) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetSessionId bool = false;
-	var issetTimeZone bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetSessionId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetTimeZone = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetSessionId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
-	}
-	if !issetTimeZone{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field TimeZone is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetSessionId bool = false;
+  var issetTimeZone bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetSessionId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetTimeZone = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetSessionId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
+  }
+  if !issetTimeZone{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field TimeZone is not set"));
+  }
+  return nil
 }
 
 func (p *TSSetTimeZoneReq)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 1: ", err)
-	} else {
-		p.SessionId = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 1: ", err)
+} else {
+  p.SessionId = v
+}
+  return nil
 }
 
 func (p *TSSetTimeZoneReq)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.TimeZone = v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.TimeZone = v
+}
+  return nil
 }
 
 func (p *TSSetTimeZoneReq) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSSetTimeZoneReq"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSSetTimeZoneReq"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSSetTimeZoneReq) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
-	if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
+  if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
+  return err
 }
 
 func (p *TSSetTimeZoneReq) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "timeZone", thrift.STRING, 2); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:timeZone: ", p), err) }
-	if err := oprot.WriteString(ctx, string(p.TimeZone)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.timeZone (2) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 2:timeZone: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "timeZone", thrift.STRING, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:timeZone: ", p), err) }
+  if err := oprot.WriteString(ctx, string(p.TimeZone)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.timeZone (2) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:timeZone: ", p), err) }
+  return err
 }
 
 func (p *TSSetTimeZoneReq) Equals(other *TSSetTimeZoneReq) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if p.SessionId != other.SessionId { return false }
-	if p.TimeZone != other.TimeZone { return false }
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if p.SessionId != other.SessionId { return false }
+  if p.TimeZone != other.TimeZone { return false }
+  return true
 }
 
 func (p *TSSetTimeZoneReq) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSSetTimeZoneReq(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSSetTimeZoneReq(%+v)", *p)
 }
 
 // Attributes:
 //  - SessionId
-//  - DeviceId
+//  - PrefixPath
 //  - Measurements
 //  - Values
 //  - Timestamp
+//  - IsAligned
 type TSInsertRecordReq struct {
-	SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
-	DeviceId string `thrift:"deviceId,2,required" db:"deviceId" json:"deviceId"`
-	Measurements []string `thrift:"measurements,3,required" db:"measurements" json:"measurements"`
-	Values []byte `thrift:"values,4,required" db:"values" json:"values"`
-	Timestamp int64 `thrift:"timestamp,5,required" db:"timestamp" json:"timestamp"`
+  SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
+  PrefixPath string `thrift:"prefixPath,2,required" db:"prefixPath" json:"prefixPath"`
+  Measurements []string `thrift:"measurements,3,required" db:"measurements" json:"measurements"`
+  Values []byte `thrift:"values,4,required" db:"values" json:"values"`
+  Timestamp int64 `thrift:"timestamp,5,required" db:"timestamp" json:"timestamp"`
+  IsAligned *bool `thrift:"isAligned,6" db:"isAligned" json:"isAligned,omitempty"`
 }
 
 func NewTSInsertRecordReq() *TSInsertRecordReq {
-	return &TSInsertRecordReq{}
+  return &TSInsertRecordReq{}
 }
 
 
 func (p *TSInsertRecordReq) GetSessionId() int64 {
-	return p.SessionId
+  return p.SessionId
 }
 
-func (p *TSInsertRecordReq) GetDeviceId() string {
-	return p.DeviceId
+func (p *TSInsertRecordReq) GetPrefixPath() string {
+  return p.PrefixPath
 }
 
 func (p *TSInsertRecordReq) GetMeasurements() []string {
-	return p.Measurements
+  return p.Measurements
 }
 
 func (p *TSInsertRecordReq) GetValues() []byte {
-	return p.Values
+  return p.Values
 }
 
 func (p *TSInsertRecordReq) GetTimestamp() int64 {
-	return p.Timestamp
+  return p.Timestamp
 }
+var TSInsertRecordReq_IsAligned_DEFAULT bool
+func (p *TSInsertRecordReq) GetIsAligned() bool {
+  if !p.IsSetIsAligned() {
+    return TSInsertRecordReq_IsAligned_DEFAULT
+  }
+return *p.IsAligned
+}
+func (p *TSInsertRecordReq) IsSetIsAligned() bool {
+  return p.IsAligned != nil
+}
+
 func (p *TSInsertRecordReq) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetSessionId bool = false;
-	var issetDeviceId bool = false;
-	var issetMeasurements bool = false;
-	var issetValues bool = false;
-	var issetTimestamp bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetSessionId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetDeviceId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 3:
-			if fieldTypeId == thrift.LIST {
-				if err := p.ReadField3(ctx, iprot); err != nil {
-					return err
-				}
-				issetMeasurements = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 4:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField4(ctx, iprot); err != nil {
-					return err
-				}
-				issetValues = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 5:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField5(ctx, iprot); err != nil {
-					return err
-				}
-				issetTimestamp = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetSessionId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
-	}
-	if !issetDeviceId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field DeviceId is not set"));
-	}
-	if !issetMeasurements{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Measurements is not set"));
-	}
-	if !issetValues{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Values is not set"));
-	}
-	if !issetTimestamp{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Timestamp is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetSessionId bool = false;
+  var issetPrefixPath bool = false;
+  var issetMeasurements bool = false;
+  var issetValues bool = false;
+  var issetTimestamp bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetSessionId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetPrefixPath = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 3:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField3(ctx, iprot); err != nil {
+          return err
+        }
+        issetMeasurements = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 4:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField4(ctx, iprot); err != nil {
+          return err
+        }
+        issetValues = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 5:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField5(ctx, iprot); err != nil {
+          return err
+        }
+        issetTimestamp = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 6:
+      if fieldTypeId == thrift.BOOL {
+        if err := p.ReadField6(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetSessionId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
+  }
+  if !issetPrefixPath{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field PrefixPath is not set"));
+  }
+  if !issetMeasurements{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Measurements is not set"));
+  }
+  if !issetValues{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Values is not set"));
+  }
+  if !issetTimestamp{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Timestamp is not set"));
+  }
+  return nil
 }
 
 func (p *TSInsertRecordReq)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 1: ", err)
-	} else {
-		p.SessionId = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 1: ", err)
+} else {
+  p.SessionId = v
+}
+  return nil
 }
 
 func (p *TSInsertRecordReq)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.DeviceId = v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.PrefixPath = v
+}
+  return nil
 }
 
 func (p *TSInsertRecordReq)  ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
-	_, size, err := iprot.ReadListBegin(ctx)
-	if err != nil {
-		return thrift.PrependError("error reading list begin: ", err)
-	}
-	tSlice := make([]string, 0, size)
-	p.Measurements =  tSlice
-	for i := 0; i < size; i ++ {
-		var _elem27 string
-		if v, err := iprot.ReadString(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_elem27 = v
-		}
-		p.Measurements = append(p.Measurements, _elem27)
-	}
-	if err := iprot.ReadListEnd(ctx); err != nil {
-		return thrift.PrependError("error reading list end: ", err)
-	}
-	return nil
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([]string, 0, size)
+  p.Measurements =  tSlice
+  for i := 0; i < size; i ++ {
+var _elem35 string
+    if v, err := iprot.ReadString(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _elem35 = v
+}
+    p.Measurements = append(p.Measurements, _elem35)
+  }
+  if err := iprot.ReadListEnd(ctx); err != nil {
+    return thrift.PrependError("error reading list end: ", err)
+  }
+  return nil
 }
 
 func (p *TSInsertRecordReq)  ReadField4(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadBinary(ctx); err != nil {
-		return thrift.PrependError("error reading field 4: ", err)
-	} else {
-		p.Values = v
-	}
-	return nil
+  if v, err := iprot.ReadBinary(ctx); err != nil {
+  return thrift.PrependError("error reading field 4: ", err)
+} else {
+  p.Values = v
+}
+  return nil
 }
 
 func (p *TSInsertRecordReq)  ReadField5(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 5: ", err)
-	} else {
-		p.Timestamp = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 5: ", err)
+} else {
+  p.Timestamp = v
+}
+  return nil
+}
+
+func (p *TSInsertRecordReq)  ReadField6(ctx context.Context, iprot thrift.TProtocol) error {
+  if v, err := iprot.ReadBool(ctx); err != nil {
+  return thrift.PrependError("error reading field 6: ", err)
+} else {
+  p.IsAligned = &v
+}
+  return nil
 }
 
 func (p *TSInsertRecordReq) Write(ctx context.Context, oprot thrift.TProtocol) error {
-	if err := oprot.WriteStructBegin(ctx, "TSInsertRecordReq"); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
-	if p != nil {
-		if err := p.writeField1(ctx, oprot); err != nil { return err }
-		if err := p.writeField2(ctx, oprot); err != nil { return err }
-		if err := p.writeField3(ctx, oprot); err != nil { return err }
-		if err := p.writeField4(ctx, oprot); err != nil { return err }
-		if err := p.writeField5(ctx, oprot); err != nil { return err }
-	}
-	if err := oprot.WriteFieldStop(ctx); err != nil {
-		return thrift.PrependError("write field stop error: ", err) }
-	if err := oprot.WriteStructEnd(ctx); err != nil {
-		return thrift.PrependError("write struct stop error: ", err) }
-	return nil
+  if err := oprot.WriteStructBegin(ctx, "TSInsertRecordReq"); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
+  if p != nil {
+    if err := p.writeField1(ctx, oprot); err != nil { return err }
+    if err := p.writeField2(ctx, oprot); err != nil { return err }
+    if err := p.writeField3(ctx, oprot); err != nil { return err }
+    if err := p.writeField4(ctx, oprot); err != nil { return err }
+    if err := p.writeField5(ctx, oprot); err != nil { return err }
+    if err := p.writeField6(ctx, oprot); err != nil { return err }
+  }
+  if err := oprot.WriteFieldStop(ctx); err != nil {
+    return thrift.PrependError("write field stop error: ", err) }
+  if err := oprot.WriteStructEnd(ctx); err != nil {
+    return thrift.PrependError("write struct stop error: ", err) }
+  return nil
 }
 
 func (p *TSInsertRecordReq) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
-	if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "sessionId", thrift.I64, 1); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:sessionId: ", p), err) }
+  if err := oprot.WriteI64(ctx, int64(p.SessionId)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.sessionId (1) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 1:sessionId: ", p), err) }
+  return err
 }
 
 func (p *TSInsertRecordReq) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "deviceId", thrift.STRING, 2); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:deviceId: ", p), err) }
-	if err := oprot.WriteString(ctx, string(p.DeviceId)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.deviceId (2) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 2:deviceId: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "prefixPath", thrift.STRING, 2); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:prefixPath: ", p), err) }
+  if err := oprot.WriteString(ctx, string(p.PrefixPath)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.prefixPath (2) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 2:prefixPath: ", p), err) }
+  return err
 }
 
 func (p *TSInsertRecordReq) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "measurements", thrift.LIST, 3); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:measurements: ", p), err) }
-	if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.Measurements)); err != nil {
-		return thrift.PrependError("error writing list begin: ", err)
-	}
-	for _, v := range p.Measurements {
-		if err := oprot.WriteString(ctx, string(v)); err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
-	}
-	if err := oprot.WriteListEnd(ctx); err != nil {
-		return thrift.PrependError("error writing list end: ", err)
-	}
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 3:measurements: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "measurements", thrift.LIST, 3); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:measurements: ", p), err) }
+  if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.Measurements)); err != nil {
+    return thrift.PrependError("error writing list begin: ", err)
+  }
+  for _, v := range p.Measurements {
+    if err := oprot.WriteString(ctx, string(v)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) }
+  }
+  if err := oprot.WriteListEnd(ctx); err != nil {
+    return thrift.PrependError("error writing list end: ", err)
+  }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 3:measurements: ", p), err) }
+  return err
 }
 
 func (p *TSInsertRecordReq) writeField4(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "values", thrift.STRING, 4); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:values: ", p), err) }
-	if err := oprot.WriteBinary(ctx, p.Values); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.values (4) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 4:values: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "values", thrift.STRING, 4); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:values: ", p), err) }
+  if err := oprot.WriteBinary(ctx, p.Values); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.values (4) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 4:values: ", p), err) }
+  return err
 }
 
 func (p *TSInsertRecordReq) writeField5(ctx context.Context, oprot thrift.TProtocol) (err error) {
-	if err := oprot.WriteFieldBegin(ctx, "timestamp", thrift.I64, 5); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field begin error 5:timestamp: ", p), err) }
-	if err := oprot.WriteI64(ctx, int64(p.Timestamp)); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T.timestamp (5) field write error: ", p), err) }
-	if err := oprot.WriteFieldEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T write field end error 5:timestamp: ", p), err) }
-	return err
+  if err := oprot.WriteFieldBegin(ctx, "timestamp", thrift.I64, 5); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field begin error 5:timestamp: ", p), err) }
+  if err := oprot.WriteI64(ctx, int64(p.Timestamp)); err != nil {
+  return thrift.PrependError(fmt.Sprintf("%T.timestamp (5) field write error: ", p), err) }
+  if err := oprot.WriteFieldEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T write field end error 5:timestamp: ", p), err) }
+  return err
+}
+
+func (p *TSInsertRecordReq) writeField6(ctx context.Context, oprot thrift.TProtocol) (err error) {
+  if p.IsSetIsAligned() {
+    if err := oprot.WriteFieldBegin(ctx, "isAligned", thrift.BOOL, 6); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field begin error 6:isAligned: ", p), err) }
+    if err := oprot.WriteBool(ctx, bool(*p.IsAligned)); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T.isAligned (6) field write error: ", p), err) }
+    if err := oprot.WriteFieldEnd(ctx); err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T write field end error 6:isAligned: ", p), err) }
+  }
+  return err
 }
 
 func (p *TSInsertRecordReq) Equals(other *TSInsertRecordReq) bool {
-	if p == other {
-		return true
-	} else if p == nil || other == nil {
-		return false
-	}
-	if p.SessionId != other.SessionId { return false }
-	if p.DeviceId != other.DeviceId { return false }
-	if len(p.Measurements) != len(other.Measurements) { return false }
-	for i, _tgt := range p.Measurements {
-		_src28 := other.Measurements[i]
-		if _tgt != _src28 { return false }
-	}
-	if bytes.Compare(p.Values, other.Values) != 0 { return false }
-	if p.Timestamp != other.Timestamp { return false }
-	return true
+  if p == other {
+    return true
+  } else if p == nil || other == nil {
+    return false
+  }
+  if p.SessionId != other.SessionId { return false }
+  if p.PrefixPath != other.PrefixPath { return false }
+  if len(p.Measurements) != len(other.Measurements) { return false }
+  for i, _tgt := range p.Measurements {
+    _src36 := other.Measurements[i]
+    if _tgt != _src36 { return false }
+  }
+  if bytes.Compare(p.Values, other.Values) != 0 { return false }
+  if p.Timestamp != other.Timestamp { return false }
+  if p.IsAligned != other.IsAligned {
+    if p.IsAligned == nil || other.IsAligned == nil {
+      return false
+    }
+    if (*p.IsAligned) != (*other.IsAligned) { return false }
+  }
+  return true
 }
 
 func (p *TSInsertRecordReq) String() string {
-	if p == nil {
-		return "<nil>"
-	}
-	return fmt.Sprintf("TSInsertRecordReq(%+v)", *p)
+  if p == nil {
+    return "<nil>"
+  }
+  return fmt.Sprintf("TSInsertRecordReq(%+v)", *p)
 }
 
 // Attributes:
 //  - SessionId
-//  - DeviceId
+//  - PrefixPath
 //  - Measurements
 //  - Values
 //  - Timestamp
+//  - IsAligned
 type TSInsertStringRecordReq struct {
-	SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
-	DeviceId string `thrift:"deviceId,2,required" db:"deviceId" json:"deviceId"`
-	Measurements []string `thrift:"measurements,3,required" db:"measurements" json:"measurements"`
-	Values []string `thrift:"values,4,required" db:"values" json:"values"`
-	Timestamp int64 `thrift:"timestamp,5,required" db:"timestamp" json:"timestamp"`
+  SessionId int64 `thrift:"sessionId,1,required" db:"sessionId" json:"sessionId"`
+  PrefixPath string `thrift:"prefixPath,2,required" db:"prefixPath" json:"prefixPath"`
+  Measurements []string `thrift:"measurements,3,required" db:"measurements" json:"measurements"`
+  Values []string `thrift:"values,4,required" db:"values" json:"values"`
+  Timestamp int64 `thrift:"timestamp,5,required" db:"timestamp" json:"timestamp"`
+  IsAligned *bool `thrift:"isAligned,6" db:"isAligned" json:"isAligned,omitempty"`
 }
 
 func NewTSInsertStringRecordReq() *TSInsertStringRecordReq {
-	return &TSInsertStringRecordReq{}
+  return &TSInsertStringRecordReq{}
 }
 
 
 func (p *TSInsertStringRecordReq) GetSessionId() int64 {
-	return p.SessionId
+  return p.SessionId
 }
 
-func (p *TSInsertStringRecordReq) GetDeviceId() string {
-	return p.DeviceId
+func (p *TSInsertStringRecordReq) GetPrefixPath() string {
+  return p.PrefixPath
 }
 
 func (p *TSInsertStringRecordReq) GetMeasurements() []string {
-	return p.Measurements
+  return p.Measurements
 }
 
 func (p *TSInsertStringRecordReq) GetValues() []string {
-	return p.Values
+  return p.Values
 }
 
 func (p *TSInsertStringRecordReq) GetTimestamp() int64 {
-	return p.Timestamp
+  return p.Timestamp
 }
+var TSInsertStringRecordReq_IsAligned_DEFAULT bool
+func (p *TSInsertStringRecordReq) GetIsAligned() bool {
+  if !p.IsSetIsAligned() {
+    return TSInsertStringRecordReq_IsAligned_DEFAULT
+  }
+return *p.IsAligned
+}
+func (p *TSInsertStringRecordReq) IsSetIsAligned() bool {
+  return p.IsAligned != nil
+}
+
 func (p *TSInsertStringRecordReq) Read(ctx context.Context, iprot thrift.TProtocol) error {
-	if _, err := iprot.ReadStructBegin(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
-	}
-
-	var issetSessionId bool = false;
-	var issetDeviceId bool = false;
-	var issetMeasurements bool = false;
-	var issetValues bool = false;
-	var issetTimestamp bool = false;
-
-	for {
-		_, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
-		if err != nil {
-			return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
-		}
-		if fieldTypeId == thrift.STOP { break; }
-		switch fieldId {
-		case 1:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField1(ctx, iprot); err != nil {
-					return err
-				}
-				issetSessionId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 2:
-			if fieldTypeId == thrift.STRING {
-				if err := p.ReadField2(ctx, iprot); err != nil {
-					return err
-				}
-				issetDeviceId = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 3:
-			if fieldTypeId == thrift.LIST {
-				if err := p.ReadField3(ctx, iprot); err != nil {
-					return err
-				}
-				issetMeasurements = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 4:
-			if fieldTypeId == thrift.LIST {
-				if err := p.ReadField4(ctx, iprot); err != nil {
-					return err
-				}
-				issetValues = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		case 5:
-			if fieldTypeId == thrift.I64 {
-				if err := p.ReadField5(ctx, iprot); err != nil {
-					return err
-				}
-				issetTimestamp = true
-			} else {
-				if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-					return err
-				}
-			}
-		default:
-			if err := iprot.Skip(ctx, fieldTypeId); err != nil {
-				return err
-			}
-		}
-		if err := iprot.ReadFieldEnd(ctx); err != nil {
-			return err
-		}
-	}
-	if err := iprot.ReadStructEnd(ctx); err != nil {
-		return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
-	}
-	if !issetSessionId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
-	}
-	if !issetDeviceId{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field DeviceId is not set"));
-	}
-	if !issetMeasurements{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Measurements is not set"));
-	}
-	if !issetValues{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Values is not set"));
-	}
-	if !issetTimestamp{
-		return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Timestamp is not set"));
-	}
-	return nil
+  if _, err := iprot.ReadStructBegin(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read error: ", p), err)
+  }
+
+  var issetSessionId bool = false;
+  var issetPrefixPath bool = false;
+  var issetMeasurements bool = false;
+  var issetValues bool = false;
+  var issetTimestamp bool = false;
+
+  for {
+    _, fieldTypeId, fieldId, err := iprot.ReadFieldBegin(ctx)
+    if err != nil {
+      return thrift.PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err)
+    }
+    if fieldTypeId == thrift.STOP { break; }
+    switch fieldId {
+    case 1:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField1(ctx, iprot); err != nil {
+          return err
+        }
+        issetSessionId = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 2:
+      if fieldTypeId == thrift.STRING {
+        if err := p.ReadField2(ctx, iprot); err != nil {
+          return err
+        }
+        issetPrefixPath = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 3:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField3(ctx, iprot); err != nil {
+          return err
+        }
+        issetMeasurements = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 4:
+      if fieldTypeId == thrift.LIST {
+        if err := p.ReadField4(ctx, iprot); err != nil {
+          return err
+        }
+        issetValues = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 5:
+      if fieldTypeId == thrift.I64 {
+        if err := p.ReadField5(ctx, iprot); err != nil {
+          return err
+        }
+        issetTimestamp = true
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    case 6:
+      if fieldTypeId == thrift.BOOL {
+        if err := p.ReadField6(ctx, iprot); err != nil {
+          return err
+        }
+      } else {
+        if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+          return err
+        }
+      }
+    default:
+      if err := iprot.Skip(ctx, fieldTypeId); err != nil {
+        return err
+      }
+    }
+    if err := iprot.ReadFieldEnd(ctx); err != nil {
+      return err
+    }
+  }
+  if err := iprot.ReadStructEnd(ctx); err != nil {
+    return thrift.PrependError(fmt.Sprintf("%T read struct end error: ", p), err)
+  }
+  if !issetSessionId{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field SessionId is not set"));
+  }
+  if !issetPrefixPath{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field PrefixPath is not set"));
+  }
+  if !issetMeasurements{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Measurements is not set"));
+  }
+  if !issetValues{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Values is not set"));
+  }
+  if !issetTimestamp{
+    return thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("Required field Timestamp is not set"));
+  }
+  return nil
 }
 
 func (p *TSInsertStringRecordReq)  ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadI64(ctx); err != nil {
-		return thrift.PrependError("error reading field 1: ", err)
-	} else {
-		p.SessionId = v
-	}
-	return nil
+  if v, err := iprot.ReadI64(ctx); err != nil {
+  return thrift.PrependError("error reading field 1: ", err)
+} else {
+  p.SessionId = v
+}
+  return nil
 }
 
 func (p *TSInsertStringRecordReq)  ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
-	if v, err := iprot.ReadString(ctx); err != nil {
-		return thrift.PrependError("error reading field 2: ", err)
-	} else {
-		p.DeviceId = v
-	}
-	return nil
+  if v, err := iprot.ReadString(ctx); err != nil {
+  return thrift.PrependError("error reading field 2: ", err)
+} else {
+  p.PrefixPath = v
+}
+  return nil
 }
 
 func (p *TSInsertStringRecordReq)  ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
-	_, size, err := iprot.ReadListBegin(ctx)
-	if err != nil {
-		return thrift.PrependError("error reading list begin: ", err)
-	}
-	tSlice := make([]string, 0, size)
-	p.Measurements =  tSlice
-	for i := 0; i < size; i ++ {
-		var _elem29 string
-		if v, err := iprot.ReadString(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_elem29 = v
-		}
-		p.Measurements = append(p.Measurements, _elem29)
-	}
-	if err := iprot.ReadListEnd(ctx); err != nil {
-		return thrift.PrependError("error reading list end: ", err)
-	}
-	return nil
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([]string, 0, size)
+  p.Measurements =  tSlice
+  for i := 0; i < size; i ++ {
+var _elem37 string
+    if v, err := iprot.ReadString(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _elem37 = v
+}
+    p.Measurements = append(p.Measurements, _elem37)
+  }
+  if err := iprot.ReadListEnd(ctx); err != nil {
+    return thrift.PrependError("error reading list end: ", err)
+  }
+  return nil
 }
 
 func (p *TSInsertStringRecordReq)  ReadField4(ctx context.Context, iprot thrift.TProtocol) error {
-	_, size, err := iprot.ReadListBegin(ctx)
-	if err != nil {
-		return thrift.PrependError("error reading list begin: ", err)
-	}
-	tSlice := make([]string, 0, size)
-	p.Values =  tSlice
-	for i := 0; i < size; i ++ {
-		var _elem30 string
-		if v, err := iprot.ReadString(ctx); err != nil {
-			return thrift.PrependError("error reading field 0: ", err)
-		} else {
-			_elem30 = v
-		}
-		p.Values = append(p.Values, _elem30)
-	}
-	if err := iprot.ReadListEnd(ctx); err != nil {
-		return thrift.PrependError("error reading list end: ", err)
-	}
-	return nil
+  _, size, err := iprot.ReadListBegin(ctx)
+  if err != nil {
+    return thrift.PrependError("error reading list begin: ", err)
+  }
+  tSlice := make([]string, 0, size)
+  p.Values =  tSlice
+  for i := 0; i < size; i ++ {
+var _elem38 string
+    if v, err := iprot.ReadString(ctx); err != nil {
+    return thrift.PrependError("error reading field 0: ", err)
+} else {
+    _elem38 = v
+}
+    p.Values = append(p.Values, _elem38)
+  }
... 34825 lines suppressed ...


[iotdb-client-go] 02/02: [To rel/0.13] update 0.13.0 interfaces

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch 0.13.0interfaces
in repository https://gitbox.apache.org/repos/asf/iotdb-client-go.git

commit 7c7c3b3c33f42a8dbada877842e19e8897c4e544
Author: HTHou <hh...@outlook.com>
AuthorDate: Fri Jul 22 19:04:25 2022 +0800

    [To rel/0.13] update 0.13.0 interfaces
---
 rpc/t_s_i_service-remote/t_s_i_service-remote.go | 1359 ++++++++++++++++++++++
 1 file changed, 1359 insertions(+)

diff --git a/rpc/t_s_i_service-remote/t_s_i_service-remote.go b/rpc/t_s_i_service-remote/t_s_i_service-remote.go
new file mode 100755
index 0000000..4cba058
--- /dev/null
+++ b/rpc/t_s_i_service-remote/t_s_i_service-remote.go
@@ -0,0 +1,1359 @@
+// Code generated by Thrift Compiler (0.14.1). DO NOT EDIT.
+
+package main
+
+import (
+	"context"
+	"flag"
+	"fmt"
+	"math"
+	"net"
+	"net/url"
+	"os"
+	"strconv"
+	"strings"
+	"github.com/apache/thrift/lib/go/thrift"
+	"rpc"
+)
+
+var _ = rpc.GoUnusedProtection__
+
+func Usage() {
+  fmt.Fprintln(os.Stderr, "Usage of ", os.Args[0], " [-h host:port] [-u url] [-f[ramed]] function [arg1 [arg2...]]:")
+  flag.PrintDefaults()
+  fmt.Fprintln(os.Stderr, "\nFunctions:")
+  fmt.Fprintln(os.Stderr, "  TSOpenSessionResp openSession(TSOpenSessionReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus closeSession(TSCloseSessionReq req)")
+  fmt.Fprintln(os.Stderr, "  TSExecuteStatementResp executeStatement(TSExecuteStatementReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus executeBatchStatement(TSExecuteBatchStatementReq req)")
+  fmt.Fprintln(os.Stderr, "  TSExecuteStatementResp executeQueryStatement(TSExecuteStatementReq req)")
+  fmt.Fprintln(os.Stderr, "  TSExecuteStatementResp executeUpdateStatement(TSExecuteStatementReq req)")
+  fmt.Fprintln(os.Stderr, "  TSFetchResultsResp fetchResults(TSFetchResultsReq req)")
+  fmt.Fprintln(os.Stderr, "  TSFetchMetadataResp fetchMetadata(TSFetchMetadataReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus cancelOperation(TSCancelOperationReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus closeOperation(TSCloseOperationReq req)")
+  fmt.Fprintln(os.Stderr, "  TSGetTimeZoneResp getTimeZone(i64 sessionId)")
+  fmt.Fprintln(os.Stderr, "  TSStatus setTimeZone(TSSetTimeZoneReq req)")
+  fmt.Fprintln(os.Stderr, "  ServerProperties getProperties()")
+  fmt.Fprintln(os.Stderr, "  TSStatus setStorageGroup(i64 sessionId, string storageGroup)")
+  fmt.Fprintln(os.Stderr, "  TSStatus createTimeseries(TSCreateTimeseriesReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus createAlignedTimeseries(TSCreateAlignedTimeseriesReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus createMultiTimeseries(TSCreateMultiTimeseriesReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus deleteTimeseries(i64 sessionId,  path)")
+  fmt.Fprintln(os.Stderr, "  TSStatus deleteStorageGroups(i64 sessionId,  storageGroup)")
+  fmt.Fprintln(os.Stderr, "  TSStatus insertRecord(TSInsertRecordReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus insertStringRecord(TSInsertStringRecordReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus insertTablet(TSInsertTabletReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus insertTablets(TSInsertTabletsReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus insertRecords(TSInsertRecordsReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus insertRecordsOfOneDevice(TSInsertRecordsOfOneDeviceReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus insertStringRecordsOfOneDevice(TSInsertStringRecordsOfOneDeviceReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus insertStringRecords(TSInsertStringRecordsReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus testInsertTablet(TSInsertTabletReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus testInsertTablets(TSInsertTabletsReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus testInsertRecord(TSInsertRecordReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus testInsertStringRecord(TSInsertStringRecordReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus testInsertRecords(TSInsertRecordsReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus testInsertRecordsOfOneDevice(TSInsertRecordsOfOneDeviceReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus testInsertStringRecords(TSInsertStringRecordsReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus deleteData(TSDeleteDataReq req)")
+  fmt.Fprintln(os.Stderr, "  TSExecuteStatementResp executeRawDataQuery(TSRawDataQueryReq req)")
+  fmt.Fprintln(os.Stderr, "  TSExecuteStatementResp executeLastDataQuery(TSLastDataQueryReq req)")
+  fmt.Fprintln(os.Stderr, "  i64 requestStatementId(i64 sessionId)")
+  fmt.Fprintln(os.Stderr, "  TSStatus createSchemaTemplate(TSCreateSchemaTemplateReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus appendSchemaTemplate(TSAppendSchemaTemplateReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus pruneSchemaTemplate(TSPruneSchemaTemplateReq req)")
+  fmt.Fprintln(os.Stderr, "  TSQueryTemplateResp querySchemaTemplate(TSQueryTemplateReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus setSchemaTemplate(TSSetSchemaTemplateReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus unsetSchemaTemplate(TSUnsetSchemaTemplateReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus setUsingTemplate(TSSetUsingTemplateReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus unsetUsingTemplate(i64 sessionId, string templateName, string prefixPath)")
+  fmt.Fprintln(os.Stderr, "  TSStatus dropSchemaTemplate(TSDropSchemaTemplateReq req)")
+  fmt.Fprintln(os.Stderr, "  TSStatus executeOperationSync(TSOperationSyncWriteReq req)")
+  fmt.Fprintln(os.Stderr)
+  os.Exit(0)
+}
+
+type httpHeaders map[string]string
+
+func (h httpHeaders) String() string {
+  var m map[string]string = h
+  return fmt.Sprintf("%s", m)
+}
+
+func (h httpHeaders) Set(value string) error {
+  parts := strings.Split(value, ": ")
+  if len(parts) != 2 {
+    return fmt.Errorf("header should be of format 'Key: Value'")
+  }
+  h[parts[0]] = parts[1]
+  return nil
+}
+
+func main() {
+  flag.Usage = Usage
+  var host string
+  var port int
+  var protocol string
+  var urlString string
+  var framed bool
+  var useHttp bool
+  headers := make(httpHeaders)
+  var parsedUrl *url.URL
+  var trans thrift.TTransport
+  _ = strconv.Atoi
+  _ = math.Abs
+  flag.Usage = Usage
+  flag.StringVar(&host, "h", "localhost", "Specify host and port")
+  flag.IntVar(&port, "p", 9090, "Specify port")
+  flag.StringVar(&protocol, "P", "binary", "Specify the protocol (binary, compact, simplejson, json)")
+  flag.StringVar(&urlString, "u", "", "Specify the url")
+  flag.BoolVar(&framed, "framed", false, "Use framed transport")
+  flag.BoolVar(&useHttp, "http", false, "Use http")
+  flag.Var(headers, "H", "Headers to set on the http(s) request (e.g. -H \"Key: Value\")")
+  flag.Parse()
+  
+  if len(urlString) > 0 {
+    var err error
+    parsedUrl, err = url.Parse(urlString)
+    if err != nil {
+      fmt.Fprintln(os.Stderr, "Error parsing URL: ", err)
+      flag.Usage()
+    }
+    host = parsedUrl.Host
+    useHttp = len(parsedUrl.Scheme) <= 0 || parsedUrl.Scheme == "http" || parsedUrl.Scheme == "https"
+  } else if useHttp {
+    _, err := url.Parse(fmt.Sprint("http://", host, ":", port))
+    if err != nil {
+      fmt.Fprintln(os.Stderr, "Error parsing URL: ", err)
+      flag.Usage()
+    }
+  }
+  
+  cmd := flag.Arg(0)
+  var err error
+  if useHttp {
+    trans, err = thrift.NewTHttpClient(parsedUrl.String())
+    if len(headers) > 0 {
+      httptrans := trans.(*thrift.THttpClient)
+      for key, value := range headers {
+        httptrans.SetHeader(key, value)
+      }
+    }
+  } else {
+    portStr := fmt.Sprint(port)
+    if strings.Contains(host, ":") {
+           host, portStr, err = net.SplitHostPort(host)
+           if err != nil {
+                   fmt.Fprintln(os.Stderr, "error with host:", err)
+                   os.Exit(1)
+           }
+    }
+    trans, err = thrift.NewTSocket(net.JoinHostPort(host, portStr))
+    if err != nil {
+      fmt.Fprintln(os.Stderr, "error resolving address:", err)
+      os.Exit(1)
+    }
+    if framed {
+      trans = thrift.NewTFramedTransport(trans)
+    }
+  }
+  if err != nil {
+    fmt.Fprintln(os.Stderr, "Error creating transport", err)
+    os.Exit(1)
+  }
+  defer trans.Close()
+  var protocolFactory thrift.TProtocolFactory
+  switch protocol {
+  case "compact":
+    protocolFactory = thrift.NewTCompactProtocolFactory()
+    break
+  case "simplejson":
+    protocolFactory = thrift.NewTSimpleJSONProtocolFactory()
+    break
+  case "json":
+    protocolFactory = thrift.NewTJSONProtocolFactory()
+    break
+  case "binary", "":
+    protocolFactory = thrift.NewTBinaryProtocolFactoryDefault()
+    break
+  default:
+    fmt.Fprintln(os.Stderr, "Invalid protocol specified: ", protocol)
+    Usage()
+    os.Exit(1)
+  }
+  iprot := protocolFactory.GetProtocol(trans)
+  oprot := protocolFactory.GetProtocol(trans)
+  client := rpc.NewTSIServiceClient(thrift.NewTStandardClient(iprot, oprot))
+  if err := trans.Open(); err != nil {
+    fmt.Fprintln(os.Stderr, "Error opening socket to ", host, ":", port, " ", err)
+    os.Exit(1)
+  }
+  
+  switch cmd {
+  case "openSession":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "OpenSession requires 1 args")
+      flag.Usage()
+    }
+    arg311 := flag.Arg(1)
+    mbTrans312 := thrift.NewTMemoryBufferLen(len(arg311))
+    defer mbTrans312.Close()
+    _, err313 := mbTrans312.WriteString(arg311)
+    if err313 != nil {
+      Usage()
+      return
+    }
+    factory314 := thrift.NewTJSONProtocolFactory()
+    jsProt315 := factory314.GetProtocol(mbTrans312)
+    argvalue0 := rpc.NewTSOpenSessionReq()
+    err316 := argvalue0.Read(context.Background(), jsProt315)
+    if err316 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.OpenSession(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "closeSession":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "CloseSession requires 1 args")
+      flag.Usage()
+    }
+    arg317 := flag.Arg(1)
+    mbTrans318 := thrift.NewTMemoryBufferLen(len(arg317))
+    defer mbTrans318.Close()
+    _, err319 := mbTrans318.WriteString(arg317)
+    if err319 != nil {
+      Usage()
+      return
+    }
+    factory320 := thrift.NewTJSONProtocolFactory()
+    jsProt321 := factory320.GetProtocol(mbTrans318)
+    argvalue0 := rpc.NewTSCloseSessionReq()
+    err322 := argvalue0.Read(context.Background(), jsProt321)
+    if err322 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.CloseSession(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "executeStatement":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "ExecuteStatement requires 1 args")
+      flag.Usage()
+    }
+    arg323 := flag.Arg(1)
+    mbTrans324 := thrift.NewTMemoryBufferLen(len(arg323))
+    defer mbTrans324.Close()
+    _, err325 := mbTrans324.WriteString(arg323)
+    if err325 != nil {
+      Usage()
+      return
+    }
+    factory326 := thrift.NewTJSONProtocolFactory()
+    jsProt327 := factory326.GetProtocol(mbTrans324)
+    argvalue0 := rpc.NewTSExecuteStatementReq()
+    err328 := argvalue0.Read(context.Background(), jsProt327)
+    if err328 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.ExecuteStatement(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "executeBatchStatement":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "ExecuteBatchStatement requires 1 args")
+      flag.Usage()
+    }
+    arg329 := flag.Arg(1)
+    mbTrans330 := thrift.NewTMemoryBufferLen(len(arg329))
+    defer mbTrans330.Close()
+    _, err331 := mbTrans330.WriteString(arg329)
+    if err331 != nil {
+      Usage()
+      return
+    }
+    factory332 := thrift.NewTJSONProtocolFactory()
+    jsProt333 := factory332.GetProtocol(mbTrans330)
+    argvalue0 := rpc.NewTSExecuteBatchStatementReq()
+    err334 := argvalue0.Read(context.Background(), jsProt333)
+    if err334 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.ExecuteBatchStatement(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "executeQueryStatement":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "ExecuteQueryStatement requires 1 args")
+      flag.Usage()
+    }
+    arg335 := flag.Arg(1)
+    mbTrans336 := thrift.NewTMemoryBufferLen(len(arg335))
+    defer mbTrans336.Close()
+    _, err337 := mbTrans336.WriteString(arg335)
+    if err337 != nil {
+      Usage()
+      return
+    }
+    factory338 := thrift.NewTJSONProtocolFactory()
+    jsProt339 := factory338.GetProtocol(mbTrans336)
+    argvalue0 := rpc.NewTSExecuteStatementReq()
+    err340 := argvalue0.Read(context.Background(), jsProt339)
+    if err340 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.ExecuteQueryStatement(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "executeUpdateStatement":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "ExecuteUpdateStatement requires 1 args")
+      flag.Usage()
+    }
+    arg341 := flag.Arg(1)
+    mbTrans342 := thrift.NewTMemoryBufferLen(len(arg341))
+    defer mbTrans342.Close()
+    _, err343 := mbTrans342.WriteString(arg341)
+    if err343 != nil {
+      Usage()
+      return
+    }
+    factory344 := thrift.NewTJSONProtocolFactory()
+    jsProt345 := factory344.GetProtocol(mbTrans342)
+    argvalue0 := rpc.NewTSExecuteStatementReq()
+    err346 := argvalue0.Read(context.Background(), jsProt345)
+    if err346 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.ExecuteUpdateStatement(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "fetchResults":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "FetchResults requires 1 args")
+      flag.Usage()
+    }
+    arg347 := flag.Arg(1)
+    mbTrans348 := thrift.NewTMemoryBufferLen(len(arg347))
+    defer mbTrans348.Close()
+    _, err349 := mbTrans348.WriteString(arg347)
+    if err349 != nil {
+      Usage()
+      return
+    }
+    factory350 := thrift.NewTJSONProtocolFactory()
+    jsProt351 := factory350.GetProtocol(mbTrans348)
+    argvalue0 := rpc.NewTSFetchResultsReq()
+    err352 := argvalue0.Read(context.Background(), jsProt351)
+    if err352 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.FetchResults(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "fetchMetadata":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "FetchMetadata requires 1 args")
+      flag.Usage()
+    }
+    arg353 := flag.Arg(1)
+    mbTrans354 := thrift.NewTMemoryBufferLen(len(arg353))
+    defer mbTrans354.Close()
+    _, err355 := mbTrans354.WriteString(arg353)
+    if err355 != nil {
+      Usage()
+      return
+    }
+    factory356 := thrift.NewTJSONProtocolFactory()
+    jsProt357 := factory356.GetProtocol(mbTrans354)
+    argvalue0 := rpc.NewTSFetchMetadataReq()
+    err358 := argvalue0.Read(context.Background(), jsProt357)
+    if err358 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.FetchMetadata(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "cancelOperation":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "CancelOperation requires 1 args")
+      flag.Usage()
+    }
+    arg359 := flag.Arg(1)
+    mbTrans360 := thrift.NewTMemoryBufferLen(len(arg359))
+    defer mbTrans360.Close()
+    _, err361 := mbTrans360.WriteString(arg359)
+    if err361 != nil {
+      Usage()
+      return
+    }
+    factory362 := thrift.NewTJSONProtocolFactory()
+    jsProt363 := factory362.GetProtocol(mbTrans360)
+    argvalue0 := rpc.NewTSCancelOperationReq()
+    err364 := argvalue0.Read(context.Background(), jsProt363)
+    if err364 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.CancelOperation(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "closeOperation":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "CloseOperation requires 1 args")
+      flag.Usage()
+    }
+    arg365 := flag.Arg(1)
+    mbTrans366 := thrift.NewTMemoryBufferLen(len(arg365))
+    defer mbTrans366.Close()
+    _, err367 := mbTrans366.WriteString(arg365)
+    if err367 != nil {
+      Usage()
+      return
+    }
+    factory368 := thrift.NewTJSONProtocolFactory()
+    jsProt369 := factory368.GetProtocol(mbTrans366)
+    argvalue0 := rpc.NewTSCloseOperationReq()
+    err370 := argvalue0.Read(context.Background(), jsProt369)
+    if err370 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.CloseOperation(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "getTimeZone":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "GetTimeZone requires 1 args")
+      flag.Usage()
+    }
+    argvalue0, err371 := (strconv.ParseInt(flag.Arg(1), 10, 64))
+    if err371 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.GetTimeZone(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "setTimeZone":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "SetTimeZone requires 1 args")
+      flag.Usage()
+    }
+    arg372 := flag.Arg(1)
+    mbTrans373 := thrift.NewTMemoryBufferLen(len(arg372))
+    defer mbTrans373.Close()
+    _, err374 := mbTrans373.WriteString(arg372)
+    if err374 != nil {
+      Usage()
+      return
+    }
+    factory375 := thrift.NewTJSONProtocolFactory()
+    jsProt376 := factory375.GetProtocol(mbTrans373)
+    argvalue0 := rpc.NewTSSetTimeZoneReq()
+    err377 := argvalue0.Read(context.Background(), jsProt376)
+    if err377 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.SetTimeZone(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "getProperties":
+    if flag.NArg() - 1 != 0 {
+      fmt.Fprintln(os.Stderr, "GetProperties requires 0 args")
+      flag.Usage()
+    }
+    fmt.Print(client.GetProperties(context.Background()))
+    fmt.Print("\n")
+    break
+  case "setStorageGroup":
+    if flag.NArg() - 1 != 2 {
+      fmt.Fprintln(os.Stderr, "SetStorageGroup requires 2 args")
+      flag.Usage()
+    }
+    argvalue0, err378 := (strconv.ParseInt(flag.Arg(1), 10, 64))
+    if err378 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    argvalue1 := flag.Arg(2)
+    value1 := argvalue1
+    fmt.Print(client.SetStorageGroup(context.Background(), value0, value1))
+    fmt.Print("\n")
+    break
+  case "createTimeseries":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "CreateTimeseries requires 1 args")
+      flag.Usage()
+    }
+    arg380 := flag.Arg(1)
+    mbTrans381 := thrift.NewTMemoryBufferLen(len(arg380))
+    defer mbTrans381.Close()
+    _, err382 := mbTrans381.WriteString(arg380)
+    if err382 != nil {
+      Usage()
+      return
+    }
+    factory383 := thrift.NewTJSONProtocolFactory()
+    jsProt384 := factory383.GetProtocol(mbTrans381)
+    argvalue0 := rpc.NewTSCreateTimeseriesReq()
+    err385 := argvalue0.Read(context.Background(), jsProt384)
+    if err385 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.CreateTimeseries(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "createAlignedTimeseries":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "CreateAlignedTimeseries requires 1 args")
+      flag.Usage()
+    }
+    arg386 := flag.Arg(1)
+    mbTrans387 := thrift.NewTMemoryBufferLen(len(arg386))
+    defer mbTrans387.Close()
+    _, err388 := mbTrans387.WriteString(arg386)
+    if err388 != nil {
+      Usage()
+      return
+    }
+    factory389 := thrift.NewTJSONProtocolFactory()
+    jsProt390 := factory389.GetProtocol(mbTrans387)
+    argvalue0 := rpc.NewTSCreateAlignedTimeseriesReq()
+    err391 := argvalue0.Read(context.Background(), jsProt390)
+    if err391 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.CreateAlignedTimeseries(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "createMultiTimeseries":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "CreateMultiTimeseries requires 1 args")
+      flag.Usage()
+    }
+    arg392 := flag.Arg(1)
+    mbTrans393 := thrift.NewTMemoryBufferLen(len(arg392))
+    defer mbTrans393.Close()
+    _, err394 := mbTrans393.WriteString(arg392)
+    if err394 != nil {
+      Usage()
+      return
+    }
+    factory395 := thrift.NewTJSONProtocolFactory()
+    jsProt396 := factory395.GetProtocol(mbTrans393)
+    argvalue0 := rpc.NewTSCreateMultiTimeseriesReq()
+    err397 := argvalue0.Read(context.Background(), jsProt396)
+    if err397 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.CreateMultiTimeseries(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "deleteTimeseries":
+    if flag.NArg() - 1 != 2 {
+      fmt.Fprintln(os.Stderr, "DeleteTimeseries requires 2 args")
+      flag.Usage()
+    }
+    argvalue0, err398 := (strconv.ParseInt(flag.Arg(1), 10, 64))
+    if err398 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    arg399 := flag.Arg(2)
+    mbTrans400 := thrift.NewTMemoryBufferLen(len(arg399))
+    defer mbTrans400.Close()
+    _, err401 := mbTrans400.WriteString(arg399)
+    if err401 != nil { 
+      Usage()
+      return
+    }
+    factory402 := thrift.NewTJSONProtocolFactory()
+    jsProt403 := factory402.GetProtocol(mbTrans400)
+    containerStruct1 := rpc.NewTSIServiceDeleteTimeseriesArgs()
+    err404 := containerStruct1.ReadField2(context.Background(), jsProt403)
+    if err404 != nil {
+      Usage()
+      return
+    }
+    argvalue1 := containerStruct1.Path
+    value1 := argvalue1
+    fmt.Print(client.DeleteTimeseries(context.Background(), value0, value1))
+    fmt.Print("\n")
+    break
+  case "deleteStorageGroups":
+    if flag.NArg() - 1 != 2 {
+      fmt.Fprintln(os.Stderr, "DeleteStorageGroups requires 2 args")
+      flag.Usage()
+    }
+    argvalue0, err405 := (strconv.ParseInt(flag.Arg(1), 10, 64))
+    if err405 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    arg406 := flag.Arg(2)
+    mbTrans407 := thrift.NewTMemoryBufferLen(len(arg406))
+    defer mbTrans407.Close()
+    _, err408 := mbTrans407.WriteString(arg406)
+    if err408 != nil { 
+      Usage()
+      return
+    }
+    factory409 := thrift.NewTJSONProtocolFactory()
+    jsProt410 := factory409.GetProtocol(mbTrans407)
+    containerStruct1 := rpc.NewTSIServiceDeleteStorageGroupsArgs()
+    err411 := containerStruct1.ReadField2(context.Background(), jsProt410)
+    if err411 != nil {
+      Usage()
+      return
+    }
+    argvalue1 := containerStruct1.StorageGroup
+    value1 := argvalue1
+    fmt.Print(client.DeleteStorageGroups(context.Background(), value0, value1))
+    fmt.Print("\n")
+    break
+  case "insertRecord":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "InsertRecord requires 1 args")
+      flag.Usage()
+    }
+    arg412 := flag.Arg(1)
+    mbTrans413 := thrift.NewTMemoryBufferLen(len(arg412))
+    defer mbTrans413.Close()
+    _, err414 := mbTrans413.WriteString(arg412)
+    if err414 != nil {
+      Usage()
+      return
+    }
+    factory415 := thrift.NewTJSONProtocolFactory()
+    jsProt416 := factory415.GetProtocol(mbTrans413)
+    argvalue0 := rpc.NewTSInsertRecordReq()
+    err417 := argvalue0.Read(context.Background(), jsProt416)
+    if err417 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.InsertRecord(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "insertStringRecord":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "InsertStringRecord requires 1 args")
+      flag.Usage()
+    }
+    arg418 := flag.Arg(1)
+    mbTrans419 := thrift.NewTMemoryBufferLen(len(arg418))
+    defer mbTrans419.Close()
+    _, err420 := mbTrans419.WriteString(arg418)
+    if err420 != nil {
+      Usage()
+      return
+    }
+    factory421 := thrift.NewTJSONProtocolFactory()
+    jsProt422 := factory421.GetProtocol(mbTrans419)
+    argvalue0 := rpc.NewTSInsertStringRecordReq()
+    err423 := argvalue0.Read(context.Background(), jsProt422)
+    if err423 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.InsertStringRecord(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "insertTablet":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "InsertTablet requires 1 args")
+      flag.Usage()
+    }
+    arg424 := flag.Arg(1)
+    mbTrans425 := thrift.NewTMemoryBufferLen(len(arg424))
+    defer mbTrans425.Close()
+    _, err426 := mbTrans425.WriteString(arg424)
+    if err426 != nil {
+      Usage()
+      return
+    }
+    factory427 := thrift.NewTJSONProtocolFactory()
+    jsProt428 := factory427.GetProtocol(mbTrans425)
+    argvalue0 := rpc.NewTSInsertTabletReq()
+    err429 := argvalue0.Read(context.Background(), jsProt428)
+    if err429 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.InsertTablet(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "insertTablets":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "InsertTablets requires 1 args")
+      flag.Usage()
+    }
+    arg430 := flag.Arg(1)
+    mbTrans431 := thrift.NewTMemoryBufferLen(len(arg430))
+    defer mbTrans431.Close()
+    _, err432 := mbTrans431.WriteString(arg430)
+    if err432 != nil {
+      Usage()
+      return
+    }
+    factory433 := thrift.NewTJSONProtocolFactory()
+    jsProt434 := factory433.GetProtocol(mbTrans431)
+    argvalue0 := rpc.NewTSInsertTabletsReq()
+    err435 := argvalue0.Read(context.Background(), jsProt434)
+    if err435 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.InsertTablets(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "insertRecords":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "InsertRecords requires 1 args")
+      flag.Usage()
+    }
+    arg436 := flag.Arg(1)
+    mbTrans437 := thrift.NewTMemoryBufferLen(len(arg436))
+    defer mbTrans437.Close()
+    _, err438 := mbTrans437.WriteString(arg436)
+    if err438 != nil {
+      Usage()
+      return
+    }
+    factory439 := thrift.NewTJSONProtocolFactory()
+    jsProt440 := factory439.GetProtocol(mbTrans437)
+    argvalue0 := rpc.NewTSInsertRecordsReq()
+    err441 := argvalue0.Read(context.Background(), jsProt440)
+    if err441 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.InsertRecords(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "insertRecordsOfOneDevice":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "InsertRecordsOfOneDevice requires 1 args")
+      flag.Usage()
+    }
+    arg442 := flag.Arg(1)
+    mbTrans443 := thrift.NewTMemoryBufferLen(len(arg442))
+    defer mbTrans443.Close()
+    _, err444 := mbTrans443.WriteString(arg442)
+    if err444 != nil {
+      Usage()
+      return
+    }
+    factory445 := thrift.NewTJSONProtocolFactory()
+    jsProt446 := factory445.GetProtocol(mbTrans443)
+    argvalue0 := rpc.NewTSInsertRecordsOfOneDeviceReq()
+    err447 := argvalue0.Read(context.Background(), jsProt446)
+    if err447 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.InsertRecordsOfOneDevice(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "insertStringRecordsOfOneDevice":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "InsertStringRecordsOfOneDevice requires 1 args")
+      flag.Usage()
+    }
+    arg448 := flag.Arg(1)
+    mbTrans449 := thrift.NewTMemoryBufferLen(len(arg448))
+    defer mbTrans449.Close()
+    _, err450 := mbTrans449.WriteString(arg448)
+    if err450 != nil {
+      Usage()
+      return
+    }
+    factory451 := thrift.NewTJSONProtocolFactory()
+    jsProt452 := factory451.GetProtocol(mbTrans449)
+    argvalue0 := rpc.NewTSInsertStringRecordsOfOneDeviceReq()
+    err453 := argvalue0.Read(context.Background(), jsProt452)
+    if err453 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.InsertStringRecordsOfOneDevice(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "insertStringRecords":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "InsertStringRecords requires 1 args")
+      flag.Usage()
+    }
+    arg454 := flag.Arg(1)
+    mbTrans455 := thrift.NewTMemoryBufferLen(len(arg454))
+    defer mbTrans455.Close()
+    _, err456 := mbTrans455.WriteString(arg454)
+    if err456 != nil {
+      Usage()
+      return
+    }
+    factory457 := thrift.NewTJSONProtocolFactory()
+    jsProt458 := factory457.GetProtocol(mbTrans455)
+    argvalue0 := rpc.NewTSInsertStringRecordsReq()
+    err459 := argvalue0.Read(context.Background(), jsProt458)
+    if err459 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.InsertStringRecords(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "testInsertTablet":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "TestInsertTablet requires 1 args")
+      flag.Usage()
+    }
+    arg460 := flag.Arg(1)
+    mbTrans461 := thrift.NewTMemoryBufferLen(len(arg460))
+    defer mbTrans461.Close()
+    _, err462 := mbTrans461.WriteString(arg460)
+    if err462 != nil {
+      Usage()
+      return
+    }
+    factory463 := thrift.NewTJSONProtocolFactory()
+    jsProt464 := factory463.GetProtocol(mbTrans461)
+    argvalue0 := rpc.NewTSInsertTabletReq()
+    err465 := argvalue0.Read(context.Background(), jsProt464)
+    if err465 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.TestInsertTablet(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "testInsertTablets":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "TestInsertTablets requires 1 args")
+      flag.Usage()
+    }
+    arg466 := flag.Arg(1)
+    mbTrans467 := thrift.NewTMemoryBufferLen(len(arg466))
+    defer mbTrans467.Close()
+    _, err468 := mbTrans467.WriteString(arg466)
+    if err468 != nil {
+      Usage()
+      return
+    }
+    factory469 := thrift.NewTJSONProtocolFactory()
+    jsProt470 := factory469.GetProtocol(mbTrans467)
+    argvalue0 := rpc.NewTSInsertTabletsReq()
+    err471 := argvalue0.Read(context.Background(), jsProt470)
+    if err471 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.TestInsertTablets(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "testInsertRecord":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "TestInsertRecord requires 1 args")
+      flag.Usage()
+    }
+    arg472 := flag.Arg(1)
+    mbTrans473 := thrift.NewTMemoryBufferLen(len(arg472))
+    defer mbTrans473.Close()
+    _, err474 := mbTrans473.WriteString(arg472)
+    if err474 != nil {
+      Usage()
+      return
+    }
+    factory475 := thrift.NewTJSONProtocolFactory()
+    jsProt476 := factory475.GetProtocol(mbTrans473)
+    argvalue0 := rpc.NewTSInsertRecordReq()
+    err477 := argvalue0.Read(context.Background(), jsProt476)
+    if err477 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.TestInsertRecord(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "testInsertStringRecord":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "TestInsertStringRecord requires 1 args")
+      flag.Usage()
+    }
+    arg478 := flag.Arg(1)
+    mbTrans479 := thrift.NewTMemoryBufferLen(len(arg478))
+    defer mbTrans479.Close()
+    _, err480 := mbTrans479.WriteString(arg478)
+    if err480 != nil {
+      Usage()
+      return
+    }
+    factory481 := thrift.NewTJSONProtocolFactory()
+    jsProt482 := factory481.GetProtocol(mbTrans479)
+    argvalue0 := rpc.NewTSInsertStringRecordReq()
+    err483 := argvalue0.Read(context.Background(), jsProt482)
+    if err483 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.TestInsertStringRecord(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "testInsertRecords":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "TestInsertRecords requires 1 args")
+      flag.Usage()
+    }
+    arg484 := flag.Arg(1)
+    mbTrans485 := thrift.NewTMemoryBufferLen(len(arg484))
+    defer mbTrans485.Close()
+    _, err486 := mbTrans485.WriteString(arg484)
+    if err486 != nil {
+      Usage()
+      return
+    }
+    factory487 := thrift.NewTJSONProtocolFactory()
+    jsProt488 := factory487.GetProtocol(mbTrans485)
+    argvalue0 := rpc.NewTSInsertRecordsReq()
+    err489 := argvalue0.Read(context.Background(), jsProt488)
+    if err489 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.TestInsertRecords(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "testInsertRecordsOfOneDevice":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "TestInsertRecordsOfOneDevice requires 1 args")
+      flag.Usage()
+    }
+    arg490 := flag.Arg(1)
+    mbTrans491 := thrift.NewTMemoryBufferLen(len(arg490))
+    defer mbTrans491.Close()
+    _, err492 := mbTrans491.WriteString(arg490)
+    if err492 != nil {
+      Usage()
+      return
+    }
+    factory493 := thrift.NewTJSONProtocolFactory()
+    jsProt494 := factory493.GetProtocol(mbTrans491)
+    argvalue0 := rpc.NewTSInsertRecordsOfOneDeviceReq()
+    err495 := argvalue0.Read(context.Background(), jsProt494)
+    if err495 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.TestInsertRecordsOfOneDevice(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "testInsertStringRecords":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "TestInsertStringRecords requires 1 args")
+      flag.Usage()
+    }
+    arg496 := flag.Arg(1)
+    mbTrans497 := thrift.NewTMemoryBufferLen(len(arg496))
+    defer mbTrans497.Close()
+    _, err498 := mbTrans497.WriteString(arg496)
+    if err498 != nil {
+      Usage()
+      return
+    }
+    factory499 := thrift.NewTJSONProtocolFactory()
+    jsProt500 := factory499.GetProtocol(mbTrans497)
+    argvalue0 := rpc.NewTSInsertStringRecordsReq()
+    err501 := argvalue0.Read(context.Background(), jsProt500)
+    if err501 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.TestInsertStringRecords(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "deleteData":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "DeleteData requires 1 args")
+      flag.Usage()
+    }
+    arg502 := flag.Arg(1)
+    mbTrans503 := thrift.NewTMemoryBufferLen(len(arg502))
+    defer mbTrans503.Close()
+    _, err504 := mbTrans503.WriteString(arg502)
+    if err504 != nil {
+      Usage()
+      return
+    }
+    factory505 := thrift.NewTJSONProtocolFactory()
+    jsProt506 := factory505.GetProtocol(mbTrans503)
+    argvalue0 := rpc.NewTSDeleteDataReq()
+    err507 := argvalue0.Read(context.Background(), jsProt506)
+    if err507 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.DeleteData(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "executeRawDataQuery":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "ExecuteRawDataQuery requires 1 args")
+      flag.Usage()
+    }
+    arg508 := flag.Arg(1)
+    mbTrans509 := thrift.NewTMemoryBufferLen(len(arg508))
+    defer mbTrans509.Close()
+    _, err510 := mbTrans509.WriteString(arg508)
+    if err510 != nil {
+      Usage()
+      return
+    }
+    factory511 := thrift.NewTJSONProtocolFactory()
+    jsProt512 := factory511.GetProtocol(mbTrans509)
+    argvalue0 := rpc.NewTSRawDataQueryReq()
+    err513 := argvalue0.Read(context.Background(), jsProt512)
+    if err513 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.ExecuteRawDataQuery(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "executeLastDataQuery":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "ExecuteLastDataQuery requires 1 args")
+      flag.Usage()
+    }
+    arg514 := flag.Arg(1)
+    mbTrans515 := thrift.NewTMemoryBufferLen(len(arg514))
+    defer mbTrans515.Close()
+    _, err516 := mbTrans515.WriteString(arg514)
+    if err516 != nil {
+      Usage()
+      return
+    }
+    factory517 := thrift.NewTJSONProtocolFactory()
+    jsProt518 := factory517.GetProtocol(mbTrans515)
+    argvalue0 := rpc.NewTSLastDataQueryReq()
+    err519 := argvalue0.Read(context.Background(), jsProt518)
+    if err519 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.ExecuteLastDataQuery(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "requestStatementId":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "RequestStatementId requires 1 args")
+      flag.Usage()
+    }
+    argvalue0, err520 := (strconv.ParseInt(flag.Arg(1), 10, 64))
+    if err520 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.RequestStatementId(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "createSchemaTemplate":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "CreateSchemaTemplate requires 1 args")
+      flag.Usage()
+    }
+    arg521 := flag.Arg(1)
+    mbTrans522 := thrift.NewTMemoryBufferLen(len(arg521))
+    defer mbTrans522.Close()
+    _, err523 := mbTrans522.WriteString(arg521)
+    if err523 != nil {
+      Usage()
+      return
+    }
+    factory524 := thrift.NewTJSONProtocolFactory()
+    jsProt525 := factory524.GetProtocol(mbTrans522)
+    argvalue0 := rpc.NewTSCreateSchemaTemplateReq()
+    err526 := argvalue0.Read(context.Background(), jsProt525)
+    if err526 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.CreateSchemaTemplate(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "appendSchemaTemplate":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "AppendSchemaTemplate requires 1 args")
+      flag.Usage()
+    }
+    arg527 := flag.Arg(1)
+    mbTrans528 := thrift.NewTMemoryBufferLen(len(arg527))
+    defer mbTrans528.Close()
+    _, err529 := mbTrans528.WriteString(arg527)
+    if err529 != nil {
+      Usage()
+      return
+    }
+    factory530 := thrift.NewTJSONProtocolFactory()
+    jsProt531 := factory530.GetProtocol(mbTrans528)
+    argvalue0 := rpc.NewTSAppendSchemaTemplateReq()
+    err532 := argvalue0.Read(context.Background(), jsProt531)
+    if err532 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.AppendSchemaTemplate(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "pruneSchemaTemplate":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "PruneSchemaTemplate requires 1 args")
+      flag.Usage()
+    }
+    arg533 := flag.Arg(1)
+    mbTrans534 := thrift.NewTMemoryBufferLen(len(arg533))
+    defer mbTrans534.Close()
+    _, err535 := mbTrans534.WriteString(arg533)
+    if err535 != nil {
+      Usage()
+      return
+    }
+    factory536 := thrift.NewTJSONProtocolFactory()
+    jsProt537 := factory536.GetProtocol(mbTrans534)
+    argvalue0 := rpc.NewTSPruneSchemaTemplateReq()
+    err538 := argvalue0.Read(context.Background(), jsProt537)
+    if err538 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.PruneSchemaTemplate(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "querySchemaTemplate":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "QuerySchemaTemplate requires 1 args")
+      flag.Usage()
+    }
+    arg539 := flag.Arg(1)
+    mbTrans540 := thrift.NewTMemoryBufferLen(len(arg539))
+    defer mbTrans540.Close()
+    _, err541 := mbTrans540.WriteString(arg539)
+    if err541 != nil {
+      Usage()
+      return
+    }
+    factory542 := thrift.NewTJSONProtocolFactory()
+    jsProt543 := factory542.GetProtocol(mbTrans540)
+    argvalue0 := rpc.NewTSQueryTemplateReq()
+    err544 := argvalue0.Read(context.Background(), jsProt543)
+    if err544 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.QuerySchemaTemplate(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "setSchemaTemplate":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "SetSchemaTemplate requires 1 args")
+      flag.Usage()
+    }
+    arg545 := flag.Arg(1)
+    mbTrans546 := thrift.NewTMemoryBufferLen(len(arg545))
+    defer mbTrans546.Close()
+    _, err547 := mbTrans546.WriteString(arg545)
+    if err547 != nil {
+      Usage()
+      return
+    }
+    factory548 := thrift.NewTJSONProtocolFactory()
+    jsProt549 := factory548.GetProtocol(mbTrans546)
+    argvalue0 := rpc.NewTSSetSchemaTemplateReq()
+    err550 := argvalue0.Read(context.Background(), jsProt549)
+    if err550 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.SetSchemaTemplate(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "unsetSchemaTemplate":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "UnsetSchemaTemplate requires 1 args")
+      flag.Usage()
+    }
+    arg551 := flag.Arg(1)
+    mbTrans552 := thrift.NewTMemoryBufferLen(len(arg551))
+    defer mbTrans552.Close()
+    _, err553 := mbTrans552.WriteString(arg551)
+    if err553 != nil {
+      Usage()
+      return
+    }
+    factory554 := thrift.NewTJSONProtocolFactory()
+    jsProt555 := factory554.GetProtocol(mbTrans552)
+    argvalue0 := rpc.NewTSUnsetSchemaTemplateReq()
+    err556 := argvalue0.Read(context.Background(), jsProt555)
+    if err556 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.UnsetSchemaTemplate(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "setUsingTemplate":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "SetUsingTemplate requires 1 args")
+      flag.Usage()
+    }
+    arg557 := flag.Arg(1)
+    mbTrans558 := thrift.NewTMemoryBufferLen(len(arg557))
+    defer mbTrans558.Close()
+    _, err559 := mbTrans558.WriteString(arg557)
+    if err559 != nil {
+      Usage()
+      return
+    }
+    factory560 := thrift.NewTJSONProtocolFactory()
+    jsProt561 := factory560.GetProtocol(mbTrans558)
+    argvalue0 := rpc.NewTSSetUsingTemplateReq()
+    err562 := argvalue0.Read(context.Background(), jsProt561)
+    if err562 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.SetUsingTemplate(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "unsetUsingTemplate":
+    if flag.NArg() - 1 != 3 {
+      fmt.Fprintln(os.Stderr, "UnsetUsingTemplate requires 3 args")
+      flag.Usage()
+    }
+    argvalue0, err563 := (strconv.ParseInt(flag.Arg(1), 10, 64))
+    if err563 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    argvalue1 := flag.Arg(2)
+    value1 := argvalue1
+    argvalue2 := flag.Arg(3)
+    value2 := argvalue2
+    fmt.Print(client.UnsetUsingTemplate(context.Background(), value0, value1, value2))
+    fmt.Print("\n")
+    break
+  case "dropSchemaTemplate":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "DropSchemaTemplate requires 1 args")
+      flag.Usage()
+    }
+    arg566 := flag.Arg(1)
+    mbTrans567 := thrift.NewTMemoryBufferLen(len(arg566))
+    defer mbTrans567.Close()
+    _, err568 := mbTrans567.WriteString(arg566)
+    if err568 != nil {
+      Usage()
+      return
+    }
+    factory569 := thrift.NewTJSONProtocolFactory()
+    jsProt570 := factory569.GetProtocol(mbTrans567)
+    argvalue0 := rpc.NewTSDropSchemaTemplateReq()
+    err571 := argvalue0.Read(context.Background(), jsProt570)
+    if err571 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.DropSchemaTemplate(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "executeOperationSync":
+    if flag.NArg() - 1 != 1 {
+      fmt.Fprintln(os.Stderr, "ExecuteOperationSync requires 1 args")
+      flag.Usage()
+    }
+    arg572 := flag.Arg(1)
+    mbTrans573 := thrift.NewTMemoryBufferLen(len(arg572))
+    defer mbTrans573.Close()
+    _, err574 := mbTrans573.WriteString(arg572)
+    if err574 != nil {
+      Usage()
+      return
+    }
+    factory575 := thrift.NewTJSONProtocolFactory()
+    jsProt576 := factory575.GetProtocol(mbTrans573)
+    argvalue0 := rpc.NewTSOperationSyncWriteReq()
+    err577 := argvalue0.Read(context.Background(), jsProt576)
+    if err577 != nil {
+      Usage()
+      return
+    }
+    value0 := argvalue0
+    fmt.Print(client.ExecuteOperationSync(context.Background(), value0))
+    fmt.Print("\n")
+    break
+  case "":
+    Usage()
+    break
+  default:
+    fmt.Fprintln(os.Stderr, "Invalid function ", cmd)
+  }
+}