Apache Drill - Trig Function ACOS(x)



This acos(x) function returns the Inverse Cosine of the elements of x.

Query

0: jdbc:drill:zk = local> select acos(0.3) as inversecosine from (values(1));

Result

+---------------------+
|    inversecosine    |
+---------------------+
| 1.2661036727794992  |
+---------------------+

The output is inverse cosine for the given value.

apache_drill_sql_operations.htm
Advertisements