Test Result : DataTypeSuite

0 failures (±0)
126 tests (±0)
Took 0.22 sec.

All Tests

Test nameDurationStatus
Check the default size of ArrayType(DoubleType,true)0 msPassed
Check the default size of ArrayType(StringType,false)0 msPassed
Check the default size of BinaryType1 msPassed
Check the default size of BooleanType0 msPassed
Check the default size of ByteType1 msPassed
Check the default size of DateType0 msPassed
Check the default size of DecimalType(10,5)0 msPassed
Check the default size of DecimalType(38,18)1 msPassed
Check the default size of DoubleType0 msPassed
Check the default size of FloatType0 msPassed
Check the default size of IntegerType0 msPassed
Check the default size of LongType0 msPassed
Check the default size of MapType(IntegerType,ArrayType(DoubleType,true),false)0 msPassed
Check the default size of MapType(IntegerType,StringType,true)0 msPassed
Check the default size of NullType1 msPassed
Check the default size of ShortType0 msPassed
Check the default size of StringType0 msPassed
Check the default size of StructType(StructField(a,IntegerType,true), StructField(b,ArrayType(DoubleType,true),false), StructField(c,DoubleType,false))1 msPassed
Check the default size of TimestampType1 msPassed
SPARK-25031: MapType should produce current formatted string for complex types1 msPassed
catalogString: ArrayType(IntegerType,true)1 msPassed
catalogString: ArrayType(StructType(StructField(col0,IntegerType,true), StructField(col1,IntegerType,true), StructField(col2,IntegerType,true), StructField(col3,IntegerType,true), StructField(col4,IntegerType,true), StructField(col5,IntegerType,true), StructField(col6,IntegerType,true), StructField(col7,IntegerType,true), StructField(col8,IntegerType,true), StructField(col9,IntegerType,true), StructField(col10,IntegerType,true), StructField(col11,IntegerType,true), StructField(col12,IntegerType,true), StructField(col13,IntegerType,true), StructField(col14,IntegerType,true), StructField(col15,IntegerType,true), StructField(col16,IntegerType,true), StructField(col17,IntegerType,true), StructField(col18,IntegerType,true), StructField(col19,IntegerType,true), StructField(col20,IntegerType,true), StructField(col21,IntegerType,true), StructField(col22,IntegerType,true), StructField(col23,IntegerType,true), StructField(col24,IntegerType,true), StructField(col25,IntegerType,true), StructField(col26,IntegerType,true), StructField(col27,IntegerType,true), StructField(col28,IntegerType,true), StructField(col29,IntegerType,true), StructField(col30,IntegerType,true), StructField(col31,IntegerType,true), StructField(col32,IntegerType,true), StructField(col33,IntegerType,true), StructField(col34,IntegerType,true), StructField(col35,IntegerType,true), StructField(col36,IntegerType,true), StructField(col37,IntegerType,true), StructField(col38,IntegerType,true), StructField(col39,IntegerType,true)),true)2 msPassed
catalogString: BinaryType0 msPassed
catalogString: BooleanType1 msPassed
catalogString: ByteType1 msPassed
catalogString: DateType0 msPassed
catalogString: DecimalType(10,5)1 msPassed
catalogString: DoubleType1 msPassed
catalogString: FloatType1 msPassed
catalogString: IntegerType0 msPassed
catalogString: LongType0 msPassed
catalogString: MapType(IntegerType,StringType,true)0 msPassed
catalogString: MapType(IntegerType,StructType(StructField(col0,IntegerType,true), StructField(col1,IntegerType,true), StructField(col2,IntegerType,true), StructField(col3,IntegerType,true), StructField(col4,IntegerType,true), StructField(col5,IntegerType,true), StructField(col6,IntegerType,true), StructField(col7,IntegerType,true), StructField(col8,IntegerType,true), StructField(col9,IntegerType,true), StructField(col10,IntegerType,true), StructField(col11,IntegerType,true), StructField(col12,IntegerType,true), StructField(col13,IntegerType,true), StructField(col14,IntegerType,true), StructField(col15,IntegerType,true), StructField(col16,IntegerType,true), StructField(col17,IntegerType,true), StructField(col18,IntegerType,true), StructField(col19,IntegerType,true), StructField(col20,IntegerType,true), StructField(col21,IntegerType,true), StructField(col22,IntegerType,true), StructField(col23,IntegerType,true), StructField(col24,IntegerType,true), StructField(col25,IntegerType,true), StructField(col26,IntegerType,true), StructField(col27,IntegerType,true), StructField(col28,IntegerType,true), StructField(col29,IntegerType,true), StructField(col30,IntegerType,true), StructField(col31,IntegerType,true), StructField(col32,IntegerType,true), StructField(col33,IntegerType,true), StructField(col34,IntegerType,true), StructField(col35,IntegerType,true), StructField(col36,IntegerType,true), StructField(col37,IntegerType,true), StructField(col38,IntegerType,true), StructField(col39,IntegerType,true)),true)2 msPassed
catalogString: ShortType0 msPassed
catalogString: StringType0 msPassed
catalogString: StructType(StructField(col0,IntegerType,true), StructField(col1,IntegerType,true), StructField(col2,IntegerType,true), StructField(col3,IntegerType,true))1 msPassed
catalogString: StructType(StructField(col0,IntegerType,true), StructField(col1,IntegerType,true), StructField(col2,IntegerType,true), StructField(col3,IntegerType,true), StructField(col4,IntegerType,true), StructField(col5,IntegerType,true), StructField(col6,IntegerType,true), StructField(col7,IntegerType,true), StructField(col8,IntegerType,true), StructField(col9,IntegerType,true), StructField(col10,IntegerType,true), StructField(col11,IntegerType,true), StructField(col12,IntegerType,true), StructField(col13,IntegerType,true), StructField(col14,IntegerType,true), StructField(col15,IntegerType,true), StructField(col16,IntegerType,true), StructField(col17,IntegerType,true), StructField(col18,IntegerType,true), StructField(col19,IntegerType,true), StructField(col20,IntegerType,true), StructField(col21,IntegerType,true), StructField(col22,IntegerType,true), StructField(col23,IntegerType,true), StructField(col24,IntegerType,true), StructField(col25,IntegerType,true), StructField(col26,IntegerType,true), StructField(col27,IntegerType,true), StructField(col28,IntegerType,true), StructField(col29,IntegerType,true), StructField(col30,IntegerType,true), StructField(col31,IntegerType,true), StructField(col32,IntegerType,true), StructField(col33,IntegerType,true), StructField(col34,IntegerType,true), StructField(col35,IntegerType,true), StructField(col36,IntegerType,true), StructField(col37,IntegerType,true), StructField(col38,IntegerType,true), StructField(col39,IntegerType,true))2 msPassed
catalogString: TimestampType1 msPassed
construct an ArrayType1 msPassed
construct an MapType0 msPassed
construct with String DataType0 msPassed
construct with add1 msPassed
construct with add from StructField1 msPassed
construct with add from StructField with comments0 msPassed
equalsIgnoreCompatibleNullability: (from: ArrayType(DoubleType,false), to: ArrayType(DoubleType,false))1 msPassed
equalsIgnoreCompatibleNullability: (from: ArrayType(DoubleType,false), to: ArrayType(DoubleType,true))0 msPassed
equalsIgnoreCompatibleNullability: (from: ArrayType(DoubleType,false), to: ArrayType(StringType,false))0 msPassed
equalsIgnoreCompatibleNullability: (from: ArrayType(DoubleType,true), to: ArrayType(DoubleType,false))1 msPassed
equalsIgnoreCompatibleNullability: (from: ArrayType(DoubleType,true), to: ArrayType(DoubleType,true))0 msPassed
equalsIgnoreCompatibleNullability: (from: MapType(StringType,ArrayType(IntegerType,false),true), to: MapType(StringType,ArrayType(IntegerType,true),true))0 msPassed
equalsIgnoreCompatibleNullability: (from: MapType(StringType,ArrayType(IntegerType,true),true), to: MapType(StringType,ArrayType(IntegerType,false),true))0 msPassed
equalsIgnoreCompatibleNullability: (from: MapType(StringType,DoubleType,false), to: MapType(StringType,DoubleType,false))0 msPassed
equalsIgnoreCompatibleNullability: (from: MapType(StringType,DoubleType,false), to: MapType(StringType,DoubleType,true))1 msPassed
equalsIgnoreCompatibleNullability: (from: MapType(StringType,DoubleType,true), to: MapType(StringType,DoubleType,false))0 msPassed
equalsIgnoreCompatibleNullability: (from: MapType(StringType,DoubleType,true), to: MapType(StringType,DoubleType,true))0 msPassed
equalsIgnoreCompatibleNullability: (from: StructType(StructField(a,StringType,false)), to: StructType(StructField(a,StringType,false)))1 msPassed
equalsIgnoreCompatibleNullability: (from: StructType(StructField(a,StringType,false)), to: StructType(StructField(a,StringType,true)))0 msPassed
equalsIgnoreCompatibleNullability: (from: StructType(StructField(a,StringType,false), StructField(b,StringType,true)), to: StructType(StructField(a,StringType,false), StructField(b,StringType,false)))0 msPassed
equalsIgnoreCompatibleNullability: (from: StructType(StructField(a,StringType,true)), to: StructType(StructField(a,StringType,false)))0 msPassed
equalsIgnoreCompatibleNullability: (from: StructType(StructField(a,StringType,true)), to: StructType(StructField(a,StringType,true)))1 msPassed
equalsStructurally: (from: ArrayType(ArrayType(IntegerType,true),false), to: ArrayType(ArrayType(IntegerType,false),true), ignoreNullability: true)0 msPassed
equalsStructurally: (from: ArrayType(ArrayType(IntegerType,true),false), to: ArrayType(ArrayType(IntegerType,true),true), ignoreNullability: false)0 msPassed
equalsStructurally: (from: ArrayType(ArrayType(IntegerType,true),false), to: ArrayType(ArrayType(IntegerType,true),true), ignoreNullability: true)2 msPassed
equalsStructurally: (from: ArrayType(ArrayType(IntegerType,true),true), to: ArrayType(ArrayType(IntegerType,false),true), ignoreNullability: false)0 msPassed
equalsStructurally: (from: ArrayType(ArrayType(IntegerType,true),true), to: ArrayType(ArrayType(IntegerType,true),true), ignoreNullability: false)1 msPassed
equalsStructurally: (from: ArrayType(IntegerType,true), to: ArrayType(IntegerType,false), ignoreNullability: false)1 msPassed
equalsStructurally: (from: ArrayType(IntegerType,true), to: ArrayType(IntegerType,true), ignoreNullability: false)0 msPassed
equalsStructurally: (from: BooleanType, to: BooleanType, ignoreNullability: false)0 msPassed
equalsStructurally: (from: IntegerType, to: IntegerType, ignoreNullability: false)0 msPassed
equalsStructurally: (from: IntegerType, to: LongType, ignoreNullability: false)0 msPassed
equalsStructurally: (from: MapType(ArrayType(IntegerType,false),ArrayType(IntegerType,true),true), to: MapType(ArrayType(IntegerType,true),ArrayType(IntegerType,true),true), ignoreNullability: true)0 msPassed
equalsStructurally: (from: MapType(ArrayType(IntegerType,true),ArrayType(IntegerType,true),true), to: MapType(ArrayType(IntegerType,true),ArrayType(IntegerType,false),true), ignoreNullability: false)0 msPassed
equalsStructurally: (from: MapType(ArrayType(IntegerType,true),ArrayType(IntegerType,true),true), to: MapType(ArrayType(IntegerType,true),ArrayType(IntegerType,false),true), ignoreNullability: true)0 msPassed
equalsStructurally: (from: MapType(ArrayType(IntegerType,true),ArrayType(IntegerType,true),true), to: MapType(ArrayType(IntegerType,true),ArrayType(IntegerType,true),false), ignoreNullability: false)0 msPassed
equalsStructurally: (from: MapType(ArrayType(IntegerType,true),ArrayType(IntegerType,true),true), to: MapType(ArrayType(IntegerType,true),ArrayType(IntegerType,true),false), ignoreNullability: true)1 msPassed
equalsStructurally: (from: MapType(ArrayType(IntegerType,true),ArrayType(IntegerType,true),true), to: MapType(ArrayType(IntegerType,true),ArrayType(IntegerType,true),true), ignoreNullability: false)0 msPassed
equalsStructurally: (from: StructType(StructField(f1,IntegerType,true)), to: StructType(StructField(f2,IntegerType,false)), ignoreNullability: false)0 msPassed
equalsStructurally: (from: StructType(StructField(f1,IntegerType,true)), to: StructType(StructField(f2,IntegerType,true)), ignoreNullability: false)1 msPassed
equalsStructurally: (from: StructType(StructField(f1,IntegerType,true), StructField(f,StructType(StructField(f2,StringType,false)),true)), to: StructType(StructField(f2,IntegerType,true), StructField(g,StructType(StructField(f1,StringType,true)),true)), ignoreNullability: false)0 msPassed
equalsStructurally: (from: StructType(StructField(f1,IntegerType,true), StructField(f,StructType(StructField(f2,StringType,false)),true)), to: StructType(StructField(f2,IntegerType,true), StructField(g,StructType(StructField(f1,StringType,true)),true)), ignoreNullability: true)1 msPassed
equalsStructurally: (from: StructType(StructField(f1,IntegerType,true), StructField(f,StructType(StructField(f2,StringType,true)),true)), to: StructType(StructField(f2,IntegerType,false), StructField(g,StructType(StructField(f1,StringType,true)),true)), ignoreNullability: true)1 msPassed
equalsStructurally: (from: StructType(StructField(f1,IntegerType,true), StructField(f,StructType(StructField(f2,StringType,true)),true)), to: StructType(StructField(f2,IntegerType,true), StructField(g,StructType(StructField(f1,StringType,true)),true)), ignoreNullability: false)0 msPassed
existsRecursively19 msPassed
extract field index from a StructType1 msPassed
extract fields from a StructType2 msPassed
fieldNames and names returns field names1 msPassed
fieldsMap returns map of name to StructField9 msPassed
from DDL - ArrayType(DoubleType,true)0 msPassed
from DDL - ArrayType(StringType,false)1 msPassed
from DDL - BinaryType17 msPassed
from DDL - BooleanType1 msPassed
from DDL - ByteType0 msPassed
from DDL - DateType0 msPassed
from DDL - DecimalType(10,5)1 msPassed
from DDL - DecimalType(38,18)0 msPassed
from DDL - DoubleType1 msPassed
from DDL - FloatType0 msPassed
from DDL - IntegerType0 msPassed
from DDL - LongType0 msPassed
from DDL - MapType(IntegerType,ArrayType(DoubleType,true),false)0 msPassed
from DDL - MapType(IntegerType,StringType,true)2 msPassed
from DDL - ShortType1 msPassed
from DDL - StringType0 msPassed
from DDL - StructType(StructField(a,IntegerType,true), StructField(b,ArrayType(DoubleType,true),false), StructField(c,DoubleType,false))2 msPassed
from DDL - TimestampType0 msPassed
from Json - ArrayType(DoubleType,true)5 msPassed
from Json - ArrayType(StringType,false)0 msPassed
from Json - BinaryType0 msPassed
from Json - BooleanType1 msPassed
from Json - ByteType0 msPassed
from Json - DateType1 msPassed
from Json - DecimalType(10,5)0 msPassed
from Json - DecimalType(38,18)1 msPassed
from Json - DoubleType0 msPassed
from Json - FloatType1 msPassed
from Json - IntegerType0 msPassed
from Json - LongType1 msPassed
from Json - MapType(IntegerType,ArrayType(DoubleType,true),false)0 msPassed
from Json - MapType(IntegerType,StringType,true)1 msPassed
from Json - NullType86 msPassed
from Json - ShortType1 msPassed
from Json - StringType1 msPassed
from Json - StructType(StructField(a,IntegerType,true), StructField(b,ArrayType(DoubleType,true),false), StructField(c,DoubleType,false))12 msPassed
from Json - TimestampType1 msPassed
fromJson throws an exception when given type string is invalid14 msPassed
merge where right contains type conflict3 msPassed