heronshoes opened a new issue, #34426:
URL: https://github.com/apache/arrow/issues/34426

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   #### The issue
   
   `rank` from C++ compute function does not support ChunkedArray in Ruby.
   
   ```ruby
   {Arrow: Arrow::VERSION, Ruby: RUBY_DESCRIPTION} 
   =>
   {:Arrow=>"11.0.0",                                                        
    :Ruby=>                                                                  
     "ruby 3.2.1 (2023-02-08 revision 31819e82c8) +YJIT [x86_64-darwin20]"} 
   
   aa = Arrow::Array.new([1,2,3])
   Arrow::Function.find(:rank).execute([aa]).value
   => 
   #<Arrow::UInt64Array:0x10db5b1f8 ptr=0x7f94eaa71d00 [                     
     1,                                                                      
     2,                                                                      
     3                                                                       
   ]>
   
   ca = Arrow::ChunkedArray.new([[1,2,3]])
   Arrow::Function.find(:rank).execute([ca]).value
   =>
   
/somewhere/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/gobject-introspection-4.1.2/lib/gobject-introspection/loader.rb:689:in
 `invoke': [function][execute]: NotImplemented: Unsupported types for rank 
operation: values=ChunkedArray (Arrow::Error::NotImplemented)
   ```
   I tested by Ruby only.
   
   ### Component(s)
   
   C++, GLib, Ruby


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to