9 from thrift.Thrift
import TType, TMessageType, TFrozenDict, TException, TApplicationException
10 from thrift.protocol.TProtocol
import TProtocolException
11 from thrift.TRecursive
import fix_spec
16 from thrift.transport
import TTransport
21 GroupByPerfectHash = 0
22 GroupByBaselineHash = 1
24 NonGroupedAggregate = 3
27 0:
"GroupByPerfectHash",
28 1:
"GroupByBaselineHash",
30 3:
"NonGroupedAggregate",
34 "GroupByPerfectHash": 0,
35 "GroupByBaselineHash": 1,
37 "NonGroupedAggregate": 3,
65 APPROX_COUNT_DISTINCT = 5
77 5:
"APPROX_COUNT_DISTINCT",
90 "APPROX_COUNT_DISTINCT": 5,
112 if iprot._fast_decode
is not None and isinstance(iprot.trans, TTransport.CReadableTransport)
and self.thrift_spec
is not None:
113 iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
115 iprot.readStructBegin()
117 (fname, ftype, fid) = iprot.readFieldBegin()
118 if ftype == TType.STOP:
121 if ftype == TType.I16:
122 self.
padded = iprot.readI16()
126 if ftype == TType.I16:
133 iprot.readStructEnd()
136 if oprot._fast_encode
is not None and self.thrift_spec
is not None:
137 oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
139 oprot.writeStructBegin(
'TSlotSize')
140 if self.
padded is not None:
141 oprot.writeFieldBegin(
'padded', TType.I16, 1)
142 oprot.writeI16(self.
padded)
143 oprot.writeFieldEnd()
145 oprot.writeFieldBegin(
'logical', TType.I16, 2)
147 oprot.writeFieldEnd()
148 oprot.writeFieldStop()
149 oprot.writeStructEnd()
155 L = [
'%s=%r' % (key, value)
156 for key, value
in self.__dict__.items()]
157 return '%s(%s)' % (self.__class__.__name__,
', '.
join(L))
160 return isinstance(other, self.__class__)
and self.
__dict__ == other.__dict__
163 return not (self == other)
175 def __init__(self, slot_sizes=None, col_to_slot_map=None,):
180 if iprot._fast_decode
is not None and isinstance(iprot.trans, TTransport.CReadableTransport)
and self.thrift_spec
is not None:
181 iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
183 iprot.readStructBegin()
185 (fname, ftype, fid) = iprot.readFieldBegin()
186 if ftype == TType.STOP:
189 if ftype == TType.LIST:
191 (_etype3, _size0) = iprot.readListBegin()
192 for _i4
in range(_size0):
195 self.slot_sizes.append(_elem5)
200 if ftype == TType.LIST:
202 (_etype9, _size6) = iprot.readListBegin()
203 for _i10
in range(_size6):
205 (_etype15, _size12) = iprot.readListBegin()
206 for _i16
in range(_size12):
207 _elem17 = iprot.readI32()
208 _elem11.append(_elem17)
210 self.col_to_slot_map.append(_elem11)
217 iprot.readStructEnd()
220 if oprot._fast_encode
is not None and self.thrift_spec
is not None:
221 oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
223 oprot.writeStructBegin(
'TColSlotContext')
225 oprot.writeFieldBegin(
'slot_sizes', TType.LIST, 1)
226 oprot.writeListBegin(TType.STRUCT, len(self.
slot_sizes))
230 oprot.writeFieldEnd()
232 oprot.writeFieldBegin(
'col_to_slot_map', TType.LIST, 2)
235 oprot.writeListBegin(TType.I32, len(iter19))
236 for iter20
in iter19:
237 oprot.writeI32(iter20)
240 oprot.writeFieldEnd()
241 oprot.writeFieldStop()
242 oprot.writeStructEnd()
248 L = [
'%s=%r' % (key, value)
249 for key, value
in self.__dict__.items()]
250 return '%s(%s)' % (self.__class__.__name__,
', '.
join(L))
253 return isinstance(other, self.__class__)
and self.
__dict__ == other.__dict__
256 return not (self == other)
272 def __init__(self, impl_type=None, min_val=None, bitmap_sz_bits=None, approximate=None, device_type=None, sub_bitmap_count=None,):
281 if iprot._fast_decode
is not None and isinstance(iprot.trans, TTransport.CReadableTransport)
and self.thrift_spec
is not None:
282 iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
284 iprot.readStructBegin()
286 (fname, ftype, fid) = iprot.readFieldBegin()
287 if ftype == TType.STOP:
290 if ftype == TType.I32:
295 if ftype == TType.I64:
300 if ftype == TType.I64:
305 if ftype == TType.BOOL:
310 if ftype == TType.I32:
315 if ftype == TType.I64:
322 iprot.readStructEnd()
325 if oprot._fast_encode
is not None and self.thrift_spec
is not None:
326 oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
328 oprot.writeStructBegin(
'TCountDistinctDescriptor')
330 oprot.writeFieldBegin(
'impl_type', TType.I32, 1)
332 oprot.writeFieldEnd()
334 oprot.writeFieldBegin(
'min_val', TType.I64, 2)
336 oprot.writeFieldEnd()
338 oprot.writeFieldBegin(
'bitmap_sz_bits', TType.I64, 3)
340 oprot.writeFieldEnd()
342 oprot.writeFieldBegin(
'approximate', TType.BOOL, 4)
344 oprot.writeFieldEnd()
346 oprot.writeFieldBegin(
'device_type', TType.I32, 5)
348 oprot.writeFieldEnd()
350 oprot.writeFieldBegin(
'sub_bitmap_count', TType.I64, 6)
352 oprot.writeFieldEnd()
353 oprot.writeFieldStop()
354 oprot.writeStructEnd()
360 L = [
'%s=%r' % (key, value)
361 for key, value
in self.__dict__.items()]
362 return '%s(%s)' % (self.__class__.__name__,
', '.
join(L))
365 return isinstance(other, self.__class__)
and self.
__dict__ == other.__dict__
368 return not (self == other)
384 - target_groupby_indices
385 - count_distinct_descriptors
391 def __init__(self, layout=None, keyless=None, entry_count=None, idx_target_as_key=None, min_val=None, max_val=None, bucket=None, group_col_widths=None, key_bytewidth=None, col_slot_context=None, target_groupby_indices=None, count_distinct_descriptors=None, force_4byte_float=None,):
407 if iprot._fast_decode
is not None and isinstance(iprot.trans, TTransport.CReadableTransport)
and self.thrift_spec
is not None:
408 iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
410 iprot.readStructBegin()
412 (fname, ftype, fid) = iprot.readFieldBegin()
413 if ftype == TType.STOP:
416 if ftype == TType.I32:
417 self.
layout = iprot.readI32()
421 if ftype == TType.BOOL:
422 self.
keyless = iprot.readBool()
426 if ftype == TType.I32:
431 if ftype == TType.I32:
436 if ftype == TType.I64:
441 if ftype == TType.I64:
446 if ftype == TType.I64:
447 self.
bucket = iprot.readI64()
451 if ftype == TType.LIST:
453 (_etype24, _size21) = iprot.readListBegin()
454 for _i25
in range(_size21):
455 _elem26 = iprot.readI16()
456 self.group_col_widths.append(_elem26)
461 if ftype == TType.I16:
466 if ftype == TType.STRUCT:
468 self.col_slot_context.read(iprot)
472 if ftype == TType.LIST:
474 (_etype30, _size27) = iprot.readListBegin()
475 for _i31
in range(_size27):
476 _elem32 = iprot.readI32()
477 self.target_groupby_indices.append(_elem32)
482 if ftype == TType.LIST:
484 (_etype36, _size33) = iprot.readListBegin()
485 for _i37
in range(_size33):
488 self.count_distinct_descriptors.append(_elem38)
493 if ftype == TType.BOOL:
500 iprot.readStructEnd()
503 if oprot._fast_encode
is not None and self.thrift_spec
is not None:
504 oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
506 oprot.writeStructBegin(
'TResultSetBufferDescriptor')
507 if self.
layout is not None:
508 oprot.writeFieldBegin(
'layout', TType.I32, 1)
509 oprot.writeI32(self.
layout)
510 oprot.writeFieldEnd()
512 oprot.writeFieldBegin(
'keyless', TType.BOOL, 2)
514 oprot.writeFieldEnd()
516 oprot.writeFieldBegin(
'entry_count', TType.I32, 3)
518 oprot.writeFieldEnd()
520 oprot.writeFieldBegin(
'idx_target_as_key', TType.I32, 4)
522 oprot.writeFieldEnd()
524 oprot.writeFieldBegin(
'min_val', TType.I64, 5)
526 oprot.writeFieldEnd()
528 oprot.writeFieldBegin(
'max_val', TType.I64, 6)
530 oprot.writeFieldEnd()
531 if self.
bucket is not None:
532 oprot.writeFieldBegin(
'bucket', TType.I64, 7)
533 oprot.writeI64(self.
bucket)
534 oprot.writeFieldEnd()
536 oprot.writeFieldBegin(
'group_col_widths', TType.LIST, 8)
539 oprot.writeI16(iter39)
541 oprot.writeFieldEnd()
543 oprot.writeFieldBegin(
'key_bytewidth', TType.I16, 9)
545 oprot.writeFieldEnd()
547 oprot.writeFieldBegin(
'col_slot_context', TType.STRUCT, 10)
548 self.col_slot_context.write(oprot)
549 oprot.writeFieldEnd()
551 oprot.writeFieldBegin(
'target_groupby_indices', TType.LIST, 11)
554 oprot.writeI32(iter40)
556 oprot.writeFieldEnd()
558 oprot.writeFieldBegin(
'count_distinct_descriptors', TType.LIST, 12)
563 oprot.writeFieldEnd()
565 oprot.writeFieldBegin(
'force_4byte_float', TType.BOOL, 13)
567 oprot.writeFieldEnd()
568 oprot.writeFieldStop()
569 oprot.writeStructEnd()
575 L = [
'%s=%r' % (key, value)
576 for key, value
in self.__dict__.items()]
577 return '%s(%s)' % (self.__class__.__name__,
', '.
join(L))
580 return isinstance(other, self.__class__)
and self.
__dict__ == other.__dict__
583 return not (self == other)
599 def __init__(self, is_agg=None, kind=None, type=None, arg_type=None, skip_nulls=None, is_distinct=None,):
608 if iprot._fast_decode
is not None and isinstance(iprot.trans, TTransport.CReadableTransport)
and self.thrift_spec
is not None:
609 iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
611 iprot.readStructBegin()
613 (fname, ftype, fid) = iprot.readFieldBegin()
614 if ftype == TType.STOP:
617 if ftype == TType.BOOL:
618 self.
is_agg = iprot.readBool()
622 if ftype == TType.I32:
623 self.
kind = iprot.readI32()
627 if ftype == TType.STRUCT:
629 self.type.read(iprot)
633 if ftype == TType.STRUCT:
635 self.arg_type.read(iprot)
639 if ftype == TType.BOOL:
644 if ftype == TType.BOOL:
651 iprot.readStructEnd()
654 if oprot._fast_encode
is not None and self.thrift_spec
is not None:
655 oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
657 oprot.writeStructBegin(
'TTargetInfo')
658 if self.
is_agg is not None:
659 oprot.writeFieldBegin(
'is_agg', TType.BOOL, 1)
660 oprot.writeBool(self.
is_agg)
661 oprot.writeFieldEnd()
662 if self.
kind is not None:
663 oprot.writeFieldBegin(
'kind', TType.I32, 2)
664 oprot.writeI32(self.
kind)
665 oprot.writeFieldEnd()
666 if self.
type is not None:
667 oprot.writeFieldBegin(
'type', TType.STRUCT, 3)
668 self.type.write(oprot)
669 oprot.writeFieldEnd()
671 oprot.writeFieldBegin(
'arg_type', TType.STRUCT, 4)
672 self.arg_type.write(oprot)
673 oprot.writeFieldEnd()
675 oprot.writeFieldBegin(
'skip_nulls', TType.BOOL, 5)
677 oprot.writeFieldEnd()
679 oprot.writeFieldBegin(
'is_distinct', TType.BOOL, 6)
681 oprot.writeFieldEnd()
682 oprot.writeFieldStop()
683 oprot.writeStructEnd()
689 L = [
'%s=%r' % (key, value)
690 for key, value
in self.__dict__.items()]
691 return '%s(%s)' % (self.__class__.__name__,
', '.
join(L))
694 return isinstance(other, self.__class__)
and self.
__dict__ == other.__dict__
697 return not (self == other)
714 if iprot._fast_decode
is not None and isinstance(iprot.trans, TTransport.CReadableTransport)
and self.thrift_spec
is not None:
715 iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
717 iprot.readStructBegin()
719 (fname, ftype, fid) = iprot.readFieldBegin()
720 if ftype == TType.STOP:
723 if ftype == TType.STRING:
724 self.
bitmap = iprot.readBinary()
728 if ftype == TType.SET:
730 (_etype45, _size42) = iprot.readSetBegin()
731 for _i46
in range(_size42):
732 _elem47 = iprot.readI64()
733 self.sparse_set.add(_elem47)
740 iprot.readStructEnd()
743 if oprot._fast_encode
is not None and self.thrift_spec
is not None:
744 oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
746 oprot.writeStructBegin(
'TCountDistinctSetStorage')
747 if self.
bitmap is not None:
748 oprot.writeFieldBegin(
'bitmap', TType.STRING, 1)
749 oprot.writeBinary(self.
bitmap)
750 oprot.writeFieldEnd()
752 oprot.writeFieldBegin(
'sparse_set', TType.SET, 2)
753 oprot.writeSetBegin(TType.I64, len(self.
sparse_set))
755 oprot.writeI64(iter48)
757 oprot.writeFieldEnd()
758 oprot.writeFieldStop()
759 oprot.writeStructEnd()
765 L = [
'%s=%r' % (key, value)
766 for key, value
in self.__dict__.items()]
767 return '%s(%s)' % (self.__class__.__name__,
', '.
join(L))
770 return isinstance(other, self.__class__)
and self.
__dict__ == other.__dict__
773 return not (self == other)
786 def __init__(self, type=None, storage=None, remote_ptr=None,):
792 if iprot._fast_decode
is not None and isinstance(iprot.trans, TTransport.CReadableTransport)
and self.thrift_spec
is not None:
793 iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
795 iprot.readStructBegin()
797 (fname, ftype, fid) = iprot.readFieldBegin()
798 if ftype == TType.STOP:
801 if ftype == TType.I32:
802 self.
type = iprot.readI32()
806 if ftype == TType.STRUCT:
808 self.storage.read(iprot)
812 if ftype == TType.I64:
819 iprot.readStructEnd()
822 if oprot._fast_encode
is not None and self.thrift_spec
is not None:
823 oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
825 oprot.writeStructBegin(
'TCountDistinctSet')
826 if self.
type is not None:
827 oprot.writeFieldBegin(
'type', TType.I32, 1)
828 oprot.writeI32(self.
type)
829 oprot.writeFieldEnd()
831 oprot.writeFieldBegin(
'storage', TType.STRUCT, 2)
832 self.storage.write(oprot)
833 oprot.writeFieldEnd()
835 oprot.writeFieldBegin(
'remote_ptr', TType.I64, 3)
837 oprot.writeFieldEnd()
838 oprot.writeFieldStop()
839 oprot.writeStructEnd()
845 L = [
'%s=%r' % (key, value)
846 for key, value
in self.__dict__.items()]
847 return '%s(%s)' % (self.__class__.__name__,
', '.
join(L))
850 return isinstance(other, self.__class__)
and self.
__dict__ == other.__dict__
853 return not (self == other)
862 - total_compression_time_ms
867 - count_distinct_sets
873 def __init__(self, buffers=None, buffer_lengths=None, buffers_total_size=None, total_compression_time_ms=None, descriptor=None, targets=None, target_init_vals=None, varlen_buffer=None, count_distinct_sets=None, explanation=None,):
886 if iprot._fast_decode
is not None and isinstance(iprot.trans, TTransport.CReadableTransport)
and self.thrift_spec
is not None:
887 iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
889 iprot.readStructBegin()
891 (fname, ftype, fid) = iprot.readFieldBegin()
892 if ftype == TType.STOP:
895 if ftype == TType.LIST:
897 (_etype52, _size49) = iprot.readListBegin()
898 for _i53
in range(_size49):
899 _elem54 = iprot.readBinary()
900 self.buffers.append(_elem54)
905 if ftype == TType.LIST:
907 (_etype58, _size55) = iprot.readListBegin()
908 for _i59
in range(_size55):
909 _elem60 = iprot.readI64()
910 self.buffer_lengths.append(_elem60)
915 if ftype == TType.I64:
920 if ftype == TType.I32:
925 if ftype == TType.STRUCT:
927 self.descriptor.read(iprot)
931 if ftype == TType.LIST:
933 (_etype64, _size61) = iprot.readListBegin()
934 for _i65
in range(_size61):
937 self.targets.append(_elem66)
942 if ftype == TType.LIST:
944 (_etype70, _size67) = iprot.readListBegin()
945 for _i71
in range(_size67):
946 _elem72 = iprot.readI64()
947 self.target_init_vals.append(_elem72)
952 if ftype == TType.LIST:
954 (_etype76, _size73) = iprot.readListBegin()
955 for _i77
in range(_size73):
956 _elem78 = iprot.readBinary()
957 self.varlen_buffer.append(_elem78)
962 if ftype == TType.LIST:
964 (_etype82, _size79) = iprot.readListBegin()
965 for _i83
in range(_size79):
968 self.count_distinct_sets.append(_elem84)
973 if ftype == TType.STRING:
974 self.
explanation = iprot.readString().decode(
'utf-8', errors=
'replace')
if sys.version_info[0] == 2
else iprot.readString()
980 iprot.readStructEnd()
983 if oprot._fast_encode
is not None and self.thrift_spec
is not None:
984 oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
986 oprot.writeStructBegin(
'TSerializedRows')
988 oprot.writeFieldBegin(
'buffers', TType.LIST, 1)
989 oprot.writeListBegin(TType.STRING, len(self.
buffers))
991 oprot.writeBinary(iter85)
993 oprot.writeFieldEnd()
995 oprot.writeFieldBegin(
'buffer_lengths', TType.LIST, 2)
998 oprot.writeI64(iter86)
1000 oprot.writeFieldEnd()
1002 oprot.writeFieldBegin(
'buffers_total_size', TType.I64, 3)
1004 oprot.writeFieldEnd()
1006 oprot.writeFieldBegin(
'total_compression_time_ms', TType.I32, 4)
1008 oprot.writeFieldEnd()
1010 oprot.writeFieldBegin(
'descriptor', TType.STRUCT, 5)
1011 self.descriptor.write(oprot)
1012 oprot.writeFieldEnd()
1014 oprot.writeFieldBegin(
'targets', TType.LIST, 6)
1015 oprot.writeListBegin(TType.STRUCT, len(self.
targets))
1018 oprot.writeListEnd()
1019 oprot.writeFieldEnd()
1021 oprot.writeFieldBegin(
'target_init_vals', TType.LIST, 7)
1024 oprot.writeI64(iter88)
1025 oprot.writeListEnd()
1026 oprot.writeFieldEnd()
1028 oprot.writeFieldBegin(
'varlen_buffer', TType.LIST, 8)
1031 oprot.writeBinary(iter89)
1032 oprot.writeListEnd()
1033 oprot.writeFieldEnd()
1035 oprot.writeFieldBegin(
'count_distinct_sets', TType.LIST, 9)
1039 oprot.writeListEnd()
1040 oprot.writeFieldEnd()
1042 oprot.writeFieldBegin(
'explanation', TType.STRING, 10)
1043 oprot.writeString(self.explanation.encode(
'utf-8')
if sys.version_info[0] == 2
else self.
explanation)
1044 oprot.writeFieldEnd()
1045 oprot.writeFieldStop()
1046 oprot.writeStructEnd()
1052 L = [
'%s=%r' % (key, value)
1053 for key, value
in self.__dict__.items()]
1054 return '%s(%s)' % (self.__class__.__name__,
', '.
join(L))
1057 return isinstance(other, self.__class__)
and self.
__dict__ == other.__dict__
1060 return not (self == other)
1061 all_structs.append(TSlotSize)
1062 TSlotSize.thrift_spec = (
1064 (1, TType.I16,
'padded',
None,
None, ),
1065 (2, TType.I16,
'logical',
None,
None, ),
1067 all_structs.append(TColSlotContext)
1068 TColSlotContext.thrift_spec = (
1070 (1, TType.LIST,
'slot_sizes', (TType.STRUCT, [TSlotSize,
None],
False),
None, ),
1071 (2, TType.LIST,
'col_to_slot_map', (TType.LIST, (TType.I32,
None,
False),
False),
None, ),
1073 all_structs.append(TCountDistinctDescriptor)
1074 TCountDistinctDescriptor.thrift_spec = (
1076 (1, TType.I32,
'impl_type',
None,
None, ),
1077 (2, TType.I64,
'min_val',
None,
None, ),
1078 (3, TType.I64,
'bitmap_sz_bits',
None,
None, ),
1079 (4, TType.BOOL,
'approximate',
None,
None, ),
1080 (5, TType.I32,
'device_type',
None,
None, ),
1081 (6, TType.I64,
'sub_bitmap_count',
None,
None, ),
1083 all_structs.append(TResultSetBufferDescriptor)
1084 TResultSetBufferDescriptor.thrift_spec = (
1086 (1, TType.I32,
'layout',
None,
None, ),
1087 (2, TType.BOOL,
'keyless',
None,
None, ),
1088 (3, TType.I32,
'entry_count',
None,
None, ),
1089 (4, TType.I32,
'idx_target_as_key',
None,
None, ),
1090 (5, TType.I64,
'min_val',
None,
None, ),
1091 (6, TType.I64,
'max_val',
None,
None, ),
1092 (7, TType.I64,
'bucket',
None,
None, ),
1093 (8, TType.LIST,
'group_col_widths', (TType.I16,
None,
False),
None, ),
1094 (9, TType.I16,
'key_bytewidth',
None,
None, ),
1095 (10, TType.STRUCT,
'col_slot_context', [TColSlotContext,
None],
None, ),
1096 (11, TType.LIST,
'target_groupby_indices', (TType.I32,
None,
False),
None, ),
1097 (12, TType.LIST,
'count_distinct_descriptors', (TType.STRUCT, [TCountDistinctDescriptor,
None],
False),
None, ),
1098 (13, TType.BOOL,
'force_4byte_float',
None,
None, ),
1100 all_structs.append(TTargetInfo)
1101 TTargetInfo.thrift_spec = (
1103 (1, TType.BOOL,
'is_agg',
None,
None, ),
1104 (2, TType.I32,
'kind',
None,
None, ),
1107 (5, TType.BOOL,
'skip_nulls',
None,
None, ),
1108 (6, TType.BOOL,
'is_distinct',
None,
None, ),
1110 all_structs.append(TCountDistinctSetStorage)
1111 TCountDistinctSetStorage.thrift_spec = (
1113 (1, TType.STRING,
'bitmap',
'BINARY',
None, ),
1114 (2, TType.SET,
'sparse_set', (TType.I64,
None,
False),
None, ),
1116 all_structs.append(TCountDistinctSet)
1117 TCountDistinctSet.thrift_spec = (
1119 (1, TType.I32,
'type',
None,
None, ),
1120 (2, TType.STRUCT,
'storage', [TCountDistinctSetStorage,
None],
None, ),
1121 (3, TType.I64,
'remote_ptr',
None,
None, ),
1123 all_structs.append(TSerializedRows)
1124 TSerializedRows.thrift_spec = (
1126 (1, TType.LIST,
'buffers', (TType.STRING,
'BINARY',
False),
None, ),
1127 (2, TType.LIST,
'buffer_lengths', (TType.I64,
None,
False),
None, ),
1128 (3, TType.I64,
'buffers_total_size',
None,
None, ),
1129 (4, TType.I32,
'total_compression_time_ms',
None,
None, ),
1130 (5, TType.STRUCT,
'descriptor', [TResultSetBufferDescriptor,
None],
None, ),
1131 (6, TType.LIST,
'targets', (TType.STRUCT, [TTargetInfo,
None],
False),
None, ),
1132 (7, TType.LIST,
'target_init_vals', (TType.I64,
None,
False),
None, ),
1133 (8, TType.LIST,
'varlen_buffer', (TType.STRING,
'BINARY',
False),
None, ),
1134 (9, TType.LIST,
'count_distinct_sets', (TType.STRUCT, [TCountDistinctSet,
None],
False),
None, ),
1135 (10, TType.STRING,
'explanation',
'UTF8',
None, ),
1137 fix_spec(all_structs)
count_distinct_descriptors
total_compression_time_ms