Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions arrow/array/dictionary.go
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,10 @@ func (b *dictionaryBuilder) AppendEmptyValues(n int) {
}
}

func (b *dictionaryBuilder) UnsafeAppendBoolToBitmap(v bool) {
panic("Calling UnsafeAppendBoolToBitmap on dictionaryBuilder would leave it in inconsistent state. Use AppendIndices instead.")
}

func (b *dictionaryBuilder) Reserve(n int) {
b.idxBuilder.Reserve(n)
}
Expand Down
4 changes: 4 additions & 0 deletions arrow/array/encoded.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,10 @@ func (b *RunEndEncodedBuilder) AppendNulls(n int) {
}
}

func (b *RunEndEncodedBuilder) UnsafeAppendBoolToBitmap(v bool) {
panic("Calling UnsafeAppendBoolToBitmap on a run-end encoded array is semantically undefined.")
}

func (b *RunEndEncodedBuilder) NullN() int {
return UnknownNullCount
}
Expand Down