cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Angeli (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-5134) sstable2json always returns default value validator
Date Wed, 09 Jan 2013 09:14:12 GMT
Christophe Angeli created CASSANDRA-5134:

             Summary: sstable2json always returns default value validator
                 Key: CASSANDRA-5134
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.2.0
            Reporter: Christophe Angeli
            Priority: Minor

When exporting to JSON tables created using cqlsh, values are always exported to hexa : the
serializeColumn function fails to get the correct value validator from the cfMetaData, since
getColumnDefinition(column) returns null.

I'm not a java expert and doesn't really understand the use of ByteBuffer for Map : the workaround
I found is to pass to cfMetaData.getValueValidator a new wrapped ByteBuffer of the
argument, then the validator is correctly found from the cfMetaData.column_metadata.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message