title: IN operator in Cassandra doesn't work for table having a column with type-collection(Map or List)
body: <p>I'm working on Cassandra, trying to get to know how it works. Encountered something strange while using IN operator. Example:</p>
  
  <p>Table:</p>
  
  <pre><code>CREATE TABLE test_time (
    name text,
    age int,
    time timeuuid,
    "timestamp" timestamp,
    PRIMARY KEY ((name, age), time)
  )
  </code></pre>
  
  <p>I have inserted few dummy data. Used IN operator as follows:</p>
  
  <pre><code>SELECT * from test_time
  where name="9" and age=81
  and time IN (c7c88000-190e-11e4-8000-000000000000, c7c88000-190e-11e4-7000-000000000000);
  </code></pre>
  
  <p>It worked properly.</p>
  
  <p>Then, added a column of type <code>Map</code>. Table will look like:</p>
  
  <pre><code>CREATE TABLE test_time (
    name text,
    age int,
    time timeuuid,
    name_age map&lt;text, int&gt;,
    "timestamp" timestamp,
    PRIMARY KEY ((name, age), time)
  ) 
  </code></pre>
  
  <p>On executing same query, I got following error:</p>
  
  <blockquote>
    <p>Bad Request: Cannot restrict PRIMARY KEY part time by IN relation as a collection is selected by the query</p>
  </blockquote>
  
  <p>From the above examples, we can say, IN operator doesn't work if there are any column of type collection(Map or List) in the table.</p>
  
  <p>I don't understand why it behaves like this. Please let me know If I'm missing anything here. Thanks in advance.</p>