cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-2445) Support SQL data types in CQL
Date Sun, 10 Apr 2011 00:29:06 GMT

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

Jonathan Ellis updated CASSANDRA-2445:
--------------------------------------

    Attachment: 2445.txt

> Support SQL data types in CQL
> -----------------------------
>
>                 Key: CASSANDRA-2445
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2445
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>             Fix For: 0.8
>
>         Attachments: 2445.txt
>
>
> We should support SQL data types where possible:
> (sql -> cassandra)
> varint -> int
> bigint -> long
> varchar, text -> utf8
> ascii -> ascii (not strictly correct -- sql defines collations for this -- but close
enough for a 1.0)
> uuid -> uuid (see CASSANDRA-2233)
> bytea -> bytes
> IMO the right thing to do is _only_ support the SQL types from CQL, because there is
ambiguity otherwise (in particular with "int").
> I believe the only changes needed is to the comparatorType definition in Cql.g and to
the corresponding Map in CreateColumnFamilyStatement.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message