cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-9257) Schema Builder does not support multiple column add/drop/alter
Date Wed, 29 Apr 2015 07:11:06 GMT

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

Sylvain Lebresne resolved CASSANDRA-9257.
-----------------------------------------
    Resolution: Invalid

You should open such ticket on the JAVA driver tracker, at https://datastax-oss.atlassian.net/browse/JAVA.

> Schema Builder does not support multiple column add/drop/alter 
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-9257
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9257
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Drivers (now out of tree)
>            Reporter: Oleksandr Petrov
>
> Right now, SchemaBuilder allows adding, altering or dropping only one column, for example:
> ```
> SchemaBuilder.alterTable("ks", "DropColumn")
>                 .addColumn("b")
>                 .type(DataType.cint()
> ```
> There's no way to say `addColumn` after that once again, so one has to create another
statement.
> I'd be glad to help out / contribute that one, if everyone generally agrees that this
is a good addition to API.
> This would be a great addition, and will help one of Clojure drivers to provide a smoother
API, too. 
> Thanks!



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

Mime
View raw message