Re: Dataset encoder for java.time.LocalDate?

2016-09-02 Thread Jakob Odersky
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

Dataset encoder for java.time.LocalDate?

2016-09-02 Thread Daniel Siegmann
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?