
- Apache Drill Tutorial
- Apache Drill - Home
- Apache Drill - Introduction
- Apache Drill - Fundamentals
- Apache Drill - Architecture
- Apache Drill - Installation
- Apache Drill - SQL Operations
- Apache Drill - Query using JSON
- Window Functions using JSON
- Querying Complex Data
- Data Definition Statements
- Apache Drill - Querying Data
- Querying Data using HBase
- Querying Data using Hive
- Apache Drill - Querying Parquet Files
- Apache Drill - JDBC Interface
- Apache Drill - Custom Function
- Apache Drill - Contributors
- Apache Drill Useful Resources
- Apache Drill - Quick Guide
- Apache Drill - Useful Resources
- Apache Drill - Discussion
Apache Drill - Math Function FLOOR(x)
The following program shows the query for this function −
Query
0: jdbc:drill:zk = local> values(floor(3.9));
Result
+---------+ | EXPR$0 | +---------+ | 3.0 | +---------+
The given input value 3.9 is changed to the floor value which is 3.0.
apache_drill_sql_operations.htm
Advertisements