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

Query involving external sort runs out of memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • None
    • None

    Description

      The external sort operator has a memory limit based on, among other things, the MAX_QUERY_MEMORY_PER_NODE constant. This constant is 2048 and it is assumed the caller will multiply by the appropriate factor to get the number of bytes.
      The setting for external sort is not doing so.
      It is better to fix the constant to specify the exact value in bytes.

      Attachments

        1. DRILL-1848.patch
          1 kB
          Parth Chandra
        2. DRILL-1848-2.patch
          1 kB
          Parth Chandra

        Activity

          People

            sphillips Steven Phillips
            parthc Parth Chandra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: