MCPcopy Create free account
hub / github.com/apache/arrow / test_map

Method test_map

ruby/red-arrow/test/values/test-map-array.rb:373–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371 end
372
373 def test_map
374 values = [
375 {"key1" => {"sub_key1" => true, "sub_key2" => nil}, "key2" => nil},
376 nil,
377 ]
378 target = build({
379 type: :map,
380 key: :string,
381 item: :boolean,
382 },
383 values)
384 assert_equal(values, target.values)
385 end
386
387 def remove_union_field_names(values)
388 values.collect do |value|

Callers

nothing calls this directly

Calls 2

buildFunction · 0.50
valuesMethod · 0.45

Tested by

no test coverage detected