You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Lerer (JIRA)" <ji...@apache.org> on 2017/01/18 08:31:26 UTC

[jira] [Comment Edited] (CASSANDRA-12443) Remove alter type support

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

Benjamin Lerer edited comment on CASSANDRA-12443 at 1/18/17 8:31 AM:
---------------------------------------------------------------------

I fixed the problem and changed the documentation for UDTs.

||3.0|[branch|https://github.com/apache/cassandra/compare/trunk...blerer:12443-3.0]|[utest|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12443-3.0-testall/]|[dtest|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12443-3.0-dtest/]|
||3.11|[branch|https://github.com/apache/cassandra/compare/trunk...blerer:12443-3.11]|[utest|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12443-3.11-testall/]|[dtest|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12443-3.11-dtest/]|
||trunk|[branch|https://github.com/apache/cassandra/compare/trunk...blerer:12443-trunk]|[utest|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12443-trunk-testall/]|[dtest|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12443-trunk-dtest/]|

[~iamaleksey] could you double check the changes?




was (Author: blerer):
I fixed the problem and changed the documentation for UDTs.

||3.0||[branch|https://github.com/apache/cassandra/compare/trunk...blerer:12443-3.0]|[utest|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12443-3.0-testall/]|[dtest|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12443-3.0-dtest/]|
||3.11||[branch|https://github.com/apache/cassandra/compare/trunk...blerer:12443-3.11]|[utest|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12443-3.11-testall/]|[dtest|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12443-3.11-dtest/]|
||trunk||[branch|https://github.com/apache/cassandra/compare/trunk...blerer:12443-trunk]|[utest|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12443-trunk-testall/]|[dtest|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12443-trunk-dtest/]|

[~iamaleksey] could you double check the changes?



> Remove alter type support
> -------------------------
>
>                 Key: CASSANDRA-12443
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12443
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Carl Yeksigian
>            Assignee: Carl Yeksigian
>             Fix For: 3.x
>
>
> Currently, we allow altering of types. However, because we no longer store the length for all types anymore, switching from a fixed-width to variable-width type causes issues. commitlog playback breaking startup, queries currently in flight getting back bad results, and special casing required to handle the changes. In addition, this would solve CASSANDRA-10309, as there is no possibility of the types changing while an SSTableReader is open.
> For fixed-length, compatible types, the alter also doesn't add much over a cast, so users could use that in order to retrieve the altered type.



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