// props.setProperty("comparator_type", "LongType");
// props.setProperty("key_validation_class", "LongType");
// keyspace.createColumnFamily(props);
//
// // Add some data
TableDataResource thriftDataTableResource = new AstyanaxThriftDataTableResource(keyspace, CF_NAME);
String rowKey = "100";
SchemalessRows.Builder builder = SchemalessRows.builder();
builder.addRow(rowKey, ImmutableMap.<String, String>builder().put("1", "11").put("2", "22").build());
RowData dr = new RowData();
dr.setSrows(builder.build());
// thriftDataTableResource.updateRow(rowKey, dr);
QueryResult result;
result = thriftDataTableResource.readRow(rowKey, 1, null, null, false);
// Assert.assertEquals(1, Iterables.getFirst(result.getSrows().getRows(), null).getColumns().size());
LOG.info(result.toString());
result = thriftDataTableResource.readRow(rowKey, 10, null, null, false);
// Assert.assertEquals(2, Iterables.getFirst(result.getRows(), null).getColumns().size());
LOG.info(result.toString());
}