From 04622c94fe780dc5c0f3c07c368546f0a45016b8 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Wed, 1 Apr 2026 18:35:44 +0900 Subject: [PATCH] GH-49634: [Ruby][Integration] Follow dictionary array API change --- .../lib/arrow-format/integration/json-reader.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ruby/red-arrow-format/lib/arrow-format/integration/json-reader.rb b/ruby/red-arrow-format/lib/arrow-format/integration/json-reader.rb index 3660e8af3427..162f36fb68ce 100644 --- a/ruby/red-arrow-format/lib/arrow-format/integration/json-reader.rb +++ b/ruby/red-arrow-format/lib/arrow-format/integration/json-reader.rb @@ -384,7 +384,8 @@ def read_array(column, type) when DictionaryType validity_buffer = read_bitmap(column["VALIDITY"]) indices_buffer = read_values(column["DATA"], type.index_type) - dictionary = read_dictionary(type.id, type.value_type) + dictionary_array = read_dictionary(type.id, type.value_type) + dictionary = Dictionary.new(type.id, dictionary_array) type.build_array(length, validity_buffer, indices_buffer,