cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ZhaoYang (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-9556) Add newer data types to cassandra stress (e.g. decimal, dates, UDTs)
Date Mon, 16 Nov 2015 12:48:10 GMT

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

ZhaoYang edited comment on CASSANDRA-9556 at 11/16/15 12:47 PM:
----------------------------------------------------------------

Hi Benjamin, in Cassandra, SimpleDateType is type of Integer, but java driver DateCodec expects
type of LocalDate. Is it a bug? or I should create LocalDateType and related structures(eg.serializers
and so on) for DATE(SimpleDate)?


was (Author: jasonstack):
Hi Benjamin, in Cassandra, SimpleDateType is of Integer, but java driver expects a LocalDate.
Is it a bug? or I should create LocalDateType and related structures for SimpleDate?

> 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)

Mime
View raw message