Skip to content

Commit 2defbc2

Browse files
committed
Revert "Add UnsafeAppendBoolToBitmap() to dict and REE builders"
This reverts commit 5bdd53f.
1 parent 76e3ace commit 2defbc2

2 files changed

Lines changed: 0 additions & 15 deletions

File tree

arrow/array/dictionary.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -623,12 +623,6 @@ func (b *dictionaryBuilder) Release() {
623623
}
624624
}
625625

626-
func (b *dictionaryBuilder) UnsafeAppendBoolToBitmap(v bool) {
627-
b.length += 1
628-
b.nulls += 1
629-
b.idxBuilder.UnsafeAppendBoolToBitmap(v)
630-
}
631-
632626
func (b *dictionaryBuilder) AppendNull() {
633627
b.length += 1
634628
b.nulls += 1

arrow/array/encoded.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -386,15 +386,6 @@ func (b *RunEndEncodedBuilder) ContinueRun(n uint64) {
386386
b.addLength(n)
387387
}
388388

389-
func (b *RunEndEncodedBuilder) UnsafeAppendBoolToBitmap(v bool) {
390-
if !v {
391-
b.finishRun()
392-
}
393-
394-
b.values.UnsafeAppendBoolToBitmap(v)
395-
b.addLength(1)
396-
}
397-
398389
func (b *RunEndEncodedBuilder) AppendNull() {
399390
b.finishRun()
400391
b.values.AppendNull()

0 commit comments

Comments
 (0)