Test Result : EncoderResolutionSuite

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

All Tests

Test nameDurationStatus
BigDecimal should fail2 msPassed
BigDecimal should success3 msPassed
BigDecimal should success3 msPassed
Date should fail1 msPassed
SPARK-28497: complex type is not compatible with string encoder schema7 msPassed
Timestamp should success3 msPassed
cast from bigint to Int should fail2 msPassed
cast from bigint to String should success4 msPassed
cast from decimal(38,18) to Double should fail2 msPassed
cast from decimal(38,18) to Int should fail1 msPassed
cast from int to Long should success3 msPassed
cast from string to Long should fail2 msPassed
nested case class can have different number of fields from the real schema23 msPassed
nullability of array type element should not fail analysis85 msPassed
real type doesn't match encoder schema but they are compatible: array0.1 secPassed
real type doesn't match encoder schema but they are compatible: nested array0.16 secPassed
real type doesn't match encoder schema but they are compatible: nested product0.11 secPassed
real type doesn't match encoder schema but they are compatible: primitive array40 msPassed
real type doesn't match encoder schema but they are compatible: product60 msPassed
real type doesn't match encoder schema but they are compatible: tupled encoder77 msPassed
the real number of fields doesn't match encoder schema: nested tuple encoder22 msPassed
the real number of fields doesn't match encoder schema: tuple encoder0.1 secPassed
the real type is not compatible with encoder schema: array element type0.15 secPassed
the real type is not compatible with encoder schema: nested array element type85 msPassed
the real type is not compatible with encoder schema: non-array field0.21 secPassed
the real type is not compatible with encoder schema: primitive array14 msPassed
throw exception if real type is not compatible with encoder schema65 msPassed