jsevellec/cassandra-unit — Issue #6: ColumnsMetadata in JSON structure interprets the value of the "name" property incorrectly
Author: alewisohn
Created: 2012-01-16 21:07:09+00:00
State: open

I'm not sure if this is by design (and I'm pretty new to Cassandra and Hector so it could be), but if I supply a JSON dataset with a CF that has column metadata, the parser automatically interprets the value of ```name``` as the name of the index for that column. However, I'm not actually indexing the column, I'm just providing a validator for the column value. For example, the snippet below would cause an error to be thrown because I have not defined an ```indexType``` property.

```javascript
"columnsMetadata" : [{
"name" : "birthdate",
"validationClass" : "LongType"
}]
```