You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sammy Yu (JIRA)" <ji...@apache.org> on 2009/06/26 22:55:47 UTC
[jira] Created: (CASSANDRA-258) Enhance describeTable to return Map
of Column Family so that it can be programatically parsed
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
Reporter: Sammy Yu
Priority: Minor
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.
[jira] Updated: (CASSANDRA-258) Enhance describeTable to return Map
of Column Family so that it can be programatically parsed
Posted by "Sammy Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sammy Yu updated CASSANDRA-258:
-------------------------------
Attachment: 0001--A-single-commit-for-all-the-changes-used-to-enhan.patch
Patch
> 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
> 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.
[jira] Commented: (CASSANDRA-258) Enhance describeTable to return
Map of Column Family so that it can be programatically parsed
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (CASSANDRA-258) Enhance describeTable to return Map
of Column Family so that it can be programatically parsed
Posted by "Michael Greene (JIRA)" <ji...@apache.org>.
[ 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.