[
https://issues.apache.org/jira/browse/DRILL-854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steven Phillips updated DRILL-854:
----------------------------------
Attachment: DRILL-854.patch
I reworked the PartitionSender, making OutgoingRecordBatch an inner class of
the generated Partitioner. This way, the generated code doesn't need a separate
reference for every outgoing vector of every outgoing record batch.
In the old version, the number of references scaled as the product of the
number of outgoing batches and the number of vectors in each batch. Now, the
number of references only depends on the number of vectors in the incoming
batch, as the same code is reused for all outgoing batches.
There is a similar problem with MergingReciever, but this patch only deals with
PartitionSender.
> PartitionSender generated code is too large
> -------------------------------------------
>
> Key: DRILL-854
> URL: https://issues.apache.org/jira/browse/DRILL-854
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Steven Phillips
> Attachments: DRILL-854.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)