[SPARK-3407][SQL]Add Date type support

Nit: Hmm, actually `: Unit =` is more recommended :)