Spark currently requires at least Java 1.7, so adding a Java
1.8-specific encoder will not be straightforward without affecting
requirements. I can think of two solutions:
1. add a Java 1.8 build profile which includes such encoders (this may
be useful for Scala 2.12 support in the future as
It seems Spark can handle case classes with java.sql.Date, but not
java.time.LocalDate. It complains there's no encoder.
Are there any plans to add an encoder for LocalDate (and other classes in
the new Java 8 Time and Date API), or is there an existing library I can
use that provides encoders?