As Josh pointed out, sql also override persist. Make persist behave the same as in the underlying RDD as well