This is an automated email from the ASF dual-hosted git repository.
zeroshade pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-go.git
The following commit(s) were added to refs/heads/main by this push:
new aaba0d7bd perf(table): keep dictionary entry results across batches
(#2445)
aaba0d7bd is described below
commit aaba0d7bd2df5c1cd71341515e40734328f20d9c
Author: Harrison Crosse <[email protected]>
AuthorDate: Mon Nov 23 12:41:09 2026 -0500
perf(table): keep dictionary entry results across batches (#2445)
* perf(table): match single-column equality deletes per dictionary entry
When a single string or binary equality key column arrives as a dictionary
no larger than the batch, match each dictionary entry once and map rows
through their indices instead of encoding a key per row.
Signed-off-by: Harrison Crosse <[email protected]>
* perf(table): keep dictionary entry results across batches
When a single string or binary equality key column arrives as a dictionary
larger than the batch, look up each referenced entry at most once and keep the
results for later batches of the file that carry the same dictionary object.
arrow-go's Parquet reader reuses the dictionary object across the batches of a
row group while the dictionary is unchanged (apache/arrow-go#1444). Reusing
results by identity relies on Arrow arrays being immutable.
Signed-off-by: Harrison Crosse <[email protected]>
* refactor(table): try the entry bitmap before the dictionary memo
The entry bitmap already declines dictionaries larger than the batch, so
the dictionary size threshold now lives in one place.
Signed-off-by: Harrison Crosse <[email protected]>
* test(table): run the dictionary memo tests for every string and binary
type
Build each dictionary with the Arrow builder for its value type so the four
memo arms and the int64 offsets run against the expected rows.
Signed-off-by: Harrison Crosse <[email protected]>
* fix(table): check dictionary value type before resetting equality delete
memo
Avoid allocating or clearing the dictionary entry memo when an unsupported
dictionary value type falls back to the generic path.
Signed-off-by: Harrison Crosse <[email protected]>
---------
Signed-off-by: Harrison Crosse <[email protected]>
---
table/equality_delete_bytes_fastpath_test.go | 358 +++++++++++++++++++++++++++
table/equality_delete_reader.go | 107 ++++++++
2 files changed, 465 insertions(+)
diff --git a/table/equality_delete_bytes_fastpath_test.go
b/table/equality_delete_bytes_fastpath_test.go
index bbd2e2929..c39a93d71 100644
--- a/table/equality_delete_bytes_fastpath_test.go
+++ b/table/equality_delete_bytes_fastpath_test.go
@@ -267,6 +267,268 @@ func TestProcessEqualityDeletesSingleBytesDictionary(t
*testing.T) {
}
}
+func TestProcessEqualityDeletesSingleBytesDictionaryAcrossBatches(t
*testing.T) {
+ const apple, null = "\x01\x00\x00\x00\x05apple", "\x00"
+ type batch struct {
+ dictionary string
+ indices string
+ offset int
+ wantIDs []int64
+ }
+ tests := []struct {
+ name string
+ dictionaries map[string]string
+ // dictionaryOffset slices this many leading values off every
dictionary.
+ dictionaryOffset int
+ sets [][]string
+ batches []batch
+ }{
+ {
+ name: "different_dictionary_same_length",
+ dictionaries: map[string]string{"a": `["apple", "bob",
"cherry"]`, "b": `["bob", "apple", "cherry"]`},
+ sets: [][]string{{apple}},
+ batches: []batch{
+ {dictionary: "a", indices: "[0, 1]", wantIDs:
[]int64{2}},
+ {dictionary: "b", indices: "[0, 1]", wantIDs:
[]int64{1}},
+ },
+ },
+ {
+ name: "shorter_dictionary",
+ dictionaries: map[string]string{"a": `["apple", "bob",
"cherry", "date"]`, "b": `["bob", "cherry", "apple"]`},
+ sets: [][]string{{apple}},
+ batches: []batch{
+ {dictionary: "a", indices: "[0, 1]", wantIDs:
[]int64{2}},
+ {dictionary: "b", indices: "[0, 2]", wantIDs:
[]int64{1}},
+ },
+ },
+ {
+ name: "null_index_and_null_entry_with_null_key",
+ dictionaries: map[string]string{"a": `["apple", null,
"cherry", "date", "egg"]`},
+ sets: [][]string{{null}},
+ batches: []batch{{dictionary: "a", indices: "[0,
null, 1, 2]", wantIDs: []int64{1, 4}}},
+ },
+ {
+ name:
"null_index_and_null_entry_without_null_key",
+ dictionaries: map[string]string{"a": `["apple", null,
"cherry", "date", "egg"]`},
+ sets: [][]string{{apple}},
+ batches: []batch{{dictionary: "a", indices: "[0,
null, 1, 2]", wantIDs: []int64{2, 3, 4}}},
+ },
+ {
+ name: "sliced_over_shared_dictionary",
+ dictionaries: map[string]string{"a": `["apple", "bob",
"cherry", "date", "egg"]`},
+ sets: [][]string{{apple}},
+ batches: []batch{
+ {dictionary: "a", indices: "[1, 2, 0, 0, 3,
1]", offset: 3, wantIDs: []int64{5, 6}},
+ {dictionary: "a", indices: "[4, 0, 2]", offset:
1, wantIDs: []int64{3}},
+ },
+ },
+ {
+ name: "sliced_dictionary_values",
+ dictionaries: map[string]string{"a": `["zzz",
"apple", "bob", "cherry", "date"]`},
+ dictionaryOffset: 1,
+ sets: [][]string{{apple}},
+ batches: []batch{{dictionary: "a", indices:
"[0, 1]", wantIDs: []int64{2}}},
+ },
+ {
+ // The second set's row 1 is already deleted by the
first set, so
+ // the second set never looks up apple.
+ name: "delete_sets_share_dictionary",
+ dictionaries: map[string]string{"a": `["apple", "bob",
"cherry", "date"]`},
+ sets: [][]string{{apple},
{"\x01\x00\x00\x00\x03bob"}},
+ batches: []batch{
+ {dictionary: "a", indices: "[0, 1]", wantIDs:
nil},
+ {dictionary: "a", indices: "[1, 0, 2]",
wantIDs: []int64{3}},
+ },
+ },
+ {
+ // The second batch is long enough for the per-batch
entry bitmap,
+ // so the third batch must not reuse results from the
first.
+ name: "entry_bitmap_between_batches",
+ dictionaries: map[string]string{"a": `["apple", "bob",
"cherry"]`, "b": `["cherry", "bob", "apple"]`},
+ sets: [][]string{{apple}},
+ batches: []batch{
+ {dictionary: "a", indices: "[0, 1]", wantIDs:
[]int64{2}},
+ {dictionary: "b", indices: "[0, 1, 2, 0]",
wantIDs: []int64{1, 2, 4}},
+ {dictionary: "b", indices: "[0, 2]", wantIDs:
[]int64{1}},
+ },
+ },
+ }
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ for _, shape := range []struct {
+ valueType arrow.DataType
+ iceType iceberg.Type
+ }{
+ {arrow.BinaryTypes.String,
iceberg.PrimitiveTypes.String},
+ {arrow.BinaryTypes.LargeString,
iceberg.PrimitiveTypes.String},
+ {arrow.BinaryTypes.Binary,
iceberg.PrimitiveTypes.Binary},
+ {arrow.BinaryTypes.LargeBinary,
iceberg.PrimitiveTypes.Binary},
+ } {
+ t.Run(shape.valueType.String(), func(t
*testing.T) {
+ mem :=
memory.NewCheckedAllocator(memory.DefaultAllocator)
+ defer mem.AssertSize(t, 0)
+ ctx :=
compute.WithAllocator(t.Context(), mem)
+
+ dictionaries :=
make(map[string]arrow.Array, len(tt.dictionaries))
+ for name, values := range
tt.dictionaries {
+ parsed, _, err :=
array.FromJSON(mem, arrow.BinaryTypes.String, strings.NewReader(values))
+ require.NoError(t, err)
+ valueBuilder :=
array.NewBuilder(mem, shape.valueType)
+ for i := range parsed.Len() {
+
appendEqualityBytesTestValue(t, valueBuilder, parsed.ValueStr(i),
!parsed.IsNull(i))
+ }
+ full := valueBuilder.NewArray()
+ valueBuilder.Release()
+ parsed.Release()
+ dictionary :=
array.NewSlice(full, int64(tt.dictionaryOffset), int64(full.Len()))
+ full.Release()
+ defer dictionary.Release()
+ dictionaries[name] = dictionary
+ }
+ deleteSets :=
make([]*equalityDeleteSet, len(tt.sets))
+ for i, setKeys := range tt.sets {
+ keys := make(set[string],
len(setKeys))
+ for _, key := range setKeys {
+ keys[key] = struct{}{}
+ }
+ deleteSets[i] =
&equalityDeleteSet{keys: keys, fieldIDs: []int{2}, colNames: []string{"value"}}
+ }
+ fileSchema := iceberg.NewSchema(0,
+ iceberg.NestedField{ID: 1,
Name: "id", Type: iceberg.PrimitiveTypes.Int64, Required: true},
+ iceberg.NestedField{ID: 2,
Name: "value", Type: shape.iceType},
+ )
+ process, err :=
processEqualityDeletesColumnarForFile(ctx, deleteSets, fileSchema,
"data.parquet")
+ require.NoError(t, err)
+
+ dictType :=
&arrow.DictionaryType{IndexType: arrow.PrimitiveTypes.Int16, ValueType:
shape.valueType}
+ schema := arrow.NewSchema([]arrow.Field{
+ {Name: "id", Type:
arrow.PrimitiveTypes.Int64},
+ {Name: "value", Type: dictType,
Nullable: true},
+ }, nil)
+ for i, b := range tt.batches {
+ indices, _, err :=
array.FromJSON(mem, arrow.PrimitiveTypes.Int16, strings.NewReader(b.indices))
+ require.NoError(t, err)
+ values :=
array.NewDictionaryArray(dictType, indices, dictionaries[b.dictionary])
+ indices.Release()
+ idBuilder :=
array.NewInt64Builder(mem)
+ for id := range values.Len() {
+
idBuilder.Append(int64(id + 1))
+ }
+ ids := idBuilder.NewArray()
+ idBuilder.Release()
+ full :=
array.NewRecordBatch(schema, []arrow.Array{ids, values}, int64(values.Len()))
+ ids.Release()
+ values.Release()
+ record :=
full.NewSlice(int64(b.offset), full.NumRows())
+ full.Release()
+
+ got, err := process(record)
+ require.NoError(t, err)
+ assert.Equal(t, b.wantIDs,
got.Column(0).(*array.Int64).Int64Values(), "batch %d", i)
+ got.Release()
+ }
+ })
+ }
+ })
+ }
+}
+
+func TestDictionaryEntryMemoKeepsResultsForSameDictionary(t *testing.T) {
+ for _, valueType := range []arrow.DataType{
+ arrow.BinaryTypes.String,
+ arrow.BinaryTypes.LargeString,
+ arrow.BinaryTypes.Binary,
+ arrow.BinaryTypes.LargeBinary,
+ } {
+ t.Run(valueType.String(), func(t *testing.T) {
+ mem :=
memory.NewCheckedAllocator(memory.DefaultAllocator)
+ defer mem.AssertSize(t, 0)
+
+ deleteSet := &singleBytesEqualityDeleteSet{keys:
set[string]{"apple": {}}}
+ dictType := &arrow.DictionaryType{IndexType:
arrow.PrimitiveTypes.Int16, ValueType: valueType}
+ valueBuilder := array.NewBuilder(mem, valueType)
+ appendEqualityBytesTestValue(t, valueBuilder, "apple",
true)
+ appendEqualityBytesTestValue(t, valueBuilder, "bob",
true)
+ appendEqualityBytesTestValue(t, valueBuilder, "cherry",
true)
+ dictionary := valueBuilder.NewArray()
+ valueBuilder.Release()
+ defer dictionary.Release()
+
+ var memo dictionaryEntryMemo
+ apply := func(indices string) {
+ t.Helper()
+ idx, _, err := array.FromJSON(mem,
arrow.PrimitiveTypes.Int16, strings.NewReader(indices))
+ require.NoError(t, err)
+ column := array.NewDictionaryArray(dictType,
idx, dictionary)
+ idx.Release()
+ defer column.Release()
+ var mask equalityDeleteMask
+ defer mask.release()
+ require.True(t, memo.apply(&mask, column,
deleteSet, mem))
+ }
+
+ apply("[0]")
+ assert.Equal(t, []uint8{dictionaryEntryDeleted,
dictionaryEntryUnknown, dictionaryEntryUnknown}, memo.results)
+ apply("[1]")
+ assert.Equal(t, []uint8{dictionaryEntryDeleted,
dictionaryEntryKept, dictionaryEntryUnknown}, memo.results)
+ })
+ }
+}
+
+func TestDictionaryEntryMemoSkipsUnsupportedDictionaryValue(t *testing.T) {
+ mem := memory.NewCheckedAllocator(memory.DefaultAllocator)
+ defer mem.AssertSize(t, 0)
+
+ deleteSet := &singleBytesEqualityDeleteSet{keys: set[string]{"apple":
{}}}
+ fixedBuilder := array.NewFixedSizeBinaryBuilder(mem,
&arrow.FixedSizeBinaryType{ByteWidth: 4})
+ fixedBuilder.Append([]byte("abcd"))
+ fixedBuilder.Append([]byte("efgh"))
+ fixedDictionary := fixedBuilder.NewArray()
+ fixedBuilder.Release()
+ defer fixedDictionary.Release()
+ fixedIdx, _, err := array.FromJSON(mem, arrow.PrimitiveTypes.Int16,
strings.NewReader("[0, 1]"))
+ require.NoError(t, err)
+ defer fixedIdx.Release()
+ fixedColumn := array.NewDictionaryArray(
+ &arrow.DictionaryType{IndexType: arrow.PrimitiveTypes.Int16,
ValueType: fixedDictionary.DataType()},
+ fixedIdx, fixedDictionary)
+ defer fixedColumn.Release()
+
+ var mask equalityDeleteMask
+ defer mask.release()
+
+ var unsupported dictionaryEntryMemo
+ assert.False(t, unsupported.apply(&mask, fixedColumn, deleteSet, mem))
+ assert.Nil(t, unsupported.dict)
+ assert.Empty(t, unsupported.results)
+ assert.Zero(t, cap(unsupported.results))
+
+ var memo dictionaryEntryMemo
+ stringBuilder := array.NewStringBuilder(mem)
+ stringBuilder.Append("apple")
+ stringBuilder.Append("bob")
+ stringBuilder.Append("cherry")
+ stringDictionary := stringBuilder.NewArray()
+ stringBuilder.Release()
+ defer stringDictionary.Release()
+ stringIdx, _, err := array.FromJSON(mem, arrow.PrimitiveTypes.Int16,
strings.NewReader("[0, 1]"))
+ require.NoError(t, err)
+ defer stringIdx.Release()
+ stringColumn := array.NewDictionaryArray(
+ &arrow.DictionaryType{IndexType: arrow.PrimitiveTypes.Int16,
ValueType: stringDictionary.DataType()},
+ stringIdx, stringDictionary)
+ defer stringColumn.Release()
+ require.True(t, memo.apply(&mask, stringColumn, deleteSet, mem))
+
+ cachedDict, cachedResults := memo.dict, memo.results
+ require.Len(t, cachedResults, 3)
+
+ assert.False(t, memo.apply(&mask, fixedColumn, deleteSet, mem))
+ assert.Equal(t, cachedDict, memo.dict)
+ assert.Equal(t, cachedResults, memo.results)
+ assert.Same(t, &cachedResults[0], &memo.results[0])
+}
+
func buildBenchDeleteSetSingleString(numDeletes int, noMatch bool)
*equalityDeleteSet {
keys := make(set[string], numDeletes)
var buf bytes.Buffer
@@ -351,3 +613,99 @@ func buildBenchRecordStringDictionary(mem
memory.Allocator, numRows int) arrow.R
func BenchmarkProcessEqualityDeletesSingleStringDictionary(b *testing.B) {
benchSingleStringEqualityDeletes(b, buildBenchRecordStringDictionary)
}
+
+// buildBenchStringDictionaryBatches gives every batch the same dictionary
+// object when shared is true, as Arrow's Parquet reader does for an unchanged
+// dictionary. Otherwise each batch gets its own copy of the same values.
+func buildBenchStringDictionaryBatches(mem memory.Allocator, numEntries,
numRows, numBatches int, shared bool) []arrow.RecordBatch {
+ newDictionary := func() arrow.Array {
+ bldr := array.NewStringBuilder(mem)
+ defer bldr.Release()
+ for entry := range numEntries {
+ bldr.Append(fmt.Sprintf("user-%08d", entry))
+ }
+
+ return bldr.NewArray()
+ }
+ dictType := &arrow.DictionaryType{IndexType:
arrow.PrimitiveTypes.Int32, ValueType: arrow.BinaryTypes.String}
+ schema := arrow.NewSchema([]arrow.Field{
+ {Name: "id", Type: arrow.PrimitiveTypes.Int64},
+ {Name: "name", Type: dictType},
+ }, nil)
+ var sharedDictionary arrow.Array
+ if shared {
+ sharedDictionary = newDictionary()
+ defer sharedDictionary.Release()
+ }
+
+ batches := make([]arrow.RecordBatch, numBatches)
+ for i := range batches {
+ idBldr := array.NewInt64Builder(mem)
+ indexBldr := array.NewInt32Builder(mem)
+ for row := range numRows {
+ idBldr.Append(int64(i*numRows + row))
+ indexBldr.Append(int32((row*7919 + i*numRows) %
numEntries))
+ }
+ ids, indices := idBldr.NewArray(), indexBldr.NewArray()
+ idBldr.Release()
+ indexBldr.Release()
+ dictionary := sharedDictionary
+ if !shared {
+ dictionary = newDictionary()
+ }
+ names := array.NewDictionaryArray(dictType, indices, dictionary)
+ if !shared {
+ dictionary.Release()
+ }
+ batches[i] = array.NewRecordBatch(schema, []arrow.Array{ids,
names}, int64(numRows))
+ ids.Release()
+ indices.Release()
+ names.Release()
+ }
+
+ return batches
+}
+
+// BenchmarkProcessEqualityDeletesSingleStringDictionaryBatches filters one
+// file's row group per op, with a dictionary larger than each batch.
+func BenchmarkProcessEqualityDeletesSingleStringDictionaryBatches(b
*testing.B) {
+ const numEntries, numBatches = 200_000, 8
+ for _, shared := range []bool{false, true} {
+ dictionaries := "fresh_dictionaries"
+ if shared {
+ dictionaries = "shared_dictionary"
+ }
+ for _, numRows := range []int{8192, 131_072} {
+ for _, numDeletes := range []int{10, 10_000} {
+ b.Run(fmt.Sprintf("%s/rows=%d/deletes=%d",
dictionaries, numRows, numDeletes), func(b *testing.B) {
+ mem := memory.NewGoAllocator()
+ ctx :=
compute.WithAllocator(b.Context(), mem)
+ batches :=
buildBenchStringDictionaryBatches(mem, numEntries, numRows, numBatches, shared)
+ defer func() {
+ for _, batch := range batches {
+ batch.Release()
+ }
+ }()
+ deleteSet :=
buildBenchDeleteSetSingleString(numDeletes, false)
+
+ b.ReportAllocs()
+ for b.Loop() {
+ process, err :=
processEqualityDeletesColumnarForFile(ctx,
+
[]*equalityDeleteSet{deleteSet}, benchStringFileSchema(), "bench.parquet")
+ if err != nil {
+ b.Fatal(err)
+ }
+ for _, batch := range batches {
+ batch.Retain()
+ got, err :=
process(batch)
+ if err != nil {
+ b.Fatal(err)
+ }
+ got.Release()
+ }
+ }
+ })
+ }
+ }
+ }
+}
diff --git a/table/equality_delete_reader.go b/table/equality_delete_reader.go
index 465a3b3fc..bfd3545c6 100644
--- a/table/equality_delete_reader.go
+++ b/table/equality_delete_reader.go
@@ -1949,6 +1949,103 @@ func (m *equalityDeleteMask) applySingleBytesDictionary(
return true
}
+const (
+ dictionaryEntryUnknown uint8 = iota
+ dictionaryEntryKept
+ dictionaryEntryDeleted
+)
+
+// dictionaryEntryMemo caches one delete set's results across a file's
+// batches while they share a dictionary object. Batches must be filtered one
+// at a time. Holding the dictionary without Retain still prevents its address
+// from being reused, and on a match the current batch keeps it alive. Reuse
+// relies on Arrow arrays being immutable.
+type dictionaryEntryMemo struct {
+ dict arrow.ArrayData
+ results []uint8
+}
+
+// apply looks up each dictionary entry that a row references at most once
+// per dictionary. It returns false, leaving m unchanged, for value types other
+// than string and binary.
+func (c *dictionaryEntryMemo) apply(
+ m *equalityDeleteMask,
+ column *array.Dictionary,
+ deleteSet *singleBytesEqualityDeleteSet,
+ mem memory.Allocator,
+) bool {
+ switch d := column.Dictionary().(type) {
+ case *array.String:
+ applyDictionaryEntryResults(m, column, d, d.ValueOffsets(),
d.ValueBytes(), deleteSet, mem, c.resultsFor(column))
+ case *array.LargeString:
+ applyDictionaryEntryResults(m, column, d, d.ValueOffsets(),
d.ValueBytes(), deleteSet, mem, c.resultsFor(column))
+ case *array.Binary:
+ applyDictionaryEntryResults(m, column, d, d.ValueOffsets(),
d.ValueBytes(), deleteSet, mem, c.resultsFor(column))
+ case *array.LargeBinary:
+ applyDictionaryEntryResults(m, column, d, d.ValueOffsets(),
d.ValueBytes(), deleteSet, mem, c.resultsFor(column))
+ default:
+ return false
+ }
+
+ return true
+}
+
+// resultsFor returns zeroed per-entry results sized to column's dictionary,
+// reusing them while they belong to the same dictionary data.
+func (c *dictionaryEntryMemo) resultsFor(column *array.Dictionary) []uint8 {
+ if data := column.Data().Dictionary(); c.dict != data {
+ c.dict = data
+ n := column.Dictionary().Len()
+ c.results = slices.Grow(c.results[:0], n)[:n]
+ clear(c.results)
+ }
+
+ return c.results
+}
+
+func applyDictionaryEntryResults[Offset ~int32 | ~int64](
+ m *equalityDeleteMask,
+ column *array.Dictionary,
+ dict arrow.Array,
+ offsets []Offset,
+ data []byte,
+ deleteSet *singleBytesEqualityDeleteSet,
+ mem memory.Allocator,
+ results []uint8,
+) {
+ numRows := column.Len()
+ baseOffset := offsets[0]
+ for row := range numRows {
+ if m.bits != nil && !bitutil.BitIsSet(m.bits, row) {
+ continue
+ }
+ if column.IsNull(row) {
+ if !deleteSet.hasNull {
+ continue
+ }
+ } else {
+ entry := column.GetValueIndex(row)
+ result := results[entry]
+ if result == dictionaryEntryUnknown {
+ result = dictionaryEntryKept
+ if dict.IsNull(entry) {
+ if deleteSet.hasNull {
+ result = dictionaryEntryDeleted
+ }
+ } else if _, deleted :=
deleteSet.keys[string(data[offsets[entry]-baseOffset:offsets[entry+1]-baseOffset])];
deleted {
+ result = dictionaryEntryDeleted
+ }
+ results[entry] = result
+ }
+ if result != dictionaryEntryDeleted {
+ continue
+ }
+ }
+ m.ensure(mem, numRows)
+ bitutil.ClearBit(m.bits, row)
+ }
+}
+
// applySingleInt32 returns false for other physical Arrow types, so callers
// can preserve the generic key encoder for schema evolution.
func (m *equalityDeleteMask) applySingleInt32(
@@ -2047,6 +2144,8 @@ func processEqualityDeletesColumnarForFile(ctx
context.Context, eqDeleteSets []*
}
}
+ var dictMemos []dictionaryEntryMemo
+
return func(r arrow.RecordBatch) (arrow.RecordBatch, error) {
defer r.Release()
@@ -2078,6 +2177,14 @@ func processEqualityDeletesColumnarForFile(ctx
context.Context, eqDeleteSets []*
if bytesSet != nil &&
mask.applySingleBytes(column, bytesSet, mem) {
continue
}
+ if dictColumn, ok :=
column.(*array.Dictionary); ok && bytesSet != nil {
+ if dictMemos == nil {
+ dictMemos =
make([]dictionaryEntryMemo, len(eqDeleteSets))
+ }
+ if dictMemos[setIdx].apply(&mask,
dictColumn, bytesSet, mem) {
+ continue
+ }
+ }
}
encoders, release, err :=
makeArrowFieldEncodersWithTypes(