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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   [Integration 
tests](https://github.com/apache/arrow/actions/runs/23839016290/job/69489646097?pr=49633)
 are failing with:
   ```
     FAILED TEST: dictionary Ruby producing,  Ruby consuming
     <class 'RuntimeError'>: Command failed: 
ARROW=/tmp/tmpnpb6lsfn/345fe4a9_generated_dictionary.json_as_file 
COMMAND=json-to-file 
JSON=/tmp/arrow-integration-wmrtth84/generated_dictionary.json 
/arrow/ruby/red-arrow-format/bin/red-arrow-format-integration-test
     With output:
     --------------
     
/arrow/ruby/red-arrow-format/lib/arrow-format/integration/json-reader.rb:282: 
warning: IO::Buffer is experimental and both the Ruby and C interface may 
change in the future!
     /arrow/ruby/red-arrow-format/lib/arrow-format/streaming-writer.rb:119:in 
'block in ArrowFormat::StreamingWriter#write_dictionary': undefined method 
'array' for an instance of ArrowFormat::UTF8Array (NoMethodError)
     
             data = dictionary.array
                              ^^^^^^
        from 
/arrow/ruby/red-arrow-format/lib/arrow-format/streaming-writer.rb:118:in 
'Array#each'
        from 
/arrow/ruby/red-arrow-format/lib/arrow-format/streaming-writer.rb:118:in 
'ArrowFormat::StreamingWriter#write_dictionary'
        from 
/arrow/ruby/red-arrow-format/lib/arrow-format/streaming-writer.rb:46:in 'block 
in ArrowFormat::StreamingWriter#write_record_batch'
        from 
/arrow/ruby/red-arrow-format/lib/arrow-format/streaming-writer.rb:43:in 
'Array#each'
        from 
/arrow/ruby/red-arrow-format/lib/arrow-format/streaming-writer.rb:43:in 
'Enumerable#each_with_index'
        from 
/arrow/ruby/red-arrow-format/lib/arrow-format/streaming-writer.rb:43:in 
'ArrowFormat::StreamingWriter#write_record_batch'
        from 
/arrow/ruby/red-arrow-format/bin/red-arrow-format-integration-test:35:in 'block 
(3 levels) in <main>'
        from 
/arrow/ruby/red-arrow-format/lib/arrow-format/integration/json-reader.rb:32:in 
'block in ArrowFormat::Integration::JSONReader#each'
        from 
/arrow/ruby/red-arrow-format/lib/arrow-format/integration/json-reader.rb:31:in 
'Array#each'
        from 
/arrow/ruby/red-arrow-format/lib/arrow-format/integration/json-reader.rb:31:in 
'ArrowFormat::Integration::JSONReader#each'
        from 
/arrow/ruby/red-arrow-format/bin/red-arrow-format-integration-test:34:in 'block 
(2 levels) in <main>'
        from 
/arrow/ruby/red-arrow-format/bin/red-arrow-format-integration-test:31:in 
'IO.open'
        from 
/arrow/ruby/red-arrow-format/bin/red-arrow-format-integration-test:31:in 'block 
in <main>'
        from 
/arrow/ruby/red-arrow-format/bin/red-arrow-format-integration-test:29:in 
'IO.open'
        from 
/arrow/ruby/red-arrow-format/bin/red-arrow-format-integration-test:29:in 
'<main>'
   ```
   
   ### Component(s)
   
   Ruby, Integration


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