I am using Spark 1.3.0 and Spark Avro 1.0.0. I am working from the example on the repository page. This following code works well
val df = sqlContext.read.avro("src/test/resources/episodes.avro")
df.filter("doctor > 5").write.avro("/tmp/output")
But what if I needed to see if the doctor
string contains a substring? Since we are writing our expression inside of a string. What do I do to do a "contains"?