You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Greene (JIRA)" <ji...@apache.org> on 2009/08/11 23:34:15 UTC
[jira] Updated: (CASSANDRA-258) Enhance describeTable to return Map
of Column Family so that it can be programatically parsed
[ https://issues.apache.org/jira/browse/CASSANDRA-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Greene updated CASSANDRA-258:
-------------------------------------
Component/s: Tools
Core
> 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
> Components: Core, Tools
> Affects Versions: 0.3
> Reporter: Sammy Yu
> Assignee: Sammy Yu
> Priority: Minor
> Fix For: 0.4
>
> 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.