mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
Merge pull request #1279 from alanbernstein/bench-columnid-fix
Update PQL syntax in bench subcommand
This commit is contained in:
commit
d36e33fa52
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ func (cmd *BenchCommand) runSetBit(ctx context.Context, client pilosa.InternalCl
|
|||
columnID := rand.Intn(maxColumnID)
|
||||
|
||||
queryRequest := &internal.QueryRequest{
|
||||
Query: fmt.Sprintf(`SetBit(id=%d, frame="%s", columnID=%d)`, rowID, cmd.Frame, columnID),
|
||||
Query: fmt.Sprintf(`SetBit(row=%d, frame="%s", col=%d)`, rowID, cmd.Frame, columnID),
|
||||
Remote: false,
|
||||
}
|
||||
if _, err := client.Query(ctx, cmd.Index, queryRequest); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue