[ 
https://issues.apache.org/jira/browse/CASSANDRA-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724850#action_12724850
 ] 

Hudson commented on CASSANDRA-258:
----------------------------------

Integrated in Cassandra #121 (See 
[http://hudson.zones.apache.org/hudson/job/Cassandra/121/])
    Enhance describeTable to return Map of Column Family so that it can be 
programatically parsed.  patch by Sammy Yu; reviewed by jbellis for 


> Enhance describeTable to return Map of Column Family so that it can be 
> programatically parsed
> ---------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-258
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-258
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 0.3
>            Reporter: Sammy Yu
>            Assignee: Sammy Yu
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: 
> 0001--A-single-commit-for-all-the-changes-used-to-enhan.patch
>
>
> describeTable returns back a string which is too open and makes it hard for 
> clients to introspect the column families of the table.
> The data will be returned in the following format:
> { 'Standard1': { 'desc': 'Table1.Standard1(ROW_KEY, COLUMN_MAP(COLUMN_KEY, 
> COLUMN_VALUE, COLUMN_TIMESTAMP))',
>                  'flushperiod': '60',
>                  'sort': 'Name',
>                  'type': 'Standard'},
>   'Standard2': { 'desc': 'Table1.Standard2(ROW_KEY, COLUMN_MAP(COLUMN_KEY, 
> COLUMN_VALUE, COLUMN_TIMESTAMP))',
>                  'flushperiod': '0',
>                  'sort': 'Name',
>                  'type': 'Standard'},
>   'StandardByTime1': { 'desc': 'Table1.StandardByTime1(ROW_KEY, 
> COLUMN_MAP(COLUMN_KEY, COLUMN_VALUE, COLUMN_TIMESTAMP))',
>                        'flushperiod': '0',
>                        'sort': 'Time',
>                        'type': 'Standard'},
>   'Super1': { 'desc': 'Table1.Super1(ROW_KEY, 
> SUPER_COLUMN_MAP(SUPER_COLUMN_KEY, COLUMN_MAP(COLUMN_KEY, COLUMN_VALUE, 
> COLUMN_TIMESTAMP)))',
>               'flushperiod': '0',
>               'sort': 'Name',
>               'type': 'Super'}}
> The CLI will also need to be updated to handle the new map that is returned

-- 
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