I have a dataframe cached in memory using spark, on which I need to perform some lookup (using filter), like
val x = mydf.filter("id = 4526") OR val x =