Test Result : EncoderResolutionSuite

0 failures (±0)
28 tests (+2)
Took 0.88 sec.

All Tests

Test nameDurationStatus
BigDecimal should fail0 msPassed
BigDecimal should success2 msPassed
BigDecimal should success3 msPassed
Date should fail0 msPassed
SPARK-28497: complex type is not compatible with string encoder schema7 msPassed
SPARK-31750: eliminate UpCast if child's dataType is DecimalType33 msPassed
Timestamp should success3 msPassed
cast from bigint to Int should fail2 msPassed
cast from bigint to String should success2 msPassed
cast from decimal(38,18) to Double should fail0 msPassed
cast from decimal(38,18) to Int should fail0 msPassed
cast from int to Long should success2 msPassed
cast from string to Long should fail1 msPassed
nested case class can have different number of fields from the real schema19 msPassed
nullability of array type element should not fail analysis36 msPassed
real type doesn't match encoder schema but they are compatible: array58 msPassed
real type doesn't match encoder schema but they are compatible: nested array52 msPassed
real type doesn't match encoder schema but they are compatible: nested product68 msPassed
real type doesn't match encoder schema but they are compatible: primitive array34 msPassed
real type doesn't match encoder schema but they are compatible: product59 msPassed
real type doesn't match encoder schema but they are compatible: tupled encoder0.38 secPassed
the real number of fields doesn't match encoder schema: nested tuple encoder19 msPassed
the real number of fields doesn't match encoder schema: tuple encoder11 msPassed
the real type is not compatible with encoder schema: array element type13 msPassed
the real type is not compatible with encoder schema: nested array element type31 msPassed
the real type is not compatible with encoder schema: non-array field10 msPassed
the real type is not compatible with encoder schema: primitive array12 msPassed
throw exception if real type is not compatible with encoder schema21 msPassed