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

Atte Keinänen edited comment on ARROW-18086 at 10/18/22 12:24 PM:
------------------------------------------------------------------

Seems like float16 doesn't exist for Red Arrow. Half precision float is missing 
from data type list:
{code:java}
Arrow.constants.filter{|c| c.to_s.end_with?('DataType')}{code}


was (Author: JIRAUSER297078):
Seems like float16 doesn't exist for Red Arrow. It is missing from data type 
list:
```
Arrow.constants.filter\{|c| c.to_s.end_with?('DataType')}
```

> In Red Arrow, importing table containing float16 array throws error
> -------------------------------------------------------------------
>
>                 Key: ARROW-18086
>                 URL: https://issues.apache.org/jira/browse/ARROW-18086
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Ruby
>    Affects Versions: 9.0.0
>            Reporter: Atte Keinänen
>            Assignee: Kouhei Sutou
>            Priority: Minor
>
> In Red Arrow, loading table containing float16 array leads to this error when 
> using IPC streaming format:
> {code:java}
> > Arrow::Table.load(Arrow::Buffer.new(resp.body), format: :arrow_streaming)
> cannot create instance of abstract (non-instantiatable) type 'GArrowDataType' 
> from 
> /usr/local/bundle/gems/gobject-introspection-4.0.3/lib/gobject-introspection/loader.rb:688:in
>  `invoke' from 
> /usr/local/bundle/gems/gobject-introspection-4.0.3/lib/gobject-introspection/loader.rb:559:in
>  `get_field'{code}
> At least using float64 list array this does not happen.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to