GH-49225: [Ruby] Add support for writing dictionary delta for primitive dictionary#49226
Merged
kou merged 1 commit intoapache:mainfrom Feb 12, 2026
Merged
GH-49225: [Ruby] Add support for writing dictionary delta for primitive dictionary#49226kou merged 1 commit intoapache:mainfrom
kou merged 1 commit intoapache:mainfrom
Conversation
…rimitive dictionary
|
|
hiroyuki-sato
approved these changes
Feb 12, 2026
Collaborator
hiroyuki-sato
left a comment
There was a problem hiding this comment.
+1
LD_LIBRARY_PATH=/tmp/local/lib:/path/to/arrow/red-arrow/ext/arrow/ GI_TYPELIB_PATH=/tmp/local/lib/girepository-1.0 rake -I /path/to/arrow/ruby/red-arrow/lib 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
/path/to/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 3.554713382 seconds.
--------------------------------------------------------------------------------------------------------------------------------------------------------
300 tests, 300 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
--------------------------------------------------------------------------------------------------------------------------------------------------------
84.39 tests/s, 84.39 assertions/s
cd -
| writer = writer_class.new(output) | ||
| write(writer, *inputs) | ||
| end | ||
| # pp(read(path)) # debug |
Collaborator
There was a problem hiding this comment.
Keep this debug check?
Member
Author
There was a problem hiding this comment.
Yes. I want to keep this for easy to debug.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale for this change
Nested types and dictionary type are out of scope of this.
What changes are included in this PR?
ArrowFormat::Array#slice_offsets_bufferArrowFormat::DayTimeIntervalArray#element_sizeArrowFormat::Bitmap#each: Add support for offsetArrow::DictionaryArray#raw_recordswith large binary and large UTF-8 dictionariesAre these changes tested?
Yes.
Are there any user-facing changes?
Yes.