mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2026-10-12 09:24:52 -05:00
legacy createCollection: allow vecze params without apikey
This commit is contained in:
1 parent
4945fe5480
commit
f381e22beb
2 files changed
+6
-3
No files matched your search
@@ -49,7 +49,7 @@
|
||||
<dependency>
|
||||
<groupId>com.datastax.astra</groupId>
|
||||
<artifactId>astra-db-java</artifactId>
|
||||
<version>2.3.0</version>
|
||||
<version>2.3.2</version>
|
||||
</dependency>
|
||||
<!-- Override Lombok version for Java 25 compatibility -->
|
||||
<dependency>
|
||||
|
||||
+5
-2
@@ -430,8 +430,11 @@ public abstract class DataApiOpDispenser extends BaseOpDispenser<DataApiBaseOp,
|
||||
optionsBldr.vectorize(pf.apply(l), mf.apply(l), ak.apply(l), paramFunc.get().apply(l)) :
|
||||
optionsBldr.vectorize(pf.apply(l), mf.apply(l), ak.apply(l));
|
||||
} else {
|
||||
// paramFunc ignored (due to signature of vectorize method)
|
||||
optionsBldr = optionsBldr.vectorize(pf.apply(l), mf.apply(l));
|
||||
if (paramFunc.isPresent()) {
|
||||
optionsBldr = optionsBldr.vectorize(pf.apply(l), mf.apply(l), paramFunc.get().apply(l));
|
||||
} else {
|
||||
optionsBldr = optionsBldr.vectorize(pf.apply(l), mf.apply(l));
|
||||
}
|
||||
}
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
|
||||
Reference in new issue
Block a user