mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
standard code already in viewsByTimeRange (#2149)
This commit is contained in:
parent
33a916c0f4
commit
ccbc944eea
1 changed files with 4 additions and 8 deletions
12
executor.go
12
executor.go
|
|
@ -4464,14 +4464,10 @@ func (e *executor) executeExtractShard(ctx context.Context, qcx *Qcx, index stri
|
|||
case FieldTypeTime:
|
||||
// Handle a set field by listing the rows and then intersecting them with the filter.
|
||||
timeArg := timeArgs[i]
|
||||
var views []string
|
||||
if timeArg.From.IsZero() && timeArg.To.IsZero() {
|
||||
views = []string{viewStandard}
|
||||
} else {
|
||||
views, err = field.viewsByTimeRange(timeArg.From, timeArg.To)
|
||||
if err != nil {
|
||||
return ExtractedIDMatrix{}, errors.Wrap(err, "problem with from/to")
|
||||
}
|
||||
|
||||
views, err := field.viewsByTimeRange(timeArg.From, timeArg.To)
|
||||
if err != nil {
|
||||
return ExtractedIDMatrix{}, errors.Wrap(err, "problem with from/to")
|
||||
}
|
||||
|
||||
dedup := make(map[uint64]map[uint64]struct{})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue