mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-24 17:50:27 -06:00
changing to a better check
This commit is contained in:
parent
cb52b773d7
commit
f9550cc6b6
@ -66,9 +66,8 @@ public class DataApiDeleteOneOpDispenser extends DataApiOpDispenser {
|
||||
}
|
||||
|
||||
private float[] getVectorFromOp(ParsedOp op, long l) {
|
||||
Object rawVectorObject = op.get("vector", l);
|
||||
if (rawVectorObject != null) {
|
||||
return getVectorValues(rawVectorObject);
|
||||
if (op.isDefined("vector")) {
|
||||
return getVectorValues(op.get("vector", l));
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user