mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
use FieldTypeSet
This commit is contained in:
parent
066c3a4853
commit
fc6fc82f67
1 changed files with 1 additions and 1 deletions
2
api.go
2
api.go
|
|
@ -327,7 +327,7 @@ func (api *API) ImportRoaring(ctx context.Context, indexName, fieldName string,
|
|||
}
|
||||
|
||||
// only set fields are supported
|
||||
if field.Type() != "set" {
|
||||
if field.Type() != FieldTypeSet {
|
||||
return NewBadRequestError(errors.New("roaring import is only supported for set fields"))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue