fix(storage/reads): reserve data for the tags column when building a table (#13691)
parent
7855147241
commit
96a76aad1d
|
@ -127,6 +127,7 @@ func (t *table) appendTags() {
|
|||
if v != nil {
|
||||
b := arrow.NewStringBuilder(t.alloc)
|
||||
b.Reserve(t.l)
|
||||
b.ReserveData(t.l * len(v))
|
||||
for i := 0; i < t.l; i++ {
|
||||
b.Append(v)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue