You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Liya Fan (Jira)" <ji...@apache.org> on 2021/10/05 09:52:00 UTC

[jira] [Commented] (ARROW-13981) [Java] VectorSchemaRootAppender doesn't work for BitVector

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

Liya Fan commented on ARROW-13981:
----------------------------------

[~tzhang] I have provided a patch for the BitVector. Please check. 
I have not found the problem for the DecimalVector and Float8Vector. Could you please provide more details about the problem?

> [Java] VectorSchemaRootAppender doesn't work for BitVector
> ----------------------------------------------------------
>
>                 Key: ARROW-13981
>                 URL: https://issues.apache.org/jira/browse/ARROW-13981
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 4.0.0
>            Reporter: ZHUO ZHANG
>            Priority: Critical
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Looks like the buffer copy logic doesn't work for BitVector, even though the BitVector is from BaseFixedWidthVector. I created two VectorSchemaRoot (target empty), calling 
> {code:java}
> VectorSchemaRootAppender.append(target, source);{code}
> then reading from the target didn't give me correct result.
>  
> Hope to get confirmation from experts that this is a problem in Apache Arrow, if yes, wondering if there is a workaround (tried using copyFromSafe as well and it doesn't work either)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)