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/30 21:24:00 UTC

[jira] [Resolved] (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 resolved ARROW-15203.
----------------------------------
    Fix Version/s: 7.0.0
       Resolution: Fixed

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

> [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: GLib, Ruby
>            Reporter: Kanstantsin Ilchanka
>            Assignee: Kouhei Sutou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 7.0.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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)