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

Extracting second from an interval value is returning the wrong value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.4.0
    • Functions - Drill
    • None

    Description

      The below query returns 9045.1 It should ideally return 45.100

      select extract (second from interval '1 2:30:45.100' day to second) from basic limit 1

      Attachments

        1. DRILL-976.patch
          3 kB
          Mehant Baid

        Activity

          People

            DrillCommitter DrillCommitter
            rkins Rahul Kumar Challapalli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: