I have a Spark dataframe and I want to select few rows/records from them based on a matching value for a particular column. I guess I can do this using Filter operation or select operation in a map transformation.
But , i want to update a status column against those rows/records which has not been selected on applying filter.
On applying filter operation , I am getting back in response a new dataframe consisting of matching records.
So, How to know & update the column value of rows which are not selected?