mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
Unexport Field.ImportValue
This commit is contained in:
parent
a8c9c30eef
commit
ba9c5193b5
2 changed files with 3 additions and 3 deletions
2
api.go
2
api.go
|
|
@ -643,7 +643,7 @@ func (api *API) ImportValue(ctx context.Context, req *ImportValueRequest) error
|
|||
return errors.Wrap(err, "getting field")
|
||||
}
|
||||
// Import into fragment.
|
||||
err = field.ImportValue(req.ColumnIDs, req.Values)
|
||||
err = field.importValue(req.ColumnIDs, req.Values)
|
||||
if err != nil {
|
||||
api.server.logger.Printf("import error: index=%s, field=%s, shard=%d, columns=%d, err=%s", req.Index, req.Field, req.Shard, len(req.ColumnIDs), err)
|
||||
}
|
||||
|
|
|
|||
4
field.go
4
field.go
|
|
@ -1035,8 +1035,8 @@ func (f *Field) Import(rowIDs, columnIDs []uint64, timestamps []*time.Time) erro
|
|||
return nil
|
||||
}
|
||||
|
||||
// ImportValue bulk imports range-encoded value data.
|
||||
func (f *Field) ImportValue(columnIDs []uint64, values []int64) error {
|
||||
// importValue bulk imports range-encoded value data.
|
||||
func (f *Field) importValue(columnIDs []uint64, values []int64) error {
|
||||
viewName := viewBSIGroupPrefix + f.name
|
||||
// Get the bsiGroup so we know bitDepth.
|
||||
bsig := f.bsiGroup(f.name)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue