Christophe Angeli created CASSANDRA-5134:
--------------------------------------------

             Summary: sstable2json always returns default value validator
                 Key: CASSANDRA-5134
                 URL: https://issues.apache.org/jira/browse/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 column.name 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: http://www.atlassian.com/software/jira

Reply via email to