Skip to content

Conversation

@kou
Copy link
Member

@kou kou commented Jan 30, 2026

Rationale for this change

They use different offset size.

What changes are included in this PR?

  • Add ArrowFormat::ListType#to_flatbuffers
  • Add ArrowFormat::LargeListType#to_flatbuffers
  • Add ArrowFormat::VariableSizeListArray#child
  • Add ArrowFormat::VariableSizeListArray#each_buffer
  • garrow_array_get_null_bitmap() returns NULL when null bitmap doesn't exist
  • Add garrow_list_array_get_value_offsets_buffer()
  • Add garrow_large_list_array_get_value_offsets_buffer()

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

@github-actions
Copy link

⚠️ GitHub issue #49071 has been automatically assigned in GitHub to PR creator.

Copy link
Collaborator

@hiroyuki-sato hiroyuki-sato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

LD_LIBRARY_PATH=/tmp/local/lib:/home/arch/arrow/red-arrow/ext/arrow/ GI_TYPELIB_PATH=/tmp/local/lib/girepository-1.0 rake -I /home/arch/arrow/ruby/red-arrow/lib test
cd /home/arch/arrow/ruby/red-arrow-format
/home/arch/.rbenv/versions/3.4.7/bin/ruby test/run.rb
Loaded suite test
Started
/home/arch/arrow/ruby/red-arrow-format/lib/arrow-format/file-reader.rb:40: warning: IO::Buffer is experimental and both the Ruby and C interface may change in the future!
Finished in 1.716925227 seconds.
---------------------------------------------------------------------------------------------------------------
168 tests, 168 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
---------------------------------------------------------------------------------------------------------------
97.85 tests/s, 97.85 assertions/s
cd -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants