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)

Reply via email to