Apache Drill - Date Time CURRENT_TIME



The following program shows the query for this function −

Query

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

Result

+---------------+
| current_time  |
+---------------+
| 11:50:34.384  |
+———————————————+

The output returns current time for the day.

apache_drill_sql_operations.htm
Advertisements