| 2062 | } |
| 2063 | |
| 2064 | func (p *TSExecuteStatementResp) writeField10(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 2065 | if p.IsSetSgColumns() { |
| 2066 | if err := oprot.WriteFieldBegin(ctx, "sgColumns", thrift.LIST, 10); err != nil { |
| 2067 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 10:sgColumns: ", p), err) } |
| 2068 | if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.SgColumns)); err != nil { |
| 2069 | return thrift.PrependError("error writing list begin: ", err) |
| 2070 | } |
| 2071 | for _, v := range p.SgColumns { |
| 2072 | if err := oprot.WriteString(ctx, string(v)); err != nil { |
| 2073 | return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) } |
| 2074 | } |
| 2075 | if err := oprot.WriteListEnd(ctx); err != nil { |
| 2076 | return thrift.PrependError("error writing list end: ", err) |
| 2077 | } |
| 2078 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 2079 | return thrift.PrependError(fmt.Sprintf("%T write field end error 10:sgColumns: ", p), err) } |
| 2080 | } |
| 2081 | return err |
| 2082 | } |
| 2083 | |
| 2084 | func (p *TSExecuteStatementResp) writeField11(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 2085 | if p.IsSetAliasColumns() { |