mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-12 07:41:02 +00:00
Remove redundant assignment to countCall.children since we already have the reference
This commit is contained in:
parent
3fb79b4d97
commit
72af5f37df
1 changed files with 0 additions and 2 deletions
|
|
@ -1335,7 +1335,6 @@ func (e *executor) executePercentile(ctx context.Context, qcx *Qcx, index string
|
|||
Op: pql.Token(pql.LT),
|
||||
Value: possibleNthVal,
|
||||
}
|
||||
countCall.Children = []*pql.Call{rangeCall}
|
||||
leftCountUint64, err := e.executeCount(ctx, qcx, index, countCall, shards, opt)
|
||||
if err != nil {
|
||||
return ValCount{}, errors.Wrap(err, "executing Count call L for Percentile")
|
||||
|
|
@ -1347,7 +1346,6 @@ func (e *executor) executePercentile(ctx context.Context, qcx *Qcx, index string
|
|||
Op: pql.Token(pql.GT),
|
||||
Value: possibleNthVal,
|
||||
}
|
||||
countCall.Children = []*pql.Call{rangeCall}
|
||||
rightCountUint64, err := e.executeCount(ctx, qcx, index, countCall, shards, opt)
|
||||
if err != nil {
|
||||
return ValCount{}, errors.Wrap(err, "executing Count call R for Percentile")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue