[ 
https://issues.apache.org/jira/browse/CASSANDRA-9556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15006657#comment-15006657
 ] 

ZhaoYang commented on CASSANDRA-9556:
-------------------------------------

Sorry, I should make is clear.

In CQL3Type, "DATE" is corresponding to "SimpleDateType" which is internally 
Integer. I have tried to create Stress Value Generator for "DATE", but the 
integer value generated is not accepted by Java Driver which only accepts 
"LocalDate" as binding variable for "DATE".

I want to confirm the mismatch of "DATE" between Java Driver type(LocalDate) 
and Cassandra's type(Integer)? and how to resolve it in Stress Test?


> Add newer data types to cassandra stress (e.g. decimal, dates, UDTs)
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-9556
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9556
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Jeremy Hanna
>            Assignee: ZhaoYang
>            Priority: Minor
>              Labels: stress
>
> Currently you can't define a data model with decimal types and use Cassandra 
> stress with it.  Also, I imagine that holds true with other newer data types 
> such as the new date and time types.  Besides that, now that data models are 
> including user defined types, we should allow users to create those 
> structures with stress as well.  Perhaps we could split out the UDTs into a 
> different ticket if it holds the other types up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to