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

window function throws an exception

    XMLWordPrintableJSON

Details

    Description

      Starting from Drill 0.7.0 (specifically after DRILL-1781 was committed), The following query:

      SELECT employee_id,position_id, salary, avg(salary) OVER (PARTITION BY position_id order by position_id) FROM cp.`employee.json` order by employee_id;
      

      Throws an IllegalStateException:

      Attempted to close accountor with 6 buffer(s) still allocatedfor QueryId: 2b7606b9-eddf-05db-2b8d-d72c5aa54e95, MajorFragmentId: 0, MinorFragmentId: 0.
      

      Attachments

        1. DRILL-1844.1.patch
          1 kB
          Abdel Hakim Deneche
        2. DRILL-1844.2.patch
          11 kB
          Abdel Hakim Deneche
        3. window_error.txt
          16 kB
          Abdel Hakim Deneche

        Activity

          People

            adeneche Abdel Hakim Deneche
            adeneche Abdel Hakim Deneche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: