Spark SQL, version 3.01, documentation quote:
to_date(date_str[, fmt]) | Parses the date_str expression with the fmt expression
date_str
fmt