Test Result : CastSuite

0 failures (±0)
44 tests (+10)
Took 2 min 51 sec.

All Tests

Test nameDurationStatus
Cast should output null for invalid strings when ANSI is not enabled0.86 secPassed
NullTypes should be able to cast to any complex types3 msPassed
Process Infinity, -Infinity, NaN in case insensitive manner0.99 secPassed
SPARK-16729 type checking for casting to date type1 msPassed
SPARK-20302 cast with same structure0.1 secPassed
SPARK-22500: cast for struct should not generate codes beyond 64KB1.7 secPassed
SPARK-22570: Cast should not create a lot of global variables3 msPassed
SPARK-22825 Cast array to string1.4 secPassed
SPARK-22973 Cast map to string0.93 secPassed
SPARK-22981 Cast struct to string0.97 secPassed
SPARK-27671: cast from nested null type in struct1.3 secPassed
SPARK-28470: Cast should honor nullOnOverflow property0.36 secPassed
SPARK-31227: Non-nullable null type should not coerce to nullable type8 msPassed
Throw exception on casting out-of-range value to byte type1.4 secPassed
Throw exception on casting out-of-range value to decimal type0.23 secPassed
Throw exception on casting out-of-range value to int type1.3 secPassed
Throw exception on casting out-of-range value to long type0.89 secPassed
Throw exception on casting out-of-range value to short type1.4 secPassed
cast a timestamp before the epoch 1970-01-01 00:00:00Z0.36 secPassed
cast and add0.4 secPassed
cast between string and interval0.44 secPassed
cast from array0.39 secPassed
cast from boolean0.25 secPassed
cast from date0.93 secPassed
cast from double0.39 secPassed
cast from float0.32 secPassed
cast from int0.74 secPassed
cast from int 20.21 secPassed
cast from long0.75 secPassed
cast from map0.27 secPassed
cast from string5 msPassed
cast from struct0.86 secPassed
cast from timestamp0.89 secPassed
cast string to boolean0.34 secPassed
cast string to date1.2 secPassed
cast string to timestamp26 secPassed
cast struct with a timestamp field0.17 secPassed
casting to fixed-precision decimals3.6 secPassed
collect_list/collect_set can cast to ArrayType not containsNull15 msPassed
complex casting18 msPassed
data type casting1 min 46 secPassed
from decimal1.5 secPassed
null cast9.4 secPassed
up-cast88 msPassed