Test Result : EncoderResolutionSuite

0 failures (±0)
27 tests (±0)
Took 0.33 sec.

All Tests

Test nameDurationStatus
BigDecimal should fail1 msPassed
BigDecimal should success1 msPassed
BigDecimal should success1 msPassed
Date should fail1 msPassed
SPARK-28497: complex type is not compatible with string encoder schema5 msPassed
Timestamp should success2 msPassed
cast from bigint to Int should fail1 msPassed
cast from bigint to String should success1 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 fail0 msPassed
nested case class can have different number of fields from the real schema10 msPassed
nullability of array type element should not fail analysis27 msPassed
real type doesn't match encoder schema but they are compatible: array40 msPassed
real type doesn't match encoder schema but they are compatible: nested array42 msPassed
real type doesn't match encoder schema but they are compatible: nested product32 msPassed
real type doesn't match encoder schema but they are compatible: primitive array23 msPassed
real type doesn't match encoder schema but they are compatible: product39 msPassed
real type doesn't match encoder schema but they are compatible: tupled encoder36 msPassed
the real number of fields doesn't match encoder schema: nested tuple encoder11 msPassed
the real number of fields doesn't match encoder schema: tuple encoder7 msPassed
the real type is not compatible with encoder schema: array element type8 msPassed
the real type is not compatible with encoder schema: nested array element type15 msPassed
the real type is not compatible with encoder schema: non-array field8 msPassed
the real type is not compatible with encoder schema: primitive array6 msPassed
throw exception if real type is not compatible with encoder schema18 msPassed