[ 
https://issues.apache.org/jira/browse/CASSANDRA-20137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jist updated CASSANDRA-20137:
-----------------------------
    Description: 
In case of command
{code:java}
cassandra-stress user profile=abc.yaml ...{code}
and yaml file:
{code:java}
table_definition: | 
  CREATE TABLE prftest1.process_data (
  id uuid,
  id2 uuid,
  data blob,
  PRIMARY KEY (id, id2)

columnspec: 
  - name: id 
    size: uniform(1..10) 
    population: seq(1..10) 
  - name: id2 
    size: uniform(1..10) 
    population: seq(1..10)
  - name: data 
    size: uniform(5..10) 
    population: seq(1..100){code}
the values for +id2+ (with type {+}uuid{+}) are all the same (not random). 

 

NOTE: in case of type +bigint+ for +id+ and {+}id2{+}, the values for +id2+ are 
random items. 

It seems as possible issue in case of uuid column type see attached picture  
!image-2024-12-09-15-30-45-321.png!

  was:
In case of command

 
{code:java}

{code}
*cassandra-stress user profile=abc.yaml ...*

 

and yaml file:

 
{code:java}
table_definition: | 
  CREATE TABLE prftest1.process_data (
  id uuid,
  id2 uuid,
  data blob,
  PRIMARY KEY (id, id2)

columnspec: 
  - name: id 
    size: uniform(1..10) 
    population: seq(1..10) 
  - name: id2 
    size: uniform(1..10) 
    population: seq(1..10)
  - name: data 
    size: uniform(5..10) 
    population: seq(1..100){code}
the values for +id2+ (with type {+}uuid{+}) are all the same (not random). 

 

NOTE: in case of type +bigint+ for +id+ and {+}id2{+}, the values for +id2+ are 
random items. 

It seems as possible issue in case of uuid column type see attached picture  
!image-2024-12-09-15-30-45-321.png!


> Duplicit values for uuid column in cassandra-stress
> ---------------------------------------------------
>
>                 Key: CASSANDRA-20137
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20137
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Tool/stress
>            Reporter: jist
>            Priority: Normal
>         Attachments: image-2024-12-09-15-30-45-321.png
>
>
> In case of command
> {code:java}
> cassandra-stress user profile=abc.yaml ...{code}
> and yaml file:
> {code:java}
> table_definition: | 
>   CREATE TABLE prftest1.process_data (
>   id uuid,
>   id2 uuid,
>   data blob,
>   PRIMARY KEY (id, id2)
> columnspec: 
>   - name: id 
>     size: uniform(1..10) 
>     population: seq(1..10) 
>   - name: id2 
>     size: uniform(1..10) 
>     population: seq(1..10)
>   - name: data 
>     size: uniform(5..10) 
>     population: seq(1..100){code}
> the values for +id2+ (with type {+}uuid{+}) are all the same (not random). 
>  
> NOTE: in case of type +bigint+ for +id+ and {+}id2{+}, the values for +id2+ 
> are random items. 
> It seems as possible issue in case of uuid column type see attached picture  
> !image-2024-12-09-15-30-45-321.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to