Apache Drill - Trig Function SIN(x)


The following program shows the query for this function −

Query

0: jdbc:drill:zk = local> values(sin(45));

Result

+---------------------+
|       EXPR$0        |
+---------------------+
| 0.8509035245341184  |
+---------------------+

Here the sin 45 value is returned as the output.

apache_drill_sql_operations.htm
Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements