Spark 1.5.2: Filtering a dataframe in Scala
<p>I have a dataframe <code>df</code> with the following columns: </p>

<pre><code>ts: Timestamp
val: String
</code></pre>

<p>From my master df, I want to select dataframes that only match a certain <code>ts</code> value. I can achieve that using <code>between</code> like: 
<code>df.filter($"ts".between(targetDate, targetDate))</code> Here <code>targetDate</code> is the date I want to filter my df on. Is there an equivalent <code>equal</code> such as <code>df.filter($"ts".equal(targetDate))</code> ?</p>