[
https://issues.apache.org/jira/browse/HIVE-15789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15857258#comment-15857258
]
Teddy Choi commented on HIVE-15789:
-----------------------------------
This patch applies HIVE-15745 change and sets a key length as a default of
batchBytes.
> 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)