| 196 | end |
| 197 | |
| 198 | def test_with_options |
| 199 | options = Arrow::TableConcatenateOptions.new |
| 200 | options.unify_schemas = true |
| 201 | table = build_table("a" => build_int32_array([1, nil, 3]), |
| 202 | "b" => build_int32_array([10, nil, 30]), |
| 203 | "c" => build_int32_array([nil, 200, nil])) |
| 204 | table1 = build_table("a" => build_int32_array([1]), |
| 205 | "b" => build_int32_array([10])) |
| 206 | table2 = build_table("c" => build_int32_array([200])) |
| 207 | table3 = build_table("a" => build_int32_array([3]), |
| 208 | "b" => build_int32_array([30])) |
| 209 | assert_equal(table, table1.concatenate([table2, table3], options)) |
| 210 | end |
| 211 | end |
| 212 | |
| 213 | sub_test_case("#slice") do |
nothing calls this directly
no test coverage detected