[
https://issues.apache.org/jira/browse/CASSANDRA-12443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16763893#comment-16763893
]
Bozhidar Bozhanov commented on CASSANDRA-12443:
-----------------------------------------------
Hello,
This breaks the ability to converet from timeuuid to uuid. So if you realize at
some point that you don't need timeuuid sorting, you are stuck. both uuid and
timeuuid are fixed-length and both conform the the same basic contraints;
timeuuid has additional constraints. It would be beneficial if such an
alteration was possible, as casts are not workable - you can't insert a regular
UUID into a timeuuid column. Maybe this is an edge case, as the type has
built-in constraints, but please think if this can be supported.
> 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: Benjamin Lerer
> Priority: Major
> Fix For: 3.0.11, 3.10
>
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]