I\'ve tried both but it works same
example
val items = List(1, 2, 3)
using filter
employees.filter($\"emp_id\".
where documentation:
Filters rows using the given condition. This is an alias for filter.
filter is simply the standard Scala (and FP in general) name for such a function, and where is for people who prefer SQL.
filter
where