[
https://issues.apache.org/jira/browse/CASSANDRA-5134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13548433#comment-13548433
]
Brandon Williams commented on CASSANDRA-5134:
---------------------------------------------
+1
> 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
> Assignee: Sylvain Lebresne
> Priority: Minor
> Fix For: 1.2.1
>
> Attachments: 5134.txt
>
>
> 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