title: Cassandra: create CompositeType column
body: <p>Im new to cassandra and Im trying to create a schema that will allow me to have a row as</p>
  
  <pre><code>users: {
      name: &lt;value&gt;,
      ...
      phone_numbers:1: &lt;value&gt;,
      phone_numbers:2: &lt;value&gt;,
      ...
      phone_numbers: &lt;value&gt;
   }
  </code></pre>
  
  <p>I've been reading up about Composite Columns, and have only been able to find examples where the primary key is a composite. So is it possible to have the above in one CF?</p>
  
  <p>My attempt was:-</p>
  
  <pre><code>create column family users with comparator=AsciiType
  and key_validation_class=AsciiType
  and column_metadata=[
  {column_name: name, validation_class: AsciiType, index_type: KEYS},
  {column_name: phone_numbers, validation_class: CompositeType(AsciiType, IntegerType), index_type: KEYS}];
  </code></pre>
  
  <p>the above fails. 
  any help is appreciated
  cheers</p>