title: Insert to cassandra from python using cql
body: <p>I'm planning to insert data to bellow CF that has compound keys.</p>
  
  <pre><code>CREATE TABLE event_attend (
      event_id int,
      event_type varchar,
      event_user_id int,
      PRIMARY KEY (event_id, event_type)    #compound keys...
  );
  </code></pre>
  
  <p>But I can't insert data to this CF from python using cql.
  (http://code.google.com/a/apache-extras.org/p/cassandra-dbapi2/)</p>
  
  <pre><code>import cql
  connection = cql.connect(host, port, keyspace)
  cursor = connection.cursor()
  cursor.execute("INSERT INTO event_attend (event_id, event_type, event_user_id) VALUES (1, 'test', 2)", dict({}) )
  </code></pre>
  
  <p>I get the following traceback:</p>
  
  <pre><code>Traceback (most recent call last):
  File "./v2_initial.py", line 153, in &lt;module&gt;
    db2cass.execute()
  File "./v2_initial.py", line 134, in execute
    cscursor.execute("insert into event_attend (event_id, event_type, event_user_id ) values (1, 'test', 2)", dict({}))
  File "/usr/local/pythonbrew/pythons/Python-2.7.2/lib/python2.7/site-packages/cql-1.4.0-py2.7.egg/cql/cursor.py", line 80, in execute
    response = self.get_response(prepared_q, cl)
  File "/usr/local/pythonbrew/pythons/Python-2.7.2/lib/python2.7/site-packages/cql-1.4.0-py2.7.egg/cql/thrifteries.py", line 80, in get_response
    return self.handle_cql_execution_errors(doquery, compressed_q, compress)
  File "/usr/local/pythonbrew/pythons/Python-2.7.2/lib/python2.7/site-packages/cql-1.4.0-py2.7.egg/cql/thrifteries.py", line 98, in handle_cql_execution_errors
    raise cql.ProgrammingError("Bad Request: %s" % ire.why)
  cql.apivalues.ProgrammingError: Bad Request: unable to make int from 'event_user_id'
  </code></pre>
  
  <p>What am I doing wrong?</p>