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

Throw exception instead? Seems Hive does that.