Test Result : EncoderResolutionSuite

0 failures (±0)
28 tests (±0)
Took 0.34 sec.

All Tests

Test nameDurationStatus
SPARK-28497: complex type is not compatible with string encoder schema10 msPassed
SPARK-31750: eliminate UpCast if child's dataType is DecimalType19 msPassed
cast from bigint to Int should fail1 msPassed
cast from bigint to String should success1 msPassed
cast from bigint to java.math.BigDecimal should success2 msPassed
cast from date to java.sql.Timestamp should success2 msPassed
cast from decimal(38,18) to Double should fail0 msPassed
cast from decimal(38,18) to Int should fail1 msPassed
cast from double to java.math.BigDecimal should fail0 msPassed
cast from int to Long should success3 msPassed
cast from int to java.math.BigDecimal should success2 msPassed
cast from string to Long should fail1 msPassed
cast from timestamp to java.sql.Date should fail1 msPassed
nested case class can have different number of fields from the real schema11 msPassed
nullability of array type element should not fail analysis19 msPassed
real type doesn't match encoder schema but they are compatible: array32 msPassed
real type doesn't match encoder schema but they are compatible: nested array44 msPassed
real type doesn't match encoder schema but they are compatible: nested product26 msPassed
real type doesn't match encoder schema but they are compatible: primitive array20 msPassed
real type doesn't match encoder schema but they are compatible: product41 msPassed
real type doesn't match encoder schema but they are compatible: tupled encoder18 msPassed
the real number of fields doesn't match encoder schema: nested tuple encoder7 msPassed
the real number of fields doesn't match encoder schema: tuple encoder8 msPassed
the real type is not compatible with encoder schema: array element type14 msPassed
the real type is not compatible with encoder schema: nested array element type30 msPassed
the real type is not compatible with encoder schema: non-array field10 msPassed
the real type is not compatible with encoder schema: primitive array5 msPassed
throw exception if real type is not compatible with encoder schema14 msPassed