Merge pull request #1583 from nosqlbench/vector_ninjafix

Vector binding ninjafix
This commit is contained in:
Jonathan Shook 2023-10-03 10:26:21 -05:00 committed by GitHub
commit 68c7fc0483
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 5 deletions

View File

@ -28,7 +28,7 @@ bindings:
seq_value: Hash(); Mod(<<valuecount:1000000000>>); ToString() -> String
rw_key: <<keydist:Uniform(0,1000000000)->int>>; ToString() -> String
rw_value: Hash(); <<valdist:Uniform(0,1000000000)->int>>; ToString() -> String
vector_value: CqlVector(ListSizedHashed(<<dimensions:5>>,HashRange(0.0f,100.0f) -> float)); NormalizeCqlVector();
vector_value: CqlVector(ListSized(5,HashRange(0.0f,100.0f))); NormalizeCqlVector();
blocks:
drop-tables:
ops:

View File

@ -1,5 +1,5 @@
# run driver=jdbc workload="/path/to/postgresql-keyvalue.yaml" tags="block:schema" threads=AUTO cycles=4 url="jdbc:postgresql://host:port/database" databaseName="defaultdb" portNumber=5432 user="newuser" password="CHANGE_ME" sslmode="prefer" serverName=insectdb sslrootcert="/path/to/postgresql_certs/root.crt" -vv --show-stacktraces
min_version: "5.17.1"
min_version: "5.17.2"
description: |
A workload with only text keys and text values. This is based on the CQL keyvalue workloads as found

View File

@ -1,4 +1,4 @@
min_version: "5.17.1"
min_version: "5.17.2"
description: |
A tabular workload with partitions, clusters, and data fields

View File

@ -1,5 +1,5 @@
# jara -jar nb5.jar cockroachdb-timeseries default -vv --show-stacktraces
min_version: "5.17.1"
min_version: "5.17.2"
description: |
This workload emulates a time-series data model and access patterns.
@ -44,7 +44,8 @@ blocks:
sensor_value FLOAT,
station_id UUID,
data STRING,
PRIMARY KEY (machine_id, sensor_name, time)
PRIMARY KEY (machine_id ASC, sensor_name ASC),
INDEX TEMPLATE(table,iot)_time_desc_idx (time DESC)
);
rampup: