Apache Drill - Math Function LOG(x,y)



This function returns a floating type value.

Query

0: jdbc:drill:zk = local> values(log(2,10));

Result

+---------------------+
|       EXPR$0        |
+---------------------+
| 3.3219280948873626  |
+————————————————————-+

The output is a logarithmic value for the given input.

apache_drill_sql_operations.htm
Advertisements