Test Result : CastSuiteWithAnsiModeOn

0 failures (±0)
66 tests (±0)
Took 32 sec.

All Tests

Test nameDurationStatus
ANSI mode: Throw exception on casting out-of-range value to byte type0.25 secPassed
ANSI mode: Throw exception on casting out-of-range value to decimal type35 msPassed
ANSI mode: Throw exception on casting out-of-range value to int type0.22 secPassed
ANSI mode: Throw exception on casting out-of-range value to long type0.15 secPassed
ANSI mode: Throw exception on casting out-of-range value to short type0.24 secPassed
ANSI mode: cast string to boolean with parse error18 msPassed
ANSI mode: cast string to date with parse error93 msPassed
ANSI mode: cast string to timestamp with parse error0.11 secPassed
ANSI mode: disallow type conversions between Datatime types and Boolean types0 msPassed
ANSI mode: disallow type conversions between Numeric types and Binary type0 msPassed
ANSI mode: disallow type conversions between Numeric types and Date type1 msPassed
ANSI mode: disallow type conversions between Numeric types and Timestamp type0 msPassed
Fast fail for cast string type to decimal type in ansi mode61 msPassed
Process Infinity, -Infinity, NaN in case insensitive manner0.1 secPassed
SPARK-16729 type checking for casting to date type1 msPassed
SPARK-20302 cast with same structure25 msPassed
SPARK-22500: cast for struct should not generate codes beyond 64KB0.97 secPassed
SPARK-22570: Cast should not create a lot of global variables0 msPassed
SPARK-22825 Cast array to string0.13 secPassed
SPARK-22973 Cast map to string0.17 secPassed
SPARK-22981 Cast struct to string0.19 secPassed
SPARK-26218: Fix the corner case of codegen when casting float to Integer17 msPassed
SPARK-27671: cast from nested null type in struct0.29 secPassed
SPARK-33291: Cast array with null elements to string32 msPassed
SPARK-33291: Cast struct with null elements to string27 msPassed
SPARK-34667: cast year-month interval to string0.37 secPassed
SPARK-34668: cast day-time interval to string0.91 secPassed
SPARK-35111: Cast string to year-month interval0.21 secPassed
SPARK-35112: Cast string to day-time interval0.21 secPassed
SPARK-35698: cast timestamp without time zone to string47 msPassed
SPARK-35711: cast timestamp without time zone to timestamp with local time zone0.17 secPassed
SPARK-35716: cast timestamp without time zone to date type78 msPassed
SPARK-35718: cast date type to timestamp without timezone84 msPassed
SPARK-35719: cast timestamp with local time zone to timestamp without timezone0.43 secPassed
SPARK-35720: cast invalid string input to timestamp without time zone23 msPassed
SPARK-35720: cast string to timestamp without timezone0.25 secPassed
SPARK-35735: Take into account day-time interval fields in cast0.52 secPassed
SPARK-35768: Take into account year-month interval fields in cast0.1 secPassed
SPARK-35819: Support cast YearMonthIntervalType in different fields39 msPassed
SPARK-35820: Support cast DayTimeIntervalType in different fields0.16 secPassed
cast and add0.11 secPassed
cast between string and interval56 msPassed
cast from array33 msPassed
cast from array II20 msPassed
cast from boolean77 msPassed
cast from double82 msPassed
cast from float82 msPassed
cast from int0.13 secPassed
cast from invalid string array to numeric array should throw NumberFormatException41 msPassed
cast from invalid string to numeric should throw NumberFormatException74 msPassed
cast from long0.12 secPassed
cast from map19 msPassed
cast from map II39 msPassed
cast from string0 msPassed
cast from struct22 msPassed
cast from struct II58 msPassed
cast string to boolean63 msPassed
cast string to date45 msPassed
cast string to timestamp2.5 secPassed
cast struct with a timestamp field25 msPassed
complex casting1 msPassed
data type casting20 secPassed
disallow type conversions between Numeric types and Timestamp without time zone type0 msPassed
from decimal0.13 secPassed
null cast1.7 secPassed
up-cast5 msPassed