Skip to content

Commit

Permalink
Update vector/view.go
Browse files Browse the repository at this point in the history
Co-authored-by: Noah Treuhaft <noah.treuhaft@gmail.com>
  • Loading branch information
mattnibs and nwt authored Oct 1, 2024
1 parent cd2fc31 commit 47929ee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions vector/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ func nullsView(nulls *Bool, index []uint32) *Bool {
if nulls == nil {
return nil
}
out := NewBoolEmpty(uint32(len(index)), nil)
var out *vector.Bool

Check failure on line 49 in vector/view.go

View workflow job for this annotation

GitHub Actions / output-check

undefined: vector

Check failure on line 49 in vector/view.go

View workflow job for this annotation

GitHub Actions / test-windows

undefined: vector

Check failure on line 49 in vector/view.go

View workflow job for this annotation

GitHub Actions / test

undefined: vector
for k, slot := range index {
if nulls.Value(slot) {
if out == nil {
out = NewBoolEmpty(uint32(len(index)), nil)
}
out.Set(uint32(k))
}
}
if out.Len() > 0 {
return out
}
return nil
return out
}

func viewForUnionOrDynamic(index, tags, forward []uint32, values []Any) ([]uint32, []Any) {
Expand Down

0 comments on commit 47929ee

Please sign in to comment.