Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1382

Wasted space in buffered-tuple-stream in presence of many NULL tuples

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 2.0
    • Impala 2.10.0
    • Backend
    • None

    Description

      We currently preallocate the null tuple indicator bitstring in each tuple stream assuming that very few tuples will be NULL. That can lead to lots of wasted space in the buffer if there are many NULL tuples in the stream.

      A possible solution is to use a slotted page (buffer) with NULL indicators growing from the end of the page (buffer).

      Attachments

        Issue Links

          Activity

            People

              tarmstrong Tim Armstrong
              ippokratis Ippokratis Pandis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: