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