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

Using long value of `java.sql.Date` is way too far from Hive. I have discussed with @chenghao-intel and We think we can leave it as it is and fix the ordering and comparing in a separate PR.