mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
fixed syntax error in scan and select predicates
This commit is contained in:
parent
c0cb4c0226
commit
1d19164390
@ -325,7 +325,7 @@ public class CGWorkloadExporter {
|
||||
private String genScanSyntax(CqlTable table) {
|
||||
return """
|
||||
select * from KEYSPACE.TABLE
|
||||
PREDICATE
|
||||
where PREDICATE
|
||||
LIMIT;
|
||||
"""
|
||||
.replace("KEYSPACE", table.getKeySpace())
|
||||
@ -355,7 +355,7 @@ public class CGWorkloadExporter {
|
||||
private String genSelectSyntax(CqlTable table) {
|
||||
return """
|
||||
select * from KEYSPACE.TABLE
|
||||
PREDICATE
|
||||
where PREDICATE
|
||||
LIMIT;
|
||||
"""
|
||||
.replace("KEYSPACE", table.getKeySpace())
|
||||
|
Loading…
Reference in New Issue
Block a user