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

To get the same result from hive, seems we have to change everything to string here.