// start off by creating a dummy file
persist((1 to 100).toDList.map { x => x.toString -> x.toString }.toAvroFile("blah", true))
// ok, now try read and use it
val input = fromAvroFile[(String, String)]("blah")
val finalResult = input.materialise join input.groupByKey
persist(finalResult)
To reproduce: