[
https://issues.apache.org/jira/browse/HIVE-15789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gopal V updated HIVE-15789:
---------------------------
Resolution: Fixed
Fix Version/s: 2.2.0
Release Note: Vectorization: limit reduce vectorization to 32Mb chunks
(Teddy Choi, via Gopal V)
Status: Resolved (was: Patch Available)
Pushed to master, thanks [~teddy.choi]
> 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
> Fix For: 2.2.0
>
> 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)