Test Result : AnsiCastSuite

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

All Tests

Test nameDurationStatus
Process Infinity, -Infinity, NaN in case insensitive manner0.32 secPassed
SPARK-16729 type checking for casting to date type1 msPassed
SPARK-20302 cast with same structure37 msPassed
SPARK-22500: cast for struct should not generate codes beyond 64KB0.92 secPassed
SPARK-22570: Cast should not create a lot of global variables0 msPassed
SPARK-22825 Cast array to string0.22 secPassed
SPARK-22973 Cast map to string0.14 secPassed
SPARK-22981 Cast struct to string0.2 secPassed
SPARK-27671: cast from nested null type in struct0.38 secPassed
Throw exception on casting out-of-range value to byte type0.59 secPassed
Throw exception on casting out-of-range value to decimal type69 msPassed
Throw exception on casting out-of-range value to int type0.45 secPassed
Throw exception on casting out-of-range value to long type0.42 secPassed
Throw exception on casting out-of-range value to short type0.59 secPassed
cast a timestamp before the epoch 1970-01-01 00:00:00Z64 msPassed
cast and add0.12 secPassed
cast between string and interval94 msPassed
cast from array0.1 secPassed
cast from boolean0.12 secPassed
cast from date0.19 secPassed
cast from double0.25 secPassed
cast from float0.21 secPassed
cast from invalid string to numeric should throw NumberFormatException0.17 secPassed
cast from map98 msPassed
cast from string0 msPassed
cast from struct0.11 secPassed
cast from timestamp0.37 secPassed
cast string to boolean0.17 secPassed
cast string to date0.15 secPassed
cast string to timestamp21 secPassed
cast struct with a timestamp field30 msPassed
complex casting1 msPassed
data type casting33 secPassed
from decimal0.2 secPassed
null cast3.3 secPassed
up-cast14 msPassed