mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-06 19:07:50 +00:00
convert to camelCase
This commit is contained in:
parent
022019c6cc
commit
4274d2d141
2 changed files with 5 additions and 5 deletions
8
api.go
8
api.go
|
|
@ -1019,7 +1019,7 @@ func (api *API) Import(ctx context.Context, req *ImportRequest, opts ...ImportOp
|
|||
if !options.IgnoreKeyCheck {
|
||||
// Translate row keys.
|
||||
if field.Keys() {
|
||||
span.LogKV("row_keys", true)
|
||||
span.LogKV("rowKeys", true)
|
||||
if len(req.RowIDs) != 0 {
|
||||
return errors.New("row ids cannot be used because field uses string keys")
|
||||
}
|
||||
|
|
@ -1030,7 +1030,7 @@ func (api *API) Import(ctx context.Context, req *ImportRequest, opts ...ImportOp
|
|||
|
||||
// Translate column keys.
|
||||
if index.Keys() {
|
||||
span.LogKV("column_keys", true)
|
||||
span.LogKV("columnKeys", true)
|
||||
if len(req.ColumnIDs) != 0 {
|
||||
return errors.New("column ids cannot be used because index uses string keys")
|
||||
}
|
||||
|
|
@ -1138,7 +1138,7 @@ func (api *API) ImportValue(ctx context.Context, req *ImportValueRequest, opts .
|
|||
if !options.IgnoreKeyCheck {
|
||||
// Translate column keys.
|
||||
if index.Keys() {
|
||||
span.LogKV("column_keys", true)
|
||||
span.LogKV("columnKeys", true)
|
||||
if len(req.ColumnIDs) != 0 {
|
||||
return errors.New("column ids cannot be used because index uses string keys")
|
||||
}
|
||||
|
|
@ -1152,7 +1152,7 @@ func (api *API) ImportValue(ctx context.Context, req *ImportValueRequest, opts .
|
|||
// the field has a ForeignIndex with keys).
|
||||
if field.Keys() {
|
||||
// Perform translation.
|
||||
span.LogKV("row_keys", true)
|
||||
span.LogKV("rowKeys", true)
|
||||
uints, err := api.cluster.translateIndexKeys(ctx, field.ForeignIndex(), req.StringValues)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
|||
|
|
@ -1125,7 +1125,7 @@ func (e *executor) executePrecomputedCall(ctx context.Context, index string, c *
|
|||
// executeBitmapCall executes a call that returns a bitmap.
|
||||
func (e *executor) executeBitmapCall(ctx context.Context, index string, c *pql.Call, shards []uint64, opt *execOptions) (*Row, error) {
|
||||
span, ctx := tracing.StartSpanFromContext(ctx, "Executor.executeBitmapCall")
|
||||
span.LogKV("pql_call_name", c.Name)
|
||||
span.LogKV("pqlCallName", c.Name)
|
||||
defer span.Finish()
|
||||
|
||||
indexTag := "index:" + index
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue