Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2021 11:19 PM
I notice you do not have leading zeroes in your data format,
try M/d/yyyy instead.
https://spark.apache.org/docs/latest/sql-ref-datetime-pattern.html
Maybe you have leading spaces too, so trim() might also help.
For sure this is not a bug because the date functions in Spark are rock solid.