You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Pindikura Ravindra (Jira)" <ji...@apache.org> on 2019/09/25 17:06:00 UTC

[jira] [Resolved] (ARROW-6472) [Java] ValueVector#accept may has potential cast exception

     [ https://issues.apache.org/jira/browse/ARROW-6472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pindikura Ravindra resolved ARROW-6472.
---------------------------------------
    Fix Version/s: 0.15.0
       Resolution: Fixed

Issue resolved by pull request 5483
[https://github.com/apache/arrow/pull/5483]

> [Java] ValueVector#accept may has potential cast exception
> ----------------------------------------------------------
>
>                 Key: ARROW-6472
>                 URL: https://issues.apache.org/jira/browse/ARROW-6472
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Java
>            Reporter: Ji Liu
>            Assignee: Ji Liu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.15.0
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Per discussion [https://github.com/apache/arrow/pull/5195#issuecomment-528425302]
> We may use API this way:
> {code:java}
> RangeEqualsVisitor visitor = new RangeEqualsVisitor(vector1, vector2);
> vector3.accept(visitor, range){code}
> if vector1/vector2 are say, {{StructVector}}s and vector3 is an {{IntVector}} - things can go bad. we'll use the {{compareBaseFixedWidthVectors()}} and do wrong type-casts for vector1/vector2.



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