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/07/23 21:06:14 UTC
[jira] Created: (CASSANDRA-314) Return standard/super designation
to introspection and fix typo in DD
Return standard/super designation to introspection and fix typo in DD
---------------------------------------------------------------------
Key: CASSANDRA-314
URL: https://issues.apache.org/jira/browse/CASSANDRA-314
Project: Cassandra
Issue Type: Bug
Affects Versions: 0.4
Reporter: Michael Greene
Priority: Minor
As reported by Evan in IRC, DatabaseDescriptor is using "ColumnIMESTAMP" instead of "COLUMN_TIMESTAMP", and there is now no way to introspect for super-ness. Type used to show Standard or Super but now shows the comparator type.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-314) Return standard/super designation
to introspection and fix typo in DD
Posted by "Michael Greene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Greene updated CASSANDRA-314:
-------------------------------------
Attachment: 314_v1.diff
This should do it. Adds the comparator as 'compareWith' as well as revert type to mean Super or Standard, and converts 'flushperiod' to 'flushPeriod' for consistency.
Output on default storage-conf:
$ ./Cassandra-remote -h 127.0.0.1:9160 describeTable "Table1"
{ 'Standard1': { 'compareWith': 'org.apache.cassandra.db.marshal.UTF8Type',
'desc': 'Table1.Standard1(ROW_KEY, COLUMN_MAP(COLUMN_KEY, COLUMN_VALUE, COLUMN_TIMESTAMP))',
'flushPeriod': '60',
'type': 'Standard'},
'Standard2': { 'compareWith': 'org.apache.cassandra.db.marshal.UTF8Type',
'desc': 'Table1.Standard2(ROW_KEY, COLUMN_MAP(COLUMN_KEY, COLUMN_VALUE, COLUMN_TIMESTAMP))',
'flushPeriod': '0',
'type': 'Standard'},
'StandardByUUID1': { 'compareWith': 'org.apache.cassandra.db.marshal.UUIDType',
'desc': 'Table1.StandardByUUID1(ROW_KEY, COLUMN_MAP(COLUMN_KEY, COLUMN_VALUE, COLUMN_TIMESTAMP))',
'flushPeriod': '0',
'type': 'Standard'},
'Super1': { 'compareWith': 'org.apache.cassandra.db.marshal.UTF8Type',
'desc': 'Table1.Super1(ROW_KEY, SUPER_COLUMN_MAP(SUPER_COLUMN_KEY, COLUMN_MAP(COLUMN_KEY, COLUMN_VALUE, COLUMN_TIMESTAMP)))',
'flushPeriod': '0',
'type': 'Super'}}
> Return standard/super designation to introspection and fix typo in DD
> ---------------------------------------------------------------------
>
> Key: CASSANDRA-314
> URL: https://issues.apache.org/jira/browse/CASSANDRA-314
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.4
> Reporter: Michael Greene
> Priority: Minor
> Attachments: 314_v1.diff
>
>
> As reported by Evan in IRC, DatabaseDescriptor is using "ColumnIMESTAMP" instead of "COLUMN_TIMESTAMP", and there is now no way to introspect for super-ness. Type used to show Standard or Super but now shows the comparator type.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CASSANDRA-314) Return standard/super designation
to introspection and fix typo in DD
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-314.
--------------------------------------
Resolution: Fixed
Assignee: Michael Greene
committed v2
> Return standard/super designation to introspection and fix typo in DD
> ---------------------------------------------------------------------
>
> Key: CASSANDRA-314
> URL: https://issues.apache.org/jira/browse/CASSANDRA-314
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.4
> Reporter: Michael Greene
> Assignee: Michael Greene
> Priority: Minor
> Attachments: 314_v1.diff, 314_v2.diff
>
>
> As reported by Evan in IRC, DatabaseDescriptor is using "ColumnIMESTAMP" instead of "COLUMN_TIMESTAMP", and there is now no way to introspect for super-ness. Type used to show Standard or Super but now shows the comparator type.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-314) Return standard/super designation
to introspection and fix typo in DD
Posted by "Michael Greene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Greene updated CASSANDRA-314:
-------------------------------------
Attachment: 314_v2.diff
Incorporates Evan's suggestion to mirror storage-conf naming instead of arbitrary names. Follows CamelCase standard set there.
> Return standard/super designation to introspection and fix typo in DD
> ---------------------------------------------------------------------
>
> Key: CASSANDRA-314
> URL: https://issues.apache.org/jira/browse/CASSANDRA-314
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.4
> Reporter: Michael Greene
> Priority: Minor
> Attachments: 314_v1.diff, 314_v2.diff
>
>
> As reported by Evan in IRC, DatabaseDescriptor is using "ColumnIMESTAMP" instead of "COLUMN_TIMESTAMP", and there is now no way to introspect for super-ness. Type used to show Standard or Super but now shows the comparator type.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.