Test Result : TryCastSuite

0 failures
53 tests
Took 1 min 58 sec.

All Tests

Test nameDurationStatus
ANSI mode: Throw exception on casting out-of-range value to byte type1.2 secPassed
ANSI mode: Throw exception on casting out-of-range value to decimal type0.18 secPassed
ANSI mode: Throw exception on casting out-of-range value to int type1.1 secPassed
ANSI mode: Throw exception on casting out-of-range value to long type0.81 secPassed
ANSI mode: Throw exception on casting out-of-range value to short type1.3 secPassed
ANSI mode: cast string to boolean with parse error80 msPassed
ANSI mode: cast string to date with parse error0.65 secPassed
ANSI mode: cast string to timestamp with parse error0.66 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 type1 msPassed
Fast fail for cast string type to decimal type in ansi mode0.28 secPassed
Process Infinity, -Infinity, NaN in case insensitive manner0.24 secPassed
SPARK-16729 type checking for casting to date type0 msPassed
SPARK-20302 cast with same structure79 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.51 secPassed
SPARK-22973 Cast map to string0.68 secPassed
SPARK-22981 Cast struct to string0.84 secPassed
SPARK-26218: Fix the corner case of codegen when casting float to Integer77 msPassed
SPARK-27671: cast from nested null type in struct0.95 secPassed
SPARK-33291: Cast array with null elements to string0.12 secPassed
SPARK-33291: Cast struct with null elements to string0.12 secPassed
SPARK-34667: cast year-month interval to string0.89 secPassed
SPARK-34668: cast day-time interval to string1.1 secPassed
cast and add0.3 secPassed
cast between string and interval0.15 secPassed
cast from array0.12 secPassed
cast from array II0.11 secPassed
cast from boolean0.24 secPassed
cast from double0.32 secPassed
cast from float0.32 secPassed
cast from int0.51 secPassed
cast from invalid string array to numeric array should throw NumberFormatException0.32 secPassed
cast from invalid string to numeric should throw NumberFormatException0.4 secPassed
cast from long0.43 secPassed
cast from map64 msPassed
cast from map II0.19 secPassed
cast from string1 msPassed
cast from struct61 msPassed
cast from struct II0.27 secPassed
cast string to boolean0.14 secPassed
cast string to date0.1 secPassed
cast string to timestamp18 secPassed
cast struct with a timestamp field76 msPassed
complex casting0 msPassed
data type casting1 min 17 secPassed
from decimal0.47 secPassed
null cast4.8 secPassed
try_cast: to_string2 msPassed
up-cast4 msPassed