[ https://issues.apache.org/jira/browse/HIVE-15789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15857479#comment-15857479 ]
Gopal V commented on HIVE-15789: -------------------------------- LGTM - +1. > Vectorization: limit reduce vectorization to 32Mb chunks > -------------------------------------------------------- > > Key: HIVE-15789 > URL: https://issues.apache.org/jira/browse/HIVE-15789 > Project: Hive > Issue Type: Bug > Components: Vectorization > Reporter: Gopal V > Assignee: Teddy Choi > Attachments: HIVE-15789.1.patch, HIVE-15789.2.patch > > > Reduce vectorization accumulates 1024 rows before forwarding it into the > reduce processor. > Add a safety limit for 32Mb of writables, so that shorter sequences can be > forwarded into the operator trees. > {code} > rowIdx++; > if (rowIdx >= BATCH_SIZE) { > VectorizedBatchUtil.setBatchSize(batch, rowIdx); > reducer.process(batch, tag); > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)