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

Nit: Keep in the same line.