Test Result : AnsiCastSuiteWithAnsiModeOn

0 failures
52 tests
Took 1 min 30 sec.

All Tests

Test nameDurationStatus
ANSI mode: Throw exception on casting out-of-range value to byte type0.94 secPassed
ANSI mode: Throw exception on casting out-of-range value to decimal type0.14 secPassed
ANSI mode: Throw exception on casting out-of-range value to int type0.92 secPassed
ANSI mode: Throw exception on casting out-of-range value to long type0.6 secPassed
ANSI mode: Throw exception on casting out-of-range value to short type0.94 secPassed
ANSI mode: cast string to boolean with parse error57 msPassed
ANSI mode: cast string to date with parse error0.27 secPassed
ANSI mode: cast string to timestamp with parse error0.27 secPassed
ANSI mode: disallow type conversions between Datatime types and Boolean types0 msPassed
ANSI mode: disallow type conversions between Numeric types and Binary type1 msPassed
ANSI mode: disallow type conversions between Numeric types and Date type0 msPassed
ANSI mode: disallow type conversions between Numeric types and Timestamp type1 msPassed
Fast fail for cast string type to decimal type in ansi mode0.22 secPassed
Process Infinity, -Infinity, NaN in case insensitive manner0.21 secPassed
SPARK-16729 type checking for casting to date type1 msPassed
SPARK-20302 cast with same structure66 msPassed
SPARK-22500: cast for struct should not generate codes beyond 64KB0.91 secPassed
SPARK-22570: Cast should not create a lot of global variables1 msPassed
SPARK-22825 Cast array to string0.41 secPassed
SPARK-22973 Cast map to string0.53 secPassed
SPARK-22981 Cast struct to string0.69 secPassed
SPARK-26218: Fix the corner case of codegen when casting float to Integer57 msPassed
SPARK-27671: cast from nested null type in struct0.75 secPassed
SPARK-33291: Cast array with null elements to string93 msPassed
SPARK-33291: Cast struct with null elements to string0.1 secPassed
SPARK-34667: cast year-month interval to string0.72 secPassed
SPARK-34668: cast day-time interval to string0.92 secPassed
cast and add0.24 secPassed
cast between string and interval0.13 secPassed
cast from array0.1 secPassed
cast from array II61 msPassed
cast from boolean0.16 secPassed
cast from double0.23 secPassed
cast from float0.23 secPassed
cast from int0.37 secPassed
cast from invalid string array to numeric array should throw NumberFormatException0.17 secPassed
cast from invalid string to numeric should throw NumberFormatException0.24 secPassed
cast from long0.3 secPassed
cast from map52 msPassed
cast from map II0.12 secPassed
cast from string0 msPassed
cast from struct48 msPassed
cast from struct II0.17 secPassed
cast string to boolean0.12 secPassed
cast string to date79 msPassed
cast string to timestamp15 secPassed
cast struct with a timestamp field61 msPassed
complex casting1 msPassed
data type casting58 secPassed
from decimal0.41 secPassed
null cast3.6 secPassed
up-cast16 msPassed