Test Result : AnsiCastSuite

0 failures (±0)
36 tests (±0)
Took 2 min 6 sec.

All Tests

Test nameDurationStatus
Process Infinity, -Infinity, NaN in case insensitive manner0.48 secPassed
SPARK-16729 type checking for casting to date type1 msPassed
SPARK-20302 cast with same structure84 msPassed
SPARK-22500: cast for struct should not generate codes beyond 64KB1 secPassed
SPARK-22570: Cast should not create a lot of global variables1 msPassed
SPARK-22825 Cast array to string0.57 secPassed
SPARK-22973 Cast map to string0.39 secPassed
SPARK-22981 Cast struct to string0.41 secPassed
SPARK-27671: cast from nested null type in struct0.91 secPassed
Throw exception on casting out-of-range value to byte type1.5 secPassed
Throw exception on casting out-of-range value to decimal type0.2 secPassed
Throw exception on casting out-of-range value to int type1.2 secPassed
Throw exception on casting out-of-range value to long type1 secPassed
Throw exception on casting out-of-range value to short type1.5 secPassed
cast a timestamp before the epoch 1970-01-01 00:00:00Z0.18 secPassed
cast and add0.32 secPassed
cast between string and interval0.17 secPassed
cast from array0.25 secPassed
cast from boolean0.28 secPassed
cast from date0.47 secPassed
cast from double0.43 secPassed
cast from float0.43 secPassed
cast from invalid string to numeric should throw NumberFormatException0.43 secPassed
cast from map0.16 secPassed
cast from string1 msPassed
cast from struct0.23 secPassed
cast from timestamp0.91 secPassed
cast string to boolean0.3 secPassed
cast string to date0.31 secPassed
cast string to timestamp22 secPassed
cast struct with a timestamp field68 msPassed
complex casting0 msPassed
data type casting1 min 21 secPassed
from decimal0.49 secPassed
null cast7.4 secPassed
up-cast24 msPassed