Eric Pederson created CASSANDRA-13406:
-----------------------------------------

             Summary: Stress chooses batch size 1 if cluster column name in 
YAML is not all lower case
                 Key: CASSANDRA-13406
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13406
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
            Reporter: Eric Pederson


If you give the cluster column name in mixed case then the batch size is always 
chosen as 1, for example:

{code}
columnspec:
  - name: creationdate
    size: fixed(10)
    population: seq(1..4000000)
  - name: UniqueSequenceNumber      # Note mixed case  
    cluster: uniform(100..200)

insert:
  partitions: fixed(1)              
  batchtype: UNLOGGED
  select: uniform(10..15)/200
{code}

Running this results in
{code}
Generating batches with [1..1] partitions and [1..1] rows (of [1..1] total rows 
in the partitions)
{code}

Changing the cluster column name to {{uniquesequencenumber}} gives the expected 
results:
{code}
Generating batches with [1..1] partitions and [5..15] rows (of [100..200] total 
rows in the partitions)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to