I have a pyspark dataframe (df) which has a date column (data type: str) and a message column (data type str changed from a list object using concat_ws()) as shown below: