-werners-
Esteemed Contributor III

strange,

have you tried to create a column with to_date in your dataframe, so not in the replaceWhere condition?

df2 = df1.withColumn(to_date(..., "yyyyMMdd")) something like that

View solution in original post