You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2021/12/27 21:49:00 UTC

[jira] [Assigned] (ARROW-15203) [Ruby] Add ability to read results of min_max compute function

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

Kouhei Sutou reassigned ARROW-15203:
------------------------------------

    Assignee: Kouhei Sutou

> [Ruby] Add ability to read results of min_max compute function
> --------------------------------------------------------------
>
>                 Key: ARROW-15203
>                 URL: https://issues.apache.org/jira/browse/ARROW-15203
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Ruby
>            Reporter: Kanstantsin Ilchanka
>            Assignee: Kouhei Sutou
>            Priority: Major
>
> Cannot read value from Arrow::StructScalar object
> {code:java}
> f = Arrow::Function.find('min_max')
> f.execute([table['revenue'].data]).value
> #<Arrow::StructScalar:x11fcc8df8 ptr=x7ffd0ea762b0 {min:double = 0, max:double = 257.515735}> 
> f.execute([table['revenue'].data]).value.value 
> # []{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)