| 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, 0]) |
| 25 | fields = [ |
| 26 | build_int16_array([1, nil, nil, nil, 5]), |
| 27 | build_string_array([nil, "b", nil, "d", nil]), |
| 28 | ] |
| 29 | @array = Arrow::SparseUnionArray.new(type_ids, fields) |
| 30 | end |
| 31 | |
| 32 | def test_value_data_type |
| 33 | fields = [ |