Test Result : DateExpressionsSuite

0 failures (±0)
44 tests (±0)
Took 1 min 36 sec.

All Tests

Test nameDurationStatus
Consistent error handling for datetime formatting and parsing functions0.21 secPassed
DateFormat0.69 secPassed
Day / DayOfMonth19 secPassed
DayOfWeek0.24 secPassed
DayOfYear3.4 secPassed
Hour9.8 secPassed
ISO 8601 week-numbering year99 msPassed
Minute13 secPassed
Month4.9 secPassed
Quarter11 secPassed
SPARK-31710:Adds TIMESTAMP_SECONDS, TIMESTAMP_MILLIS and TIMESTAMP_MICROS functions0.33 secPassed
SPARK-31896: Handle am-pm timestamp parsing when hour is missing34 msPassed
Seconds3.2 secPassed
TruncDate0.4 secPassed
TruncTimestamp0.67 secPassed
WeekDay0.24 secPassed
WeekOfYear0.22 secPassed
Year10 secPassed
add_months0.23 secPassed
creating values of DateType via make_date0.24 secPassed
creating values of TimestampType via make_timestamp0.89 secPassed
date add interval0.25 secPassed
date_add0.32 secPassed
date_sub0.28 secPassed
datediff0.13 secPassed
datetime function current_date38 msPassed
datetime function current_timestamp0.54 secPassed
extract the seconds part with fraction from timestamps0.83 secPassed
from_unixtime1.3 secPassed
from_utc_timestamp0.28 secPassed
from_utc_timestamp - invalid time zone id30 msPassed
last_day0.36 secPassed
months_between2.1 secPassed
next_day0.37 secPassed
subtract dates0.45 secPassed
time_add1.1 secPassed
time_sub1.3 secPassed
timestamps difference0.11 secPassed
to_timestamp exception mode74 msPassed
to_unix_timestamp2.2 secPassed
to_utc_timestamp0.31 secPassed
to_utc_timestamp - invalid time zone id40 msPassed
unix_timestamp2 secPassed
unsupported fmt fields for trunc/date_trunc results null0.56 secPassed