Apache Drill - Date Time CURRENT_DATE



The following program shows the query for this function −

Query

0: jdbc:drill:zk = local> select CURRENT_DATE from (values(1));

Result

+---------------+
| current_date  | 
+---------------+
|  2016-04-07   |
+———————————————+

The output returns current date for the day.

apache_drill_sql_operations.htm
Advertisements