mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-08 20:07:51 +00:00
remove redundant error message
This commit is contained in:
parent
13ec97abf5
commit
8c20d9a51c
1 changed files with 0 additions and 3 deletions
|
|
@ -1308,9 +1308,6 @@ func (e *executor) executePercentile(ctx context.Context, qcx *Qcx, index string
|
|||
if !ok {
|
||||
return ValCount{}, errors.New("Percentile(): nth required")
|
||||
}
|
||||
if nthArg == nil {
|
||||
return ValCount{}, errors.New("Percentile(): nth required")
|
||||
}
|
||||
switch nthArg := nthArg.(type) {
|
||||
case pql.Decimal:
|
||||
nthFloat = nthArg.Float64()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue