Test Result : DateExpressionsSuite

0 failures
55 tests
Took 2 min 14 sec.

All Tests

Test nameDurationStatus
Consistent error handling for datetime formatting and parsing functions0.2 secPassed
DATE_FROM_UNIX_DATE0.28 secPassed
DateFormat0.4 secPassed
Day / DayOfMonth39 secPassed
DayOfWeek0.3 secPassed
DayOfYear2.3 secPassed
Hour10 secPassed
ISO 8601 week-numbering year0.1 secPassed
Minute18 secPassed
Month5.8 secPassed
Quarter12 secPassed
SPARK-31896: Handle am-pm timestamp parsing when hour is missing16 msPassed
SPARK-33498: GetTimestamp,UnixTimestamp,ToUnixTimestamp with parseError0.37 secPassed
SPARK-34721: add a year-month interval to a date0.19 secPassed
SPARK-34739: add a year-month interval to a timestamp2 secPassed
SPARK-34761: add a day-time interval to a timestamp2.3 secPassed
SPARK-34896: subtract dates0.75 secPassed
SPARK-34903: timestamps difference2.9 secPassed
Seconds3.7 secPassed
TIMESTAMP_MICROS0.32 secPassed
TIMESTAMP_MILLIS0.31 secPassed
TIMESTAMP_SECONDS0.78 secPassed
TruncDate0.41 secPassed
TruncTimestamp0.8 secPassed
UNIX_DATE59 msPassed
UNIX_MICROS0.14 secPassed
UNIX_MILLIS0.15 secPassed
UNIX_SECONDS0.18 secPassed
WeekDay0.28 secPassed
WeekOfYear0.25 secPassed
Year9.7 secPassed
add_months0.46 secPassed
creating values of DateType via make_date0.6 secPassed
creating values of TimestampType via make_timestamp1.7 secPassed
date add interval0.26 secPassed
date_add0.48 secPassed
date_sub0.48 secPassed
datediff0.14 secPassed
datetime function current_date7 msPassed
datetime function current_timestamp1 msPassed
extract the seconds part with fraction from timestamps0.56 secPassed
from_unixtime1.1 secPassed
from_utc_timestamp0.36 secPassed
from_utc_timestamp - invalid time zone id54 msPassed
last_day0.67 secPassed
months_between3.8 secPassed
next_day0.56 secPassed
time_add1.7 secPassed
time_sub2.3 secPassed
to_timestamp exception mode67 msPassed
to_unix_timestamp1 secPassed
to_utc_timestamp0.42 secPassed
to_utc_timestamp - invalid time zone id56 msPassed
unix_timestamp1 secPassed
unsupported fmt fields for trunc/date_trunc results null0.48 secPassed