mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -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) {
|
private float[] getVectorFromOp(ParsedOp op, long l) {
|
||||||
Object rawVectorObject = op.get("vector", l);
|
if (op.isDefined("vector")) {
|
||||||
if (rawVectorObject != null) {
|
return getVectorValues(op.get("vector", l));
|
||||||
return getVectorValues(rawVectorObject);
|
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user