You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Krystal (JIRA)" <ji...@apache.org> on 2014/05/13 18:19:15 UTC

[jira] [Created] (DRILL-709) FLOOR function should return an int instead of decimal

Krystal created DRILL-709:
-----------------------------

             Summary: FLOOR function should return an int instead of decimal
                 Key: DRILL-709
                 URL: https://issues.apache.org/jira/browse/DRILL-709
             Project: Apache Drill
          Issue Type: Bug
          Components: Functions - Drill
    Affects Versions: 1.0.0-milestone-1
            Reporter: Krystal


Drill's FLOOR function returns a decimal instead of an int.  For example:
select floor(100.75) from student where student_id=11;
Returns 100.0





--
This message was sent by Atlassian JIRA
(v6.2#6252)