You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "raulcd (via GitHub)" <gi...@apache.org> on 2026/04/01 08:57:21 UTC

[I] [Ruby][Integration] Integration tests fail due to undefined method 'array' for an instance of ArrowFormat::UTF8Array [arrow]

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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Ruby][Integration] Integration tests fail due to undefined method 'array' for an instance of ArrowFormat::UTF8Array [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #49634:
URL: https://github.com/apache/arrow/issues/49634#issuecomment-4169095080

   Issue resolved by pull request 49635
   https://github.com/apache/arrow/pull/49635


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Ruby][Integration] Integration tests fail due to undefined method 'array' for an instance of ArrowFormat::UTF8Array [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou closed issue #49634: [Ruby][Integration] Integration tests fail due to undefined method 'array' for an instance of ArrowFormat::UTF8Array
URL: https://github.com/apache/arrow/issues/49634


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Ruby][Integration] Integration tests fail due to undefined method 'array' for an instance of ArrowFormat::UTF8Array [arrow]

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd commented on issue #49634:
URL: https://github.com/apache/arrow/issues/49634#issuecomment-4168591561

   cc @kou 


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Ruby][Integration] Integration tests fail due to undefined method 'array' for an instance of ArrowFormat::UTF8Array [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #49634:
URL: https://github.com/apache/arrow/issues/49634#issuecomment-4168808989

   Oh, sorry. I'll fix it soon.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org