add spark 1.0 integration support