mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
fix for cardinality estimates: rebind all patition keys with the same modulo
This commit is contained in:
@@ -36,7 +36,7 @@ public class CGColumnRebinder {
|
||||
}
|
||||
|
||||
public Binding forColumn(CqlColumnDef cdef) {
|
||||
if (cdef.isLastPartitionKey()) {
|
||||
if (cdef.isPartitionKey()) {
|
||||
return dividedBinding(cdef);
|
||||
} else {
|
||||
return accumulator.forColumn(cdef);
|
||||
|
||||
Reference in New Issue
Block a user