cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Petrov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11114) Document which type conversions are allowed
Date Fri, 20 May 2016 17:11:13 GMT

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

Alex Petrov commented on CASSANDRA-11114:
-----------------------------------------

I've added a little [unit test|https://github.com/ifesdjeen/cassandra/tree/11114-trunk] to
bruteforce through all primitive types. It's a little bit more lightweight since it doesn't
go through the whole pipeline, although it verifies and yields same exact results as ones
listed by you.

Should I combine our patches [~giampaolo], WDYT?

> Document which type conversions are allowed
> -------------------------------------------
>
>                 Key: CASSANDRA-11114
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11114
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: CQL, Documentation and Website
>            Reporter: Sylvain Lebresne
>            Assignee: Giampaolo
>            Priority: Minor
>              Labels: doc-impacting, lhf
>         Attachments: cassandra-11114-trunk.patch
>
>
> We allow only some type conversion through {{ALTER TABLE}} and type casts, the ones that
don't break stuff, but we don't currently document which ones those are. We should add it
to http://cassandra.apache.org/doc/cql3/CQL-3.0.html.



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

Mime
View raw message