title: How to use date time as a cluster in where clause in Cassandra using python driver?
body: <p>I am using python driver and Cassandra, I have created the following schema</p>
  
  <pre><code>CREATE TABLE channelFollowers(
      channelID BIGINT,
      isfavorite BOOLEAN,                     
      userID BIGINT,                                                          
      followDate TIMESTAMP,
      PRIMARY KEY (userID, channelID, followDate)
  );
  </code></pre>
  
  <p>my question is, how can i use the <code>followDate</code> in where clause of select and update query, I have tried but it does not work it gives the following error</p>
  
  <pre><code>typeerror: not enough arguments for format string
  </code></pre>
  
  <p>can any body help me please?</p>
  
  <p>Here is my code
  <code>channelLike = channelSession.execute("update channelfollowers set isblocked=%s, isfavorite=%s where userid=%s and channelid=%s and followdate=%s",[int(userid),int(channel_id),followDate]</code></p>