You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "paul cannon (Created) (JIRA)" <ji...@apache.org> on 2012/04/18 22:58:40 UTC
[jira] [Created] (CASSANDRA-4170) cql3 ALTER TABLE ALTER TYPE has
no effect
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: paul cannon
Fix For: 1.1.0
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
[jira] [Commented] (CASSANDRA-4170) cql3 ALTER TABLE ALTER TYPE has
no effect
Posted by "Jonathan Ellis (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13258264#comment-13258264 ]
Jonathan Ellis commented on CASSANDRA-4170:
-------------------------------------------
+1
> 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
[jira] [Assigned] (CASSANDRA-4170) cql3 ALTER TABLE ALTER TYPE has
no effect
Posted by "Sylvain Lebresne (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sylvain Lebresne reassigned CASSANDRA-4170:
-------------------------------------------
Assignee: Sylvain Lebresne (was: paul cannon)
> 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
>
>
> 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
[jira] [Updated] (CASSANDRA-4170) cql3 ALTER TABLE ALTER TYPE has
no effect
Posted by "Sylvain Lebresne (Updated) (JIRA)" <ji...@apache.org>.
[ 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