try {
AbstractType type = TypeParser.parse(comparatorType);
if (type instanceof CompositeType) {
CompositeType ctype = (CompositeType) type;
ByteBuffer data = ctype.fromString(columnName);
String columnName2 = ctype.getString(data);
Assert.assertEquals(columnName, columnName2);
} else {
Assert.fail();
}