When I convert string to DateTime format I am getting this error.
from datetime import datetime from pyspark.sql.functions import col, udf from pyspark.sql.types