Description
When casting the special values "now", "today", "tomorrow", and "yesterday" to DATE/TIMESTAMP, Spark may return inconsistent results.
Looks like Spark runs the expression on each executor, on every row independently. So the results could differ across executors if they have different system time, and across rows because of the resolution of "now".
Attachments
Issue Links
- is duplicated by
-
SPARK-36544 Special strings for dates are no longer automatically converted without the "date" keyword
- Resolved
- relates to
-
SPARK-28141 Date type can not accept special values
- Resolved
-
SPARK-29012 Timestamp type can not accept special values
- Resolved
- links to