Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
0.1.0-m1
-
None
Description
The TRUNC(n1) function should return the integer part of n1 as an int. In drill, however, the value returned is a decimal. For example,
select trunc(15.79) from voter where voter_id=10;
returns 15.0
The other database platforms return an int value of 15.