[ 
https://issues.apache.org/jira/browse/DRILL-5993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16269305#comment-16269305
 ] 

Paul Rogers commented on DRILL-5993:
------------------------------------

Although you cannot write to random location is non-fixed-width vectors, there 
is a work around.

Write to the vectors in sequential order. But, use a selection vector (SV2) to 
provide a logical ordering. Pass the SV2 through the Selection Vector Remover 
(SVR) to rewrite the vector in the desired order.

Still, what is the problem being solved here?

> Allow Copier to Copy a Record to an Arbitrary Index
> ---------------------------------------------------
>
>                 Key: DRILL-5993
>                 URL: https://issues.apache.org/jira/browse/DRILL-5993
>             Project: Apache Drill
>          Issue Type: New Feature
>            Reporter: Timothy Farkas
>            Assignee: Timothy Farkas
>
> Currently the copier can only copy record from an incoming batch to the 
> beginning of an outgoing batch. We need to be able to copy a record to any 
> index in the outgoing batch.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to