You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/08/20 07:29:00 UTC

[jira] [Updated] (ARROW-6247) [Java] Provide a common interface for float4 and float8 vectors

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

ASF GitHub Bot updated ARROW-6247:
----------------------------------
    Labels: pull-request-available  (was: )

> [Java] Provide a common interface for float4 and float8 vectors
> ---------------------------------------------------------------
>
>                 Key: ARROW-6247
>                 URL: https://issues.apache.org/jira/browse/ARROW-6247
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: Java
>            Reporter: Liya Fan
>            Assignee: Liya Fan
>            Priority: Major
>              Labels: pull-request-available
>
> We want to provide an interface for floating point vectors (float4 & float8). This interface will make it convenient for many operations on a vector. With this interface, the client code will be greatly simplified, with many branches/switch removed.
>  
> The design is similar to BaseIntVector (the interface for all integer vectors). We provide 3 methods for setting & getting floating point values:
>          setWithPossibleTruncate
>          setSafeWithPossibleTruncate
>          getValueAsDouble



--
This message was sent by Atlassian Jira
(v8.3.2#803003)