Spark dataframe select rows with at least one null or blank in any column of that row

Viewed 4194

from one dataframe i want to create a new dataframe where at least one value in any of the columns is null or blank in spark 1.5 / scala.

i am trying to write a generalize function to create this new dataframe. where i pass the dataframe and the list of columns and creates the record.

Thanks

1 Answers
Related