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

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

Kanstantsin Ilchanka created ARROW-15203:
--------------------------------------------

             Summary: [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


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)