Hi, I just saw this question. I posted my solution to this stack overflow question. <https://stackoverflow.com/questions/29796928/whats-the-most-efficient-way-to-filter-a-dataframe>
Scala reflection can take a classloader when creating a mirror ( universe.runtimeMirror(loader)). I can have a look, but I didn’t find much about mirrors in spark-sql. iulian