Test Result : CastSuiteWithAnsiModeOn

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.29 secPassed
ANSI mode: Throw exception on casting out-of-range value to decimal type29 msPassed
ANSI mode: Throw exception on casting out-of-range value to int type0.19 secPassed
ANSI mode: Throw exception on casting out-of-range value to long type0.13 secPassed
ANSI mode: Throw exception on casting out-of-range value to short type0.21 secPassed
ANSI mode: cast string to boolean with parse error14 msPassed
ANSI mode: cast string to date with parse error84 msPassed
ANSI mode: cast string to timestamp with parse error0.1 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 mode53 msPassed
Process Infinity, -Infinity, NaN in case insensitive manner83 msPassed
SPARK-16729 type checking for casting to date type1 msPassed
SPARK-20302 cast with same structure17 msPassed
SPARK-22500: cast for struct should not generate codes beyond 64KB1 secPassed
SPARK-22570: Cast should not create a lot of global variables0 msPassed
SPARK-22825 Cast array to string0.1 secPassed
SPARK-22973 Cast map to string0.13 secPassed
SPARK-22981 Cast struct to string0.16 secPassed
SPARK-26218: Fix the corner case of codegen when casting float to Integer14 msPassed
SPARK-27671: cast from nested null type in struct0.23 secPassed
SPARK-33291: Cast array with null elements to string23 msPassed
SPARK-33291: Cast struct with null elements to string25 msPassed
SPARK-34667: cast year-month interval to string0.28 secPassed
SPARK-34668: cast day-time interval to string0.7 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 string41 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 type57 msPassed
SPARK-35718: cast date type to timestamp without timezone55 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.21 secPassed
SPARK-35735: Take into account day-time interval fields in cast0.55 secPassed
SPARK-35768: Take into account year-month interval fields in cast97 msPassed
SPARK-35819: Support cast YearMonthIntervalType in different fields36 msPassed
SPARK-35820: Support cast DayTimeIntervalType in different fields0.14 secPassed
cast and add59 msPassed
cast between string and interval34 msPassed
cast from array25 msPassed
cast from array II17 msPassed
cast from boolean82 msPassed
cast from double78 msPassed
cast from float79 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 long0.1 secPassed
cast from map15 msPassed
cast from map II34 msPassed
cast from string0 msPassed
cast from struct14 msPassed
cast from struct II47 msPassed
cast string to boolean45 msPassed
cast string to date44 msPassed
cast string to timestamp3.1 secPassed
cast struct with a timestamp field15 msPassed
complex casting0 msPassed
data type casting17 secPassed
disallow type conversions between Numeric types and Timestamp without time zone type1 msPassed
from decimal86 msPassed
null cast1.6 secPassed
up-cast5 msPassed