Spark Sql Array Filter Method