Test Result : AnsiCastSuite

0 failures
36 tests
Took 1 min 25 sec.

All Tests

Test nameDurationStatus
Process Infinity, -Infinity, NaN in case insensitive manner0.34 secPassed
SPARK-16729 type checking for casting to date type1 msPassed
SPARK-20302 cast with same structure59 msPassed
SPARK-22500: cast for struct should not generate codes beyond 64KB1 secPassed
SPARK-22570: Cast should not create a lot of global variables0 msPassed
SPARK-22825 Cast array to string0.37 secPassed
SPARK-22973 Cast map to string0.3 secPassed
SPARK-22981 Cast struct to string0.35 secPassed
SPARK-27671: cast from nested null type in struct0.77 secPassed
Throw exception on casting out-of-range value to byte type1.2 secPassed
Throw exception on casting out-of-range value to decimal type0.23 secPassed
Throw exception on casting out-of-range value to int type0.97 secPassed
Throw exception on casting out-of-range value to long type0.61 secPassed
Throw exception on casting out-of-range value to short type1.1 secPassed
cast a timestamp before the epoch 1970-01-01 00:00:00Z0.14 secPassed
cast and add0.23 secPassed
cast between string and interval0.12 secPassed
cast from array0.18 secPassed
cast from boolean0.19 secPassed
cast from date0.36 secPassed
cast from double0.27 secPassed
cast from float0.26 secPassed
cast from invalid string to numeric should throw NumberFormatException0.4 secPassed
cast from map0.13 secPassed
cast from string1 msPassed
cast from struct0.18 secPassed
cast from timestamp0.66 secPassed
cast string to boolean0.14 secPassed
cast string to date0.16 secPassed
cast string to timestamp13 secPassed
cast struct with a timestamp field49 msPassed
complex casting0 msPassed
data type casting56 secPassed
from decimal0.37 secPassed
null cast4.2 secPassed
up-cast29 msPassed