Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-709

FLOOR function should return an int instead of decimal

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.1.0-m1
    • Fix Version/s: 0.4.0
    • Component/s: Functions - Drill
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yash360@gmail.com Yash Sharma
                Reporter:
                knguyen Krystal
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: