cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-4170) cql3 ALTER TABLE ALTER TYPE has no effect
Date Fri, 20 Apr 2012 10:16:44 GMT

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

Sylvain Lebresne updated CASSANDRA-4170:
----------------------------------------

    Attachment: 4170.txt

Due to a small typo. Patch attached. I've push a simple test for that in the dtests.
                
> cql3 ALTER TABLE ALTER TYPE has no effect
> -----------------------------------------
>
>                 Key: CASSANDRA-4170
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4170
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API, Core
>    Affects Versions: 1.1.0
>            Reporter: paul cannon
>            Assignee: Sylvain Lebresne
>              Labels: cql3
>             Fix For: 1.1.0
>
>         Attachments: 4170.txt
>
>
> running the following with cql3:
> {noformat}
> CREATE TABLE test (foo text PRIMARY KEY, bar int);
> ALTER TABLE test ALTER bar TYPE float;
> {noformat}
> does not actually change the column type of bar. It does under cql2.
> Note that on the current cassandra-1.1.0 HEAD, this causes an NPE, fixed by CASSANDRA-4163.
But even with that applied, the ALTER shown here has no effect.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message