You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2020/02/14 18:00:00 UTC

[jira] [Updated] (ARROW-3802) [C++] Cast to/from halffloat not implemented

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

Neal Richardson updated ARROW-3802:
-----------------------------------
    Summary: [C++] Cast to/from halffloat not implemented  (was: [C++] Cast from integer to half float not implemented)

> [C++] Cast to/from halffloat not implemented
> --------------------------------------------
>
>                 Key: ARROW-3802
>                 URL: https://issues.apache.org/jira/browse/ARROW-3802
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Romain Francois
>            Priority: Major
>
> {code:java}
> library(reticulate)
> pa <- import("pyarrow")
> pa$array(c(1,2,3))$cast(pa$float16())
> #> Error in py_call_impl(callable, dots$args, dots$keywords): ArrowNotImplementedError: No cast implemented from double to halffloat
> #> 
> #> Detailed traceback: 
> #> File "pyarrow/array.pxi", line 277, in pyarrow.lib.Array.cast (/Users/travis/build/BryanCutler/arrow-dist/arrow/python/build/temp.macosx-10.6-intel-3.6/lib.cxx:30459)
> #> File "pyarrow/error.pxi", line 85, in pyarrow.lib.check_status (/Users/travis/build/BryanCutler/arrow-dist/arrow/python/build/temp.macosx-10.6-intel-3.6/lib.cxx:8570)
> {code}



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