You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2010/10/06 18:02:38 UTC
[jira] Created: (CASSANDRA-1583) add ColumnDef support to cli
add ColumnDef support to cli
----------------------------
Key: CASSANDRA-1583
URL: https://issues.apache.org/jira/browse/CASSANDRA-1583
Project: Cassandra
Issue Type: New Feature
Components: Tools
Affects Versions: 0.7.1
Reporter: Jonathan Ellis
Assignee: Pavel Yaskevich
currently "create columnfamily" supports setting values on the CfDef struct, but the column_metadata field is a set of ColumnDef structs and the cli does not know how to parse these.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1583) add ColumnDef support to cli
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920207#action_12920207 ]
Hudson commented on CASSANDRA-1583:
-----------------------------------
Integrated in Cassandra #563 (See [https://hudson.apache.org/hudson/job/Cassandra/563/])
> add ColumnDef support to cli
> ----------------------------
>
> Key: CASSANDRA-1583
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1583
> Project: Cassandra
> Issue Type: New Feature
> Components: Tools
> Affects Versions: 0.7 beta 1
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Fix For: 0.7.0
>
> Attachments: CASSANDRA-1583.patch
>
>
> currently "create columnfamily" supports setting values on the CfDef struct, but the column_metadata field is a set of ColumnDef structs and the cli does not know how to parse these.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1583) add ColumnDef support to cli
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918935#action_12918935 ]
Pavel Yaskevich commented on CASSANDRA-1583:
--------------------------------------------
What do you think about following format?
column_metadata=[{name:Name, validator:ValidatorID, index_type:IdxType, index_name:IdxName}, {...}]
So building block is {name:Name, validator:ValidatorID, index_type:IdxType, index_name:IdxName} where Name, ValidatorID, IdxType and IdxName will be replaced with actual values and index_* fields will be optional.
> add ColumnDef support to cli
> ----------------------------
>
> Key: CASSANDRA-1583
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1583
> Project: Cassandra
> Issue Type: New Feature
> Components: Tools
> Affects Versions: 0.7.1
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
>
> currently "create columnfamily" supports setting values on the CfDef struct, but the column_metadata field is a set of ColumnDef structs and the cli does not know how to parse these.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1583) add ColumnDef support to cli
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Yaskevich updated CASSANDRA-1583:
---------------------------------------
Attachment: CASSANDRA-1583.patch
Example:
create column family KS2 with column_metadata=[{ column_name:Hello, validation_class:IntegerType, index_type:0, index_name:IdxName }, { column_name:'other name', validation_class:LongType }]
Help about "create column family" is updated.
> add ColumnDef support to cli
> ----------------------------
>
> Key: CASSANDRA-1583
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1583
> Project: Cassandra
> Issue Type: New Feature
> Components: Tools
> Affects Versions: 0.7.1
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Attachments: CASSANDRA-1583.patch
>
>
> currently "create columnfamily" supports setting values on the CfDef struct, but the column_metadata field is a set of ColumnDef structs and the cli does not know how to parse these.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1583) add ColumnDef support to cli
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1583:
--------------------------------------
Affects Version/s: (was: 0.7.1)
0.7 beta 1
> add ColumnDef support to cli
> ----------------------------
>
> Key: CASSANDRA-1583
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1583
> Project: Cassandra
> Issue Type: New Feature
> Components: Tools
> Affects Versions: 0.7 beta 1
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Fix For: 0.7.0
>
> Attachments: CASSANDRA-1583.patch
>
>
> currently "create columnfamily" supports setting values on the CfDef struct, but the column_metadata field is a set of ColumnDef structs and the cli does not know how to parse these.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1583) add ColumnDef support to cli
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918936#action_12918936 ]
Jonathan Ellis commented on CASSANDRA-1583:
-------------------------------------------
sgtm
> add ColumnDef support to cli
> ----------------------------
>
> Key: CASSANDRA-1583
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1583
> Project: Cassandra
> Issue Type: New Feature
> Components: Tools
> Affects Versions: 0.7.1
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
>
> currently "create columnfamily" supports setting values on the CfDef struct, but the column_metadata field is a set of ColumnDef structs and the cli does not know how to parse these.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.