You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/01/29 11:17:49 UTC

[GitHub] [arrow] ShaoxiongTang opened a new issue #9360: Appending vector to vector which had been not assigned with VectorAppender.append throw exception

ShaoxiongTang opened a new issue #9360:
URL: https://github.com/apache/arrow/issues/9360


   In our project , when we attempt to append some vector to output buffer which is created by 'VectorSchemaRoot.create' method and had been not set values, we got follow error message 
   
   ![image](https://user-images.githubusercontent.com/7252486/106268144-a38bd000-6265-11eb-9cce-829aa0e19631.png)
   
   Related code: 
   ![image](https://user-images.githubusercontent.com/7252486/106268220-c0280800-6265-11eb-9b8b-c7db9c3b4ac2.png)
   
   Could we change code like this ?
   ``` 
   int targetDataSize = targetVector.getValueCount() == 0 ?
               0 : targetVector.getOffsetBuffer().getInt((long)targetVector.getValueCount() * BaseVariableWidthVector.OFFSET_WIDTH);
   ```


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [arrow] wesm commented on issue #9360: Appending vector to vector which had been not assigned with VectorAppender.append throw exception

Posted by GitBox <gi...@apache.org>.
wesm commented on issue #9360:
URL: https://github.com/apache/arrow/issues/9360#issuecomment-769953394


   This sounds like possibly a bug report, could you open a Jira issue? Thanks


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [arrow] wesm closed issue #9360: Appending vector to vector which had been not assigned with VectorAppender.append throw exception

Posted by GitBox <gi...@apache.org>.
wesm closed issue #9360:
URL: https://github.com/apache/arrow/issues/9360


   


----------------------------------------------------------------
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:
users@infra.apache.org