title: Add columns dynamically in cassandra
body: <p>I have a table like this in CQL3</p>
  
  <pre><code>create table product_info
  (
   key text,
   value text,
   Primary key (key)
  );
  </code></pre>
  
  <p>It is a vertical table . Since I can insert new rows with (key , value ) pair.</p>
  
  <p>Sample data will be : </p>
  
  <p>product_info</p>
  
  <pre><code>  key                |     value       
    -------------------------------------------
    product_name       |   sample_product   
    quantity           |   2
    manufacture        |   sample_manufacturer   
    ....                   ....
  </code></pre>
  
  <p>But what I need is a horizontal table , where I could able to add columns dynamically without altering the table.</p>
  
  <p>product_info</p>
  
  <pre><code>    product_name     |   quantity   |  manufacture           |  ....
     ------------------------------------------------------------------------------    
      sample_product   |    2         |  sample_manufacturer   |  ....
  </code></pre>
  
  <p>I need the structure like the above table ,  need to keep on add the columns on the fly.</p>
  
  <p>CQL3 provides an option to add columns dynamically , but before that we need to alter the table.</p>
  
  <p>I need to know is there any other method which allows this.</p>
  
  <p>I found that by using thrift api it is possible, but since thrift is not more supported , can not use that.</p>
  
  <p>Is there any other API like hector or anything else supporting this ?</p>
  
  <p>I did go through the similar stack overflow posts , but I didn't get a better solution.</p>