Test Result : AnsiCastSuite

0 failures
36 tests
Took 3 min 1 sec.

All Tests

Test nameDurationStatus
Process Infinity, -Infinity, NaN in case insensitive manner1 secPassed
SPARK-16729 type checking for casting to date type0 msPassed
SPARK-20302 cast with same structure0.15 secPassed
SPARK-22500: cast for struct should not generate codes beyond 64KB1.5 secPassed
SPARK-22570: Cast should not create a lot of global variables1 msPassed
SPARK-22825 Cast array to string0.53 secPassed
SPARK-22973 Cast map to string0.72 secPassed
SPARK-22981 Cast struct to string0.75 secPassed
SPARK-27671: cast from nested null type in struct1 secPassed
Throw exception on casting out-of-range value to byte type2.1 secPassed
Throw exception on casting out-of-range value to decimal type0.2 secPassed
Throw exception on casting out-of-range value to int type2.7 secPassed
Throw exception on casting out-of-range value to long type1.3 secPassed
Throw exception on casting out-of-range value to short type2 secPassed
cast a timestamp before the epoch 1970-01-01 00:00:00Z0.17 secPassed
cast and add1 secPassed
cast between string and interval0.21 secPassed
cast from array0.28 secPassed
cast from boolean0.34 secPassed
cast from date0.66 secPassed
cast from double0.54 secPassed
cast from float0.5 secPassed
cast from invalid string to numeric should throw NumberFormatException0.6 secPassed
cast from map0.24 secPassed
cast from string1 msPassed
cast from struct0.33 secPassed
cast from timestamp1.1 secPassed
cast string to boolean0.38 secPassed
cast string to date0.75 secPassed
cast string to timestamp46 secPassed
cast struct with a timestamp field85 msPassed
complex casting1 msPassed
data type casting1 min 44 secPassed
from decimal0.58 secPassed
null cast9.1 secPassed
up-cast25 msPassed