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

ASF GitHub Bot commented on DRILL-7341:
---------------------------------------

oleg-zinovev commented on pull request #1838: DRILL-7341: Vector reAlloc may 
fails after exchange
URL: https://github.com/apache/drill/pull/1838
 
 
   Fixes a relocate issues after direct  assignment of Vector data field.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Vector reAlloc may fails after exchange.
> ----------------------------------------
>
>                 Key: DRILL-7341
>                 URL: https://issues.apache.org/jira/browse/DRILL-7341
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.16.0
>            Reporter: Oleg Zinoviev
>            Priority: Major
>         Attachments: stacktrace.log
>
>
> There are several methods that modify the BaseDataValueVector#data field. 
> Some of them, such as BaseDataValueVector#exchange, do not change 
> allocationSizeInBytes. 
> Therefore, if BaseDataValueVector#exchange was executed for vectors with 
> different size, *ValueVector#reAlloc may create a buffer of insufficient size.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to