Test Result : TryCastSuite

0 failures (±0)
67 tests (±0)
Took 30 sec.

All Tests

Test nameDurationStatus
ANSI mode: Throw exception on casting out-of-range value to byte type0.24 secPassed
ANSI mode: Throw exception on casting out-of-range value to decimal type37 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.14 secPassed
ANSI mode: Throw exception on casting out-of-range value to short type0.25 secPassed
ANSI mode: cast string to boolean with parse error18 msPassed
ANSI mode: cast string to date with parse error0.17 secPassed
ANSI mode: cast string to timestamp with parse error0.22 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 type0 msPassed
ANSI mode: disallow type conversions between Numeric types and Timestamp type0 msPassed
Fast fail for cast string type to decimal type in ansi mode62 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.11 secPassed
SPARK-22973 Cast map to string0.14 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.24 secPassed
SPARK-33291: Cast array with null elements to string29 msPassed
SPARK-33291: Cast struct with null elements to string27 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.19 secPassed
SPARK-35112: Cast string to day-time interval0.18 secPassed
SPARK-35698: cast timestamp without time zone to string43 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 type64 msPassed
SPARK-35718: cast date type to timestamp without timezone58 msPassed
SPARK-35719: cast timestamp with local time zone to timestamp without timezone0.35 secPassed
SPARK-35720: cast invalid string input to timestamp without time zone30 msPassed
SPARK-35720: cast string to timestamp without timezone0.21 secPassed
SPARK-35735: Take into account day-time interval fields in cast0.56 secPassed
SPARK-35768: Take into account year-month interval fields in cast94 msPassed
SPARK-35819: Support cast YearMonthIntervalType in different fields37 msPassed
SPARK-35820: Support cast DayTimeIntervalType in different fields0.15 secPassed
cast and add61 msPassed
cast between string and interval34 msPassed
cast from array26 msPassed
cast from array II25 msPassed
cast from boolean71 msPassed
cast from double86 msPassed
cast from float89 msPassed
cast from int0.13 secPassed
cast from invalid string array to numeric array should throw NumberFormatException65 msPassed
cast from invalid string to numeric should throw NumberFormatException0.1 secPassed
cast from long0.11 secPassed
cast from map16 msPassed
cast from map II49 msPassed
cast from string0 msPassed
cast from struct14 msPassed
cast from struct II66 msPassed
cast string to boolean45 msPassed
cast string to date40 msPassed
cast string to timestamp2.4 secPassed
cast struct with a timestamp field16 msPassed
complex casting0 msPassed
data type casting18 secPassed
disallow type conversions between Numeric types and Timestamp without time zone type0 msPassed
from decimal90 msPassed
null cast1.5 secPassed
try_cast: to_string1 msPassed
up-cast4 msPassed