@Test public void testImportSuperCf() throws IOException, ParseException { String jsonUrl = getClass().getClassLoader().getResource("SuperCF.json").getPath(); File tempSS = tempSSTableFile("Keyspace1", "Super4"); SSTableImport.importJson(jsonUrl, "Keyspace1", "Super4", tempSS.getPath()); // Verify results SSTableReader reader = SSTableReader.open(tempSS.getPath(), DatabaseDescriptor.getPartitioner()); QueryFilter qf = QueryFilter.getNamesFilter( "rowA", new QueryPath("Super4", null, null), "superA".getBytes()); ColumnFamily cf = qf.getSSTableColumnIterator(reader).getColumnFamily(); IColumn superCol = cf.getColumn("superA".getBytes()); assert Arrays.equals( superCol.getSubColumn("colAA".getBytes()).value(), hexToBytes("76616c75654141")); }