You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Padma Penumarthy (JIRA)" <ji...@apache.org> on 2018/01/31 00:41:00 UTC

[jira] [Created] (DRILL-6126) Allocate memory for value vectors upfront in flatten operator

Padma Penumarthy created DRILL-6126:
---------------------------------------

             Summary: Allocate memory for value vectors upfront in flatten operator
                 Key: DRILL-6126
                 URL: https://issues.apache.org/jira/browse/DRILL-6126
             Project: Apache Drill
          Issue Type: Improvement
            Reporter: Padma Penumarthy
            Assignee: Padma Penumarthy
             Fix For: 1.12.0


With recent changes to control batch size for flatten operator, we figure out row count in the output batch based on memory. Since we know how many rows we are going to include in the batch, we can also allocate the memory needed upfront instead of starting with initial value (4096) and doubling, copying every time we need more. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)