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/13 05:44:33 UTC

[jira] Created: (CASSANDRA-1613) index created from cli does not show up in keyspace metadata

index created from cli does not show up in keyspace metadata
------------------------------------------------------------

                 Key: CASSANDRA-1613
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1613
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
    Affects Versions: 0.7.0
            Reporter: Jonathan Ellis
            Assignee: Pavel Yaskevich
             Fix For: 0.7.0


create column family Category with comparator=UTF8Type and column_metadata=[{column_name:level, validation_class:IntegerType, index_type:0, index_name:CategoryLevelIdx}]

succeeds, but after this
'show keyspaces' does not reveal the presence of the index. Only the column family is shown.

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


[jira] Commented: (CASSANDRA-1613) index created from cli does not show up in keyspace metadata

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921349#action_12921349 ] 

Hudson commented on CASSANDRA-1613:
-----------------------------------

Integrated in Cassandra #566 (See [https://hudson.apache.org/hudson/job/Cassandra/566/])
    include CF metadata in cli 'show keyspaces'.  patch by Pavel Yaskevich; reviewed by jbellis for CASSANDRA-1613


> index created from cli does not show up in keyspace metadata
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-1613
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1613
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 0.7.0
>
>         Attachments: CASSANDRA-1613.patch
>
>
> create column family Category with comparator=UTF8Type and column_metadata=[{column_name:level, validation_class:IntegerType, index_type:0, index_name:CategoryLevelIdx}]
> succeeds, but after this
> 'show keyspaces' does not reveal the presence of the index. Only the column family is shown.

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


[jira] Commented: (CASSANDRA-1613) index created from cli does not show up in keyspace metadata

Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921064#action_12921064 ] 

Pavel Yaskevich commented on CASSANDRA-1613:
--------------------------------------------

ok, nice :)

> index created from cli does not show up in keyspace metadata
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-1613
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1613
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 0.7.0
>
>         Attachments: CASSANDRA-1613.patch
>
>
> create column family Category with comparator=UTF8Type and column_metadata=[{column_name:level, validation_class:IntegerType, index_type:0, index_name:CategoryLevelIdx}]
> succeeds, but after this
> 'show keyspaces' does not reveal the presence of the index. Only the column family is shown.

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


[jira] Commented: (CASSANDRA-1613) index created from cli does not show up in keyspace metadata

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921052#action_12921052 ] 

Jonathan Ellis commented on CASSANDRA-1613:
-------------------------------------------

committed, w/ minor changes to formatting to prefer colons + indentation to {}.  python influence. :)

> index created from cli does not show up in keyspace metadata
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-1613
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1613
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 0.7.0
>
>         Attachments: CASSANDRA-1613.patch
>
>
> create column family Category with comparator=UTF8Type and column_metadata=[{column_name:level, validation_class:IntegerType, index_type:0, index_name:CategoryLevelIdx}]
> succeeds, but after this
> 'show keyspaces' does not reveal the presence of the index. Only the column family is shown.

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


[jira] Updated: (CASSANDRA-1613) index created from cli does not show up in keyspace metadata

Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Yaskevich updated CASSANDRA-1613:
---------------------------------------

    Attachment: CASSANDRA-1613.patch

new format example:

{code}
    Column Family Name: Category {
      Column Family Type: Standard
      Column Sorted By: org.apache.cassandra.db.marshal.UTF8Type
      Column Metadata {
        Column Name: level {
          Validation Class: org.apache.cassandra.db.marshal.IntegerType
          Index Name: CategoryLevelIdx
          Index Type: KEYS
        }
      }
   }
{code}

> index created from cli does not show up in keyspace metadata
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-1613
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1613
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 0.7.0
>
>         Attachments: CASSANDRA-1613.patch
>
>
> create column family Category with comparator=UTF8Type and column_metadata=[{column_name:level, validation_class:IntegerType, index_type:0, index_name:CategoryLevelIdx}]
> succeeds, but after this
> 'show keyspaces' does not reveal the presence of the index. Only the column family is shown.

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