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

Method setup

c_glib/test/test-dense-union-array.rb:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 sub_test_case(".new") do
22 sub_test_case("default") do
23 def setup
24 type_ids = build_int8_array([0, 1, 0, 1, 1])
25 value_offsets = build_int32_array([0, 0, 1, 1, 2])
26 fields = [
27 build_int16_array([1, nil]),
28 build_string_array(["a", "b", "c"]),
29 ]
30 @array = Arrow::DenseUnionArray.new(type_ids, value_offsets, fields)
31 end
32
33 def test_value_data_type
34 fields = [

Callers

nothing calls this directly

Calls 1

newMethod · 0.45

Tested by

no test coverage detected