[
https://issues.apache.org/jira/browse/CASSANDRA-2617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042383#comment-13042383
]
Pavel Yaskevich commented on CASSANDRA-2617:
--------------------------------------------
I tried to do the following modification in inflate:
{noformat}
for (ColumnDef aColumn_metadata : cf.column_metadata)
{
ColumnDefinition cd = ColumnDefinition.inflate(aColumn_metadata);
if (cd.getIndexName() == null)
cd.setIndexName(ByteBufferUtil.bytesToHex(cd.name));
column_metadata.put(cd.name, cd);
}
{noformat}
but I got fail in the DefsTest:177 that stored/loaded keyspaces does not match,
tried to play with inflate/deflate for both CFDM and ColumnDefinition but then
decided to just keep old code in the indexColumnFamilyName instead.
> Add "DROP INDEX" command to CQL
> -------------------------------
>
> Key: CASSANDRA-2617
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2617
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Core
> Reporter: Pavel Yaskevich
> Assignee: Pavel Yaskevich
> Fix For: 0.8.1
>
> Attachments: CASSANDRA-2617-v2.patch, CASSANDRA-2617.patch
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira