mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
fix logic in needsSlices()
This commit is contained in:
parent
8bb45b8bec
commit
1980978847
1 changed files with 3 additions and 3 deletions
|
|
@ -884,11 +884,11 @@ func needsSlices(calls pql.Calls) bool {
|
|||
}
|
||||
|
||||
for _, call := range calls {
|
||||
if _, ok := call.(pql.BitmapCall); !ok {
|
||||
if _, ok := call.(pql.BitmapCall); ok {
|
||||
return true
|
||||
} else if _, ok := call.(*pql.Count); !ok {
|
||||
} else if _, ok := call.(*pql.Count); ok {
|
||||
return true
|
||||
} else if _, ok := call.(*pql.TopN); !ok {
|
||||
} else if _, ok := call.(*pql.TopN); ok {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue