pyspark to_date fail to infer format
I have a column of type string where the values are of the form ‘Jun 2019’; ‘Sep 2020’; etc.
I am trying to extract the year out of it, but it seems like to_date function fail to convert the data to datetime format