Apache Drill - Math Function ABS(x)
The output of this function type is the same as the same input type.
Query
0: jdbc:drill:zk = local> values(ABS(1.899));
or
0: jdbc:drill:zk = local> select ABS(1.899) from (values(1));
Result
+---------+ | EXPR$0 | +---------+ | 1.899 | +-+
apache_drill_sql_operations.htm
Advertisements