Apache Tajo - to_date(src text, format text)



Let us now check the to_date(date,format) function with the following query.

Query

default> select to_date('2014-01-04', ‘YYYY-MM-DD');  

Result

The above query will generate the following result.

?to_date 
------------------------------- 
2014-01-04 

The query returns the date conversion.

apache_tajo_datetime_functions.htm
Advertisements