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

Optimize result spooling for the statement that returns at most one row

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      If result spooling is enabled and the statement that returns at most one row, we can 
      set the min memory reservation by the  row size.
       
      The strategy is as follows: 

      1. If it contains string or complex data types we set the reservation as max_row_size.
      2. Others compute the row size.

      Attachments

        Issue Links

          Activity

            People

              xqhe Xianqing He
              xqhe Xianqing He
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: