This is an automated email from the ASF dual-hosted git repository. shiro pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/arrow.git.
from d4d4a12 ARROW-6334: [Java] Improve the dictionary builder API to return the position of the value in the dictionary add e29732b ARROW-6351: [Ruby] Improve Arrow#values performance No new revisions were added by this update. Summary of changes: .../red-arrow/benchmark/raw-records/decimal128.yml | 4 +- .../red-arrow/benchmark/raw-records/dictionary.yml | 22 +- ruby/red-arrow/benchmark/raw-records/int64.yml | 4 +- ruby/red-arrow/benchmark/raw-records/list.yml | 10 +- ruby/red-arrow/benchmark/raw-records/timestamp.yml | 15 +- .../red-arrow/benchmark/values/boolean.yml | 38 +- .../{raw-records => values}/decimal128.yml | 40 +- .../string.yml => values/dictionary.yml} | 47 +- .../red-arrow/benchmark/values/int64.yml | 38 +- .../{raw-records/string.yml => values/list.yml} | 41 +- .../red-arrow/benchmark/values/string.yml | 37 +- .../string.yml => values/timestamp.yml} | 48 +- ruby/red-arrow/ext/arrow/arrow.cpp | 13 + .../red-arrow/ext/arrow/converters.cpp | 31 +- ruby/red-arrow/ext/arrow/converters.hpp | 626 ++++++++++++++++++++ ruby/red-arrow/ext/arrow/raw-records.cpp | 635 +-------------------- ruby/red-arrow/ext/arrow/red-arrow.hpp | 11 + ruby/red-arrow/ext/arrow/values.cpp | 154 +++++ ruby/red-arrow/lib/arrow/array.rb | 4 + ruby/red-arrow/lib/arrow/loader.rb | 8 + ruby/red-arrow/test/values/test-basic-arrays.rb | 284 +++++++++ .../test/values/test-dense-union-array.rb | 487 ++++++++++++++++ ruby/red-arrow/test/values/test-list-array.rb | 497 ++++++++++++++++ .../test/values/test-sparse-union-array.rb | 477 ++++++++++++++++ ruby/red-arrow/test/values/test-struct-array.rb | 452 +++++++++++++++ 25 files changed, 3169 insertions(+), 854 deletions(-) copy c_glib/Makefile.am => ruby/red-arrow/benchmark/values/boolean.yml (61%) copy ruby/red-arrow/benchmark/{raw-records => values}/decimal128.yml (59%) copy ruby/red-arrow/benchmark/{raw-records/string.yml => values/dictionary.yml} (59%) copy c_glib/Makefile.am => ruby/red-arrow/benchmark/values/int64.yml (61%) copy ruby/red-arrow/benchmark/{raw-records/string.yml => values/list.yml} (60%) copy c_glib/Makefile.am => ruby/red-arrow/benchmark/values/string.yml (62%) copy ruby/red-arrow/benchmark/{raw-records/string.yml => values/timestamp.yml} (59%) copy c_glib/arrow-glib/internal-index.hpp => ruby/red-arrow/ext/arrow/converters.cpp (50%) create mode 100644 ruby/red-arrow/ext/arrow/converters.hpp create mode 100644 ruby/red-arrow/ext/arrow/values.cpp create mode 100644 ruby/red-arrow/test/values/test-basic-arrays.rb create mode 100644 ruby/red-arrow/test/values/test-dense-union-array.rb create mode 100644 ruby/red-arrow/test/values/test-list-array.rb create mode 100644 ruby/red-arrow/test/values/test-sparse-union-array.rb create mode 100644 ruby/red-arrow/test/values/test-struct-array.rb