title: spark filter column from dataframe with words from a collection
body: <p>i have been searching for a while but i haven't found how to do it.
  i have a dataframe that contains a reference to a table and one of the columns contains a string</p>
  
  <pre><code>dataframe schema: name string,lastname string, interests string
  </code></pre>
  
  <p>i have a list of interests like so:</p>
  
  <pre><code>val sports:List [String] = List("football","basketball","soccer")
  </code></pre>
  
  <p>i want to filter all the people from my dataframe that contain one of the sports above in their interests </p>
  
  <pre><code>val peopledata = sqlContext.sql("select * from learning.people")
  </code></pre>
  
  <p>i have tried to do this like this :</p>
  
  <pre><code>for (sport &lt;- sports)peopledata.filter(peopledata("interests").contains(sport))
  </code></pre>
  
  <p>but i have asked a pro in the company i work in, and he told me there he a better and prettier way to do it </p>