title: Cassandra CQL INSERT query rejected for unconfigured column family
body: <p>I'm trying to insert some rows into a Cassandra (1.2.16) database with CQL, but the Datastax API call is being rejected. The query is created through a <code>PreparedStatement</code> and executed with a <code>BoundStatement</code> like so</p>
  
  <pre><code>session.Execute (boundStatement); 
  // query is
  INSERT INTO "KeyspaceName.ColumnFamilyName" (key, column1, value) VALUES (?, ?, ?)
  </code></pre>
  
  <p>It gets rejected with </p>
  
  <pre><code>Caught an exception Cassandra.InvalidQueryException: unconfigured columnfamily KeyspaceName.ColumnFamilyName
  // which happens at the Execute call above
  </code></pre>
  
  <p>However, I can see that the column family does exist</p>
  
  <pre><code>var cluster = Cluster.Builder ()
      .AddContactPoint ("127.0.0.1")
      .Build ();
  
  new List&lt;string&gt; (cluster.Metadata.GetKeyspaces ()).ForEach ((value) =&gt; {
      Console.WriteLine ("Keyspace: " + value);
  
      new List&lt;string&gt; (cluster.Metadata.GetKeyspace(value).GetTablesNames()).ForEach((tableName) =&gt; {
          Console.WriteLine("Table: " + tableName);
      });
  });
  </code></pre>
  
  <p>which prints (among others)</p>
  
  <pre><code>Keyspace: KeyspaceName
  Table: ColumnFamilyName
  </code></pre>
  
  <p>So the column family is there. </p>
  
  <p>Why can't Cassandra find the table/column family when executing the CQL <code>INSERT</code> query? Is this a version issue? I'm under the impression that newer versions of CQL refer to column families as tables. How should I configure the table?</p>