Test Result : AnsiCastSuiteWithAnsiModeOn

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

All Tests

Test nameDurationStatus
ANSI mode: Throw exception on casting out-of-range value to byte type0.27 secPassed
ANSI mode: Throw exception on casting out-of-range value to decimal type28 msPassed
ANSI mode: Throw exception on casting out-of-range value to int type0.29 secPassed
ANSI mode: Throw exception on casting out-of-range value to long type0.12 secPassed
ANSI mode: Throw exception on casting out-of-range value to short type0.26 secPassed
ANSI mode: cast string to boolean with parse error14 msPassed
ANSI mode: cast string to date with parse error80 msPassed
ANSI mode: cast string to timestamp with parse error99 msPassed
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 mode52 msPassed
Process Infinity, -Infinity, NaN in case insensitive manner79 msPassed
SPARK-16729 type checking for casting to date type0 msPassed
SPARK-20302 cast with same structure19 msPassed
SPARK-22500: cast for struct should not generate codes beyond 64KB0.86 secPassed
SPARK-22570: Cast should not create a lot of global variables0 msPassed
SPARK-22825 Cast array to string0.11 secPassed
SPARK-22973 Cast map to string0.14 secPassed
SPARK-22981 Cast struct to string0.17 secPassed
SPARK-26218: Fix the corner case of codegen when casting float to Integer14 msPassed
SPARK-27671: cast from nested null type in struct0.32 secPassed
SPARK-33291: Cast array with null elements to string24 msPassed
SPARK-33291: Cast struct with null elements to string25 msPassed
SPARK-34667: cast year-month interval to string0.3 secPassed
SPARK-34668: cast day-time interval to string0.71 secPassed
SPARK-35111: Cast string to year-month interval0.18 secPassed
SPARK-35112: Cast string to day-time interval0.16 secPassed
SPARK-35698: cast timestamp without time zone to string42 msPassed
SPARK-35711: cast timestamp without time zone to timestamp with local time zone0.13 secPassed
SPARK-35716: cast timestamp without time zone to date type56 msPassed
SPARK-35718: cast date type to timestamp without timezone56 msPassed
SPARK-35719: cast timestamp with local time zone to timestamp without timezone0.33 secPassed
SPARK-35720: cast invalid string input to timestamp without time zone17 msPassed
SPARK-35720: cast string to timestamp without timezone0.2 secPassed
SPARK-35735: Take into account day-time interval fields in cast0.49 secPassed
SPARK-35768: Take into account year-month interval fields in cast95 msPassed
SPARK-35819: Support cast YearMonthIntervalType in different fields36 msPassed
SPARK-35820: Support cast DayTimeIntervalType in different fields0.14 secPassed
cast and add61 msPassed
cast between string and interval38 msPassed
cast from array27 msPassed
cast from array II17 msPassed
cast from boolean62 msPassed
cast from double76 msPassed
cast from float77 msPassed
cast from int0.12 secPassed
cast from invalid string array to numeric array should throw NumberFormatException36 msPassed
cast from invalid string to numeric should throw NumberFormatException63 msPassed
cast from long99 msPassed
cast from map16 msPassed
cast from map II37 msPassed
cast from string0 msPassed
cast from struct14 msPassed
cast from struct II47 msPassed
cast string to boolean45 msPassed
cast string to date38 msPassed
cast string to timestamp3.1 secPassed
cast struct with a timestamp field15 msPassed
complex casting1 msPassed
data type casting16 secPassed
disallow type conversions between Numeric types and Timestamp without time zone type1 msPassed
from decimal84 msPassed
null cast1.5 secPassed
up-cast8 msPassed