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

Antoine Toulme updated CASSANDRA-1238:
--------------------------------------

    Attachment: 001-CASSANDRA-1238.patch

Here is a patch that adds this method. It adds the method to the Avro API by 
patching the Avro protocol and implements the method on CassandraServer, mostly 
by copy/pasting the code from add_system_keyspace, and using the 
AddColumnFamily migration to apply the change.

I could not find the tests you were referring to. I would be much more 
comfortable if that patch came with tests, but I could not spot them in the 
source code. If you would be so kind as to give me their location, I'd happily 
contribute tests for this change.

> Cassandra AVRO api is missing system_add_column_family
> ------------------------------------------------------
>
>                 Key: CASSANDRA-1238
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1238
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7 beta 1
>         Environment: Mac OSX 10.6.4, Cassandra Trunk, Rev. 958403, java 
> 1.6.0_20
>            Reporter: Christian van der Leeden
>            Assignee: Eric Evans
>             Fix For: 0.7.0
>
>         Attachments: 001-CASSANDRA-1238.patch
>
>
> The cassandra.avpr does contain the method system_add_keyspace but is missing 
> the system_add_column_family.
> Workaround: have to revert to the thrift API to create column families.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to