[SPARK-5003][SQL]cast support date data type

enable cast to support date data type
such as : 
select * from tableX where dateFiled > cast('2014-12-30' as date)