title: How to filter a row if the value contains in list in scala spark?
body: <p>I want to filter a spark dataframe using list, for example</p>
  
  <pre><code>var lisst=List(1,2,34)
  df.filter(col("id).isin(lisst))
  </code></pre>
  
  <p>give the error</p>
  
  <pre><code>Unsupported literal type classscala.collection.immutable.$colon$colon 
  List(1,2,34)
  </code></pre>
  
  <p>I tried with <code>Seq</code> and <code>Set</code> and get same error.</p>