fix(storage/reads): reserve data for the tags column when building a table (#13691)

pull/13703/head
Jonathan A. Sternberg 2019-04-29 14:28:25 -05:00 committed by GitHub
parent 7855147241
commit 96a76aad1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}