Skip to content

Conversation

@kou
Copy link
Member

@kou kou commented Dec 11, 2025

Rationale for this change

It's a sparse variant of union array.

What changes are included in this PR?

  • Add ArrowFormat::SparseUnionType
  • Add ArrowFormat::SparseUnionArray

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

@github-actions
Copy link

⚠️ GitHub issue #48435 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 GI_TYPELIB_PATH=/tmp/local/lib/girepository-1.0 rake test
cd /path/to/arrow/ruby/red-arrow-format
/path/to/.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:65: warning: IO::Buffer is experimental and both the Ruby and C interface may change in the future!
Finished in 0.244041104 seconds.
------------------------------------------------------------------------------------------------------------------------
17 tests, 17 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
------------------------------------------------------------------------------------------------------------------------
69.66 tests/s, 69.66 assertions/s
cd -

@kou kou merged commit 0bfbd19 into apache:main Dec 11, 2025
10 checks passed
@kou kou deleted the ruby-sparse-union-array branch December 11, 2025 21:48
@kou kou removed the awaiting committer review Awaiting committer review label Dec 11, 2025
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