kou commented on PR #48753:
URL: https://github.com/apache/arrow/pull/48753#issuecomment-3722206525

   I also tried debug prints 
https://github.com/kou/arrow/commit/076ba528fb575f8ed1c94ad1ac16a72c7bef75f7 
and 
https://github.com/kou/arrow/actions/runs/20804091327/job/59760921858#step:13:685
 is a reproduced job:
   
   ```text
   11
   D:/a/arrow/arrow/ruby/red-arrow/test/test-ractor.rb:28: warning: Ractor API 
is experimental and may change in future versions of Ruby.
   22
   33
   44
   ```
   
   It shows that any Ruby code in `Ractor.new {...}` isn't executed. So this 
may be a problem in Ruby itself.
   
   Let's omit the test test for now:
   
   ```diff
   diff --git a/ruby/red-arrow/test/test-ractor.rb 
b/ruby/red-arrow/test/test-ractor.rb
   index 2aef74d01a..efd3cca1d4 100644
   --- a/ruby/red-arrow/test/test-ractor.rb
   +++ b/ruby/red-arrow/test/test-ractor.rb
   @@ -20,6 +20,10 @@ class RactorTest < Test::Unit::TestCase
    
      ractor
      test("ChunkedArray") do
   +    if Gem.win_platform?
   +      omit("Ractor is unstable on Windows: " +
   +           "https://github.com/apache/arrow/issues/48752";)
   +    end
        require_ruby(3, 1, 0)
        array = Arrow::Array.new([1, 2, 3])
        chunked_array = Arrow::ChunkedArray.new([array])
   ```
   
   I'll report this to Ruby later.


-- 
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